arm64: dts: freescale: Add chargebyte Charge Control Y
Subsystems (2)
v7 cover arm64: dts: freescale: Add chargebyte Charge Control Y
This series adds support for the chargebyte Charge Control Y, which is an Electrical Vehicle Supply Equipment (EVSE) for MCS (Megawatt Charging System) charging stations.
sashiko reported in the first version of the series [1] that X_nRST_LAN is available via GPIO line names, but there is no reset mechanismn in the device tree. This finding is valid. Since the reset line feature isn't implemented for LAN8651 driver yet, I like to proceed with the current version. The LAN8651 handles reset via SPI commands and in rare cases we still have the possibility to control the reset from userspace. Btw the pin has a pull resistor in hardware, so it's not floating.
sashiko complained in the fourth version of the series [2] about the reset polarity of ethphy2 and the different drive strength across the data lines. Both is intended.
[1] - https://lore.kernel.org/linux-devicetree/[email protected]/
[2] - https://lore.kernel.org/linux-devicetree/[email protected]/
Changes in V7:
- avoid delete-node for SOM LED (suggested by Frank Li)
Changes in V6:
- drop already applied binding patches
- rebase on next-20261002
Changes in V5:
- fix delete-node for pinctrl_leds (reported by sashiko)
- add Krzysztof's Reviewed-by
Changes in V4:
- prepend constrains fix for ti,tcan104x-can binding (reported by sashiko)
Changes in V3:
- add Acked-by's from Conor
- add missing SD2_VSELECT to default pinctrl of SD interface (reported by sashiko)
- clarify LAN8651 GPIO usage in device tree (suggested by Frank Li)
- move X_nRST_LAN into dedicated pinctrl group to make it more self-explaining
Changes in V2:
- drop phy-can-transceiver changes and make MCP2542 compatible to TI TCAN1042 as suggested by Marc Kleine-Budde & Frank Li
- implemented SD2_nRESET as vmmc supply for SD card interface (reported by sashiko)
- add UHS support for SD card interface
- dropped downstream property ti,leds-polarity (reported by sashiko)
- fix GPIO line name of X_LAN_nCS (reported by sashiko)
- drop unconnected pins (X_TDI, X_TMS_SWDIO, X_TDO) from GPIO line names
Stefan Wahren (2):
dt-bindings: arm: fsl: Add chargebyte Charge Control Y
arm64: dts: freescale: Add chargebyte Charge Control Y
.../devicetree/bindings/arm/fsl.yaml | 1 + arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx93-charge-control-y.dts | 437 ++++++++++++++++++ .../boot/dts/freescale/imx93-phycore-som.dtsi | 4 +- 4 files changed, 441 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx93-charge-control-y.dts
Signature · 1 line
2.34.1
PATCH v7 1/2 dt-bindings: arm: fsl: Add chargebyte Charge Control Y
Add device-tree bindings for chargebyte Charge Control Y board based on the PHYTEC phyCORE-i.MX93 SoM (System-on-Module).
--- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/fsl.yaml +1 -0
@@ -1722,6 +1722,7 @@ properties: - description: PHYTEC phyCORE-i.MX93 SoM based boards items: - enum: + - chargebyte,imx93-charge-control-y # chargebyte Charge Control Y - phytec,imx93-phyboard-nash # phyBOARD-Nash-i.MX93 - phytec,imx93-phyboard-segin # phyBOARD-Segin with i.MX93 - const: phytec,imx93-phycore-som # phyCORE-i.MX93 SoM
Signature · 1 line
2.34.1
PATCH v7 2/2 arm64: dts: freescale: Add chargebyte Charge Control Y
In reply to Stefan WahrenThis adds the support for chargebyte Charge Control Y, which is an Electrical Vehicle Supply Equipment (EVSE) for MCS (Megawatt Charging System) charging stations (according to IEC 61851-23-1).
chargebyte Charge Control Y uses phyCORE-i.MX 93 ARM
- NXP i.MX93 1.7 GHz
- 1 GB DDR4 RAM
- up to 8 GB eMMC
- 2x 100 MBit/s Ethernet interfaces
- 10BASE-T1S Ethernet for MCS communication
- CAN interface
- separate safety chip
- TPM chip
- power buffered RTC
--- arch/arm64/boot/dts/freescale/Makefile | 1 + .../dts/freescale/imx93-charge-control-y.dts | 437 ++++++++++++++++++ .../boot/dts/freescale/imx93-phycore-som.dtsi | 4 +- 3 files changed, 440 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/freescale/imx93-charge-control-y.dts
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -898,6 +898,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx93-11x11-frdm-pixpaper.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-14x14-evk.dtb imx93-14x14-evk-mqs-dtbs += imx93-14x14-evk.dtb imx9-mqs.dtbo dtb-$(CONFIG_ARCH_MXC) += imx93-14x14-evk-mqs.dtb +dtb-$(CONFIG_ARCH_MXC) += imx93-charge-control-y.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-kontron-bl-osm-s.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-lino-verdin-dahlia.dtb dtb-$(CONFIG_ARCH_MXC) += imx93-lino-verdin-dev.dtb
arch/arm64/boot/dts/freescale/imx93-charge-control-y.dts new file +437 -0
437 lines not on this page · raw message
arch/arm64/boot/dts/freescale/imx93-phycore-som.dtsi +2 -2
@@ -35,7 +35,7 @@ linux,cma { }; }; - leds { + som_leds: leds { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_leds>;
@@ -201,7 +201,7 @@ ldo5: LDO5 { }; /* EEPROM */ - eeprom@50 { + eeprom0: eeprom@50 { compatible = "atmel,24c32"; reg = <0x50>; pagesize = <32>;
Signature · 1 line
2.34.1
[email protected]
AppliedFrom: Frank Li <[email protected]>
Quoted 12 lines · Stefan Wahren
This series adds support for the chargebyte Charge Control Y, which is an Electrical Vehicle Supply Equipment (EVSE) for MCS (Megawatt Charging System) charging stations.
sashiko reported in the first version of the series [1] that
X_nRST_LANis available via GPIO line names, but there is no reset mechanismn in the device tree. This finding is valid. Since the reset line feature isn't implemented for LAN8651 driver yet, I like to proceed with the current version. The LAN8651 handles reset via SPI commands and in rare cases we still have the possibility to control the reset from userspace. Btw the pin has a pull resistor in hardware, so it's not floating.
Quoted 1 line
[...]
Applied, thanks!
[1/2] dt-bindings: arm: fsl: Add chargebyte Charge Control Y
commit: 3c0397f90fde224d620ad0f6ca2bcaff88ed4466
[2/2] arm64: dts: freescale: Add chargebyte Charge Control Y
commit: b3bb1f678463062030a086d2098403240113c4d8Best regards,
Signature · 1 line
Frank Li <[email protected]>