Linux CAN drivers development
 help / color / mirror / Atom feed
* [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support
@ 2026-11-12 13:04 Stefan Wahren
  2026-11-12 13:05 ` [PATCH V2 1/6] dt-bindings: arm: fsl: support chargebyte EVAcharge SE Stefan Wahren
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Stefan Wahren @ 2026-11-12 13:04 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Frank Li, Vinod Koul, Marc Kleine-Budde
  Cc: Neil Armstrong, Vincent Mailhol, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy,
	Stefan Wahren

This series adds support for the chargebyte EVAcharge SE, which is a
ISO 15118 compliant controller for electric vehicle & charging stations.

Changes in V2:
- add Krzysztof's Acked-by to Patches 1-3
- align writing of EVAcharge SE (reported by sashiko)
- add "dts:" to subject of Patch 5 (reported by Andrew)
- add PHY ID of LAN8720Ai (reported by sashiko)
- move enet_out clock to MAC node as in imx28-btt3.dtsi
- adjust IRQ type of PHY (reported by Andrew)
- add new patch to enable EVAcharge SE peripherals in mxs_defconfig

Stefan Wahren (6):
  dt-bindings: arm: fsl: support chargebyte EVAcharge SE
  dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2562
  dt-bindings: gpio: mxs: Allow gpio-line-names to be set
  ARM: dts: imx28: add alternative pinmux for CAN1
  ARM: dts: mxs: add EVAchargeSE board support
  ARM: mxs_defconfig: Enable EVAcharge SE peripherals

 .../devicetree/bindings/arm/fsl.yaml          |   1 +
 .../devicetree/bindings/gpio/gpio-mxs.yaml    |   4 +
 .../bindings/phy/ti,tcan104x-can.yaml         |   1 +
 arch/arm/boot/dts/nxp/mxs/Makefile            |   1 +
 .../boot/dts/nxp/mxs/imx28-evachargese.dts    | 295 ++++++++++++++++++
 arch/arm/boot/dts/nxp/mxs/imx28.dtsi          |  11 +
 arch/arm/configs/mxs_defconfig                |   2 +
 7 files changed, 315 insertions(+)
 create mode 100644 arch/arm/boot/dts/nxp/mxs/imx28-evachargese.dts

-- 
2.53.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH V2 1/6] dt-bindings: arm: fsl: support chargebyte EVAcharge SE
  2026-11-12 13:04 [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Stefan Wahren
@ 2026-11-12 13:05 ` Stefan Wahren
  2026-11-12 13:05 ` [PATCH V2 2/6] dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2562 Stefan Wahren
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Stefan Wahren @ 2026-11-12 13:05 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Frank Li, Vinod Koul, Marc Kleine-Budde
  Cc: Neil Armstrong, Vincent Mailhol, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy,
	Stefan Wahren, Krzysztof Kozlowski

Add devicetree bindings for chargebyte EVAcharge SE board.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/arm/fsl.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index d0126f54b387..65cfaf5ef6d8 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -92,6 +92,7 @@ properties:
               - amarula,imx28-rmm
               - armadeus,imx28-apf28      # APF28 SoM
               - bluegiga,apx4devkit       # Bluegiga APx4 SoM on dev board
+              - chargebyte,imx28-evachargese
               - crystalfontz,cfa10036     # Crystalfontz CFA-10036 SoM
               - eukrea,mbmx28lc
               - fsl,imx28-evk
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH V2 2/6] dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2562
  2026-11-12 13:04 [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Stefan Wahren
  2026-11-12 13:05 ` [PATCH V2 1/6] dt-bindings: arm: fsl: support chargebyte EVAcharge SE Stefan Wahren
@ 2026-11-12 13:05 ` Stefan Wahren
  2026-11-12 13:05 ` [PATCH V2 3/6] dt-bindings: gpio: mxs: Allow gpio-line-names to be set Stefan Wahren
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Stefan Wahren @ 2026-11-12 13:05 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Frank Li, Vinod Koul, Marc Kleine-Budde
  Cc: Neil Armstrong, Vincent Mailhol, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy,
	Stefan Wahren, Krzysztof Kozlowski

The Microchip MCP2562 High-speed CAN transceiver with Sleep mode is
pin-compatible to the Microchip MCP2542.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
index 1a0dc9bbe6c9..7c356435c03f 100644
--- a/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
+++ b/Documentation/devicetree/bindings/phy/ti,tcan104x-can.yaml
@@ -19,6 +19,7 @@ properties:
           - enum:
               - microchip,ata6561
               - microchip,mcp2542
+              - microchip,mcp2562
               - ti,tcan1051
           - const: ti,tcan1042
       - items:
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH V2 3/6] dt-bindings: gpio: mxs: Allow gpio-line-names to be set
  2026-11-12 13:04 [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Stefan Wahren
  2026-11-12 13:05 ` [PATCH V2 1/6] dt-bindings: arm: fsl: support chargebyte EVAcharge SE Stefan Wahren
  2026-11-12 13:05 ` [PATCH V2 2/6] dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2562 Stefan Wahren
@ 2026-11-12 13:05 ` Stefan Wahren
  2026-11-12 13:05 ` [PATCH V2 4/6] ARM: dts: imx28: add alternative pinmux for CAN1 Stefan Wahren
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Stefan Wahren @ 2026-11-12 13:05 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Frank Li, Vinod Koul, Marc Kleine-Budde
  Cc: Neil Armstrong, Vincent Mailhol, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy,
	Stefan Wahren, Krzysztof Kozlowski

Describe common "gpio-line-names" property to allow DTs to
specify names for GPIO lines.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/gpio/gpio-mxs.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-mxs.yaml b/Documentation/devicetree/bindings/gpio/gpio-mxs.yaml
index 6cab04ebbdd4..79c9b0672334 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-mxs.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-mxs.yaml
@@ -119,6 +119,10 @@ patternProperties:
 
       gpio-controller: true
 
+      gpio-line-names:
+        minItems: 1
+        maxItems: 32
+
     required:
       - compatible
       - reg
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH V2 4/6] ARM: dts: imx28: add alternative pinmux for CAN1
  2026-11-12 13:04 [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Stefan Wahren
                   ` (2 preceding siblings ...)
  2026-11-12 13:05 ` [PATCH V2 3/6] dt-bindings: gpio: mxs: Allow gpio-line-names to be set Stefan Wahren
@ 2026-11-12 13:05 ` Stefan Wahren
  2026-11-12 13:05 ` [PATCH V2 5/6] ARM: dts: mxs: add EVAchargeSE board support Stefan Wahren
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 11+ messages in thread
From: Stefan Wahren @ 2026-11-12 13:05 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Frank Li, Vinod Koul, Marc Kleine-Budde
  Cc: Neil Armstrong, Vincent Mailhol, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy,
	Stefan Wahren

Add alternative pinmux setting for CAN1.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
---
 arch/arm/boot/dts/nxp/mxs/imx28.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
index ece46d0e7c7f..ee567aa6f561 100644
--- a/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
+++ b/arch/arm/boot/dts/nxp/mxs/imx28.dtsi
@@ -885,6 +885,17 @@ MX28_PAD_GPMI_CE3N__CAN1_RX
 					fsl,pull-up = <MXS_PULL_DISABLE>;
 				};
 
+				can1_pins_b: can1@1 {
+					reg = <1>;
+					fsl,pinmux-ids = <
+						MX28_PAD_AUART3_CTS__CAN1_TX
+						MX28_PAD_AUART3_RTS__CAN1_RX
+					>;
+					fsl,drive-strength = <MXS_DRIVE_4mA>;
+					fsl,voltage = <MXS_VOLTAGE_HIGH>;
+					fsl,pull-up = <MXS_PULL_DISABLE>;
+				};
+
 				spi2_pins_a: spi2@0 {
 					reg = <0>;
 					fsl,pinmux-ids = <
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH V2 5/6] ARM: dts: mxs: add EVAchargeSE board support
  2026-11-12 13:04 [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Stefan Wahren
                   ` (3 preceding siblings ...)
  2026-11-12 13:05 ` [PATCH V2 4/6] ARM: dts: imx28: add alternative pinmux for CAN1 Stefan Wahren
@ 2026-11-12 13:05 ` Stefan Wahren
  2026-11-12 14:23   ` Andrew Lunn
  2026-11-12 13:05 ` [PATCH V2 6/6] ARM: mxs_defconfig: Enable EVAcharge SE peripherals Stefan Wahren
                   ` (2 subsequent siblings)
  7 siblings, 1 reply; 11+ messages in thread
From: Stefan Wahren @ 2026-11-12 13:05 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Frank Li, Vinod Koul, Marc Kleine-Budde
  Cc: Neil Armstrong, Vincent Mailhol, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy,
	Stefan Wahren

The EVAcharge SE is a ISO 15118 compliant controller for electric vehicle &
charging stations.

Supported features:
  * 128 MB DDR2 RAM
  * eMMC
  * Debug UART
  * 100 Mbit Ethernet
  * USB 2.0 Host interface
  * Powerline communication (QCA700x)
  * CAN/RS232

Link: https://chargebyte.com/products/controllers-modules/evse-controllers/evacharge-se
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
---
 arch/arm/boot/dts/nxp/mxs/Makefile            |   1 +
 .../boot/dts/nxp/mxs/imx28-evachargese.dts    | 295 ++++++++++++++++++
 2 files changed, 296 insertions(+)
 create mode 100644 arch/arm/boot/dts/nxp/mxs/imx28-evachargese.dts

diff --git a/arch/arm/boot/dts/nxp/mxs/Makefile b/arch/arm/boot/dts/nxp/mxs/Makefile
index d72ba702b6fa..4f9997da9ab8 100644
--- a/arch/arm/boot/dts/nxp/mxs/Makefile
+++ b/arch/arm/boot/dts/nxp/mxs/Makefile
@@ -26,6 +26,7 @@ dtb-$(CONFIG_ARCH_MXS) += \
 	imx28-duckbill.dtb \
 	imx28-eukrea-mbmx283lc.dtb \
 	imx28-eukrea-mbmx287lc.dtb \
+	imx28-evachargese.dtb \
 	imx28-evk.dtb \
 	imx28-m28cu3.dtb \
 	imx28-m28evk.dtb \
diff --git a/arch/arm/boot/dts/nxp/mxs/imx28-evachargese.dts b/arch/arm/boot/dts/nxp/mxs/imx28-evachargese.dts
new file mode 100644
index 000000000000..d991caed2007
--- /dev/null
+++ b/arch/arm/boot/dts/nxp/mxs/imx28-evachargese.dts
@@ -0,0 +1,295 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+//
+// Copyright (C) 2017 I2SE GmbH
+// Copyright (C) 2026 chargebyte GmbH
+
+/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/leds/common.h>
+#include "imx28.dtsi"
+
+/ {
+	compatible = "chargebyte,imx28-evachargese", "fsl,imx28";
+	model = "chargebyte EVAcharge SE";
+
+	aliases {
+		ethernet1 = &qca7000;
+	};
+
+	memory@40000000 {
+		reg = <0x40000000 0x08000000>;
+		device_type = "memory";
+	};
+
+	flexcan1_tc: can-phy0 {
+		compatible = "microchip,mcp2562", "ti,tcan1042";
+		max-bitrate = <1000000>;
+		#phy-cells = <0>;
+	};
+
+	emmc_pwrseq: emmc-pwrseq {
+		compatible = "mmc-pwrseq-emmc";
+		pinctrl-0 = <&emmc_reset_pin>;
+		pinctrl-names = "default";
+		reset-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
+	};
+
+	leds {
+		compatible = "gpio-leds";
+		pinctrl-0 = <&led_pins>;
+		pinctrl-names = "default";
+
+		led-0 {
+			color = <LED_COLOR_ID_RED>;
+			function = LED_FUNCTION_HEARTBEAT;
+			gpios = <&gpio3 5 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+
+		led-1 {
+			color = <LED_COLOR_ID_YELLOW>;
+			function = LED_FUNCTION_PROGRAMMING;
+			gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-2 {
+			color = <LED_COLOR_ID_YELLOW>;
+			function = LED_FUNCTION_ACTIVITY;
+			gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-3 {
+			color = <LED_COLOR_ID_GREEN>;
+			function = LED_FUNCTION_BOOT;
+			gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "timer";
+		};
+	};
+
+	reg_3p3v: regulator-3p3v {
+		compatible = "regulator-fixed";
+		regulator-always-on;
+		regulator-max-microvolt = <3300000>;
+		regulator-min-microvolt = <3300000>;
+		regulator-name = "3P3V";
+	};
+};
+
+&auart0 {
+	pinctrl-0 = <&auart0_2pins_a>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
+&auart2 {
+	pinctrl-0 = <&auart2_2pins_b>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
+&can1 {
+	phys = <&flexcan1_tc>;
+	pinctrl-0 = <&can1_pins_b>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
+&duart {
+	pinctrl-0 = <&duart_pins_a>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
+&gpio1 {
+	gpio-line-names = "", "", "", "", "",
+			  "", "", "DAUGHTER_GPIO_0", "LED_3", "",
+			  "DAUGHTER_GPIO_1", "", "", "QCA7K_RESET", "QCA7K_GPIO_0",
+			  "QCA7K_GPIO_1", "LED_2", "", "QCA7K_GPIO_2", "",
+			  "", "QCA7K_GPIO_3", "", "", "",
+			  "DAUGHTER_GPIO_2", "", "", "DAUGHTER_GPIO_3", "DAUGHTER_GPIO_4",
+			  "DAUGHTER_GPIO_5";
+	pinctrl-0 = <&daughter>;
+	pinctrl-names = "default";
+};
+
+&gpio3 {
+	gpio-line-names = "", "", "", "", "LED_1",
+			  "LED_0", "", "", "", "",
+			  "", "", "", "", "",
+			  "", "", "", "", "",
+			  "", "", "", "", "",
+			  "QCA7K_INT";
+};
+
+&i2c1 {
+	pinctrl-0 = <&i2c1_pins_b>;
+	pinctrl-names = "default";
+
+	status = "okay";
+};
+
+&lradc {
+	status = "okay";
+};
+
+&mac0 {
+	clocks = <&clks 57>, <&clks 57>, <&clks 64>;
+	clock-names = "ipg", "ahb", "enet_out";
+	phy-handle = <&ethphy>;
+	phy-mode = "rmii";
+	phy-supply = <&reg_3p3v>;
+	pinctrl-0 = <&mac0_pins_a &mac0_phy_reset_pin>;
+	pinctrl-names = "default";
+
+	status = "okay";
+
+	mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ethphy: ethernet-phy@0 {
+			compatible = "ethernet-phy-id0007.c0f0","ethernet-phy-ieee802.3-c22";
+			reg = <0>;
+			interrupt-parent = <&gpio4>;
+			interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
+			max-speed = <100>;
+			pinctrl-0 = <&mac0_phy_int_pin>;
+			pinctrl-names = "default";
+			reset-assert-us = <500>;
+			reset-deassert-us = <500>;
+			reset-gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
+			smsc,disable-energy-detect;
+		};
+	};
+};
+
+&pinctrl {
+	mac0_phy_reset_pin: mac0-phy-reset@0 {
+		reg = <0>;
+		fsl,pinmux-ids = <
+			MX28_PAD_ENET0_RX_CLK__GPIO_4_13
+		>;
+		fsl,drive-strength = <MXS_DRIVE_4mA>;
+		fsl,pull-up = <MXS_PULL_DISABLE>;
+		fsl,voltage = <MXS_VOLTAGE_HIGH>;
+	};
+
+	mac0_phy_int_pin: mac0-phy-int@0 {
+		reg = <0>;
+		fsl,pinmux-ids = <
+			MX28_PAD_ENET0_TX_CLK__GPIO_4_5
+		>;
+		fsl,drive-strength = <MXS_DRIVE_4mA>;
+		fsl,pull-up = <MXS_PULL_DISABLE>;
+		fsl,voltage = <MXS_VOLTAGE_HIGH>;
+	};
+
+	daughter: daughter-pins@0 {
+		reg = <0>;
+		fsl,pinmux-ids = <
+			MX28_PAD_LCD_D07__GPIO_1_7     /* DAUGHTER_GPIO_0 */
+			MX28_PAD_LCD_D10__GPIO_1_10    /* DAUGHTER_GPIO_1 */
+			MX28_PAD_LCD_WR_RWN__GPIO_1_25 /* DAUGHTER_GPIO_2 */
+			MX28_PAD_LCD_VSYNC__GPIO_1_28  /* DAUGHTER_GPIO_3 */
+			MX28_PAD_LCD_HSYNC__GPIO_1_29  /* DAUGHTER_GPIO_4 */
+			MX28_PAD_LCD_DOTCLK__GPIO_1_30 /* DAUGHTER_GPIO_5 */
+		>;
+		fsl,drive-strength = <MXS_DRIVE_4mA>;
+		fsl,pull-up = <MXS_PULL_DISABLE>;
+		fsl,voltage = <MXS_VOLTAGE_HIGH>;
+	};
+
+	qca7k_pins: qca7k-pins@0 {
+		reg = <0>;
+		fsl,pinmux-ids = <
+			MX28_PAD_I2C0_SDA__GPIO_3_25 /* SPI_INT */
+			MX28_PAD_LCD_D13__GPIO_1_13  /* QCA7K_RESET */
+			MX28_PAD_LCD_D14__GPIO_1_14  /* GPIO_0 */
+			MX28_PAD_LCD_D15__GPIO_1_15  /* GPIO_1 */
+			MX28_PAD_LCD_D18__GPIO_1_18  /* GPIO_2 */
+			MX28_PAD_LCD_D21__GPIO_1_21  /* GPIO_3 */
+		>;
+		fsl,drive-strength = <MXS_DRIVE_4mA>;
+		fsl,pull-up = <MXS_PULL_DISABLE>;
+		fsl,voltage = <MXS_VOLTAGE_HIGH>;
+	};
+
+	led_pins: led-pins@0 {
+		reg = <0>;
+		fsl,pinmux-ids = <
+			MX28_PAD_LCD_D16__GPIO_1_16  /* LED_2 */
+			MX28_PAD_LCD_D08__GPIO_1_8   /* LED_3 */
+			MX28_PAD_AUART1_RX__GPIO_3_4 /* LED_1 */
+			MX28_PAD_AUART1_TX__GPIO_3_5 /* LED_0 */
+		>;
+		fsl,drive-strength = <MXS_DRIVE_4mA>;
+		fsl,pull-up = <MXS_PULL_DISABLE>;
+		fsl,voltage = <MXS_VOLTAGE_HIGH>;
+	};
+
+	emmc_reset_pin: emmc-reset@0 {
+		reg = <0>;
+		fsl,pinmux-ids = <
+			MX28_PAD_SSP2_SS1__GPIO_2_20
+		>;
+		fsl,drive-strength = <MXS_DRIVE_4mA>;
+		fsl,pull-up = <MXS_PULL_DISABLE>;
+		fsl,voltage = <MXS_VOLTAGE_HIGH>;
+	};
+};
+
+&ssp0 {
+	compatible = "fsl,imx28-mmc";
+	bus-width = <8>;
+	mmc-pwrseq = <&emmc_pwrseq>;
+	no-sdio;
+	non-removable;
+	pinctrl-0 = <&mmc0_8bit_pins_a &mmc0_cd_cfg &mmc0_sck_cfg>;
+	pinctrl-names = "default";
+	vmmc-supply = <&reg_3p3v>;
+
+	status = "okay";
+};
+
+&ssp2 {
+	compatible = "fsl,imx28-spi";
+	#address-cells = <1>;
+	#size-cells = <0>;
+	pinctrl-0 = <&spi2_pins_a &qca7k_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+
+	qca7000: ethernet@0 {
+		compatible = "qca,qca7000";
+		reg = <0x0>;
+		interrupt-parent = <&gpio3>;
+		interrupts = <25 IRQ_TYPE_EDGE_RISING>;
+		spi-cpha;
+		spi-cpol;
+		spi-max-frequency = <12000000>;
+	};
+};
+
+&usb0 {
+	dr_mode = "host";
+
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
+};
+
+&usbphy0 {
+	status = "okay";
+};
+
+&usbphy1 {
+	status = "okay";
+};
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH V2 6/6] ARM: mxs_defconfig: Enable EVAcharge SE peripherals
  2026-11-12 13:04 [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Stefan Wahren
                   ` (4 preceding siblings ...)
  2026-11-12 13:05 ` [PATCH V2 5/6] ARM: dts: mxs: add EVAchargeSE board support Stefan Wahren
@ 2026-11-12 13:05 ` Stefan Wahren
  2026-11-12 14:04 ` (subset) [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Vinod Koul
  2026-11-23 18:22 ` Stefan Wahren
  7 siblings, 0 replies; 11+ messages in thread
From: Stefan Wahren @ 2026-11-12 13:05 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Frank Li, Vinod Koul, Marc Kleine-Budde
  Cc: Neil Armstrong, Vincent Mailhol, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy,
	Stefan Wahren

We need to build the PHY CAN and the QCA7000 SPI driver in order to use
the peripherals of EVAcharge SE.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
---
 arch/arm/configs/mxs_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index b0b5eb33d01e..456378a53ea0 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -52,6 +52,7 @@ CONFIG_SCSI=y
 CONFIG_BLK_DEV_SD=y
 CONFIG_NETDEVICES=y
 CONFIG_ENC28J60=y
+CONFIG_QCA7000_SPI=m
 CONFIG_ICPLUS_PHY=y
 CONFIG_MICREL_PHY=y
 CONFIG_REALTEK_PHY=y
@@ -132,6 +133,7 @@ CONFIG_MXS_LRADC_ADC=y
 CONFIG_IIO_SYSFS_TRIGGER=y
 CONFIG_PWM=y
 CONFIG_PWM_MXS=y
+CONFIG_PHY_CAN_TRANSCEIVER=m
 CONFIG_NVMEM_MXS_OCOTP=y
 CONFIG_EXT4_FS=y
 # CONFIG_DNOTIFY is not set
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: (subset) [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support
  2026-11-12 13:04 [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Stefan Wahren
                   ` (5 preceding siblings ...)
  2026-11-12 13:05 ` [PATCH V2 6/6] ARM: mxs_defconfig: Enable EVAcharge SE peripherals Stefan Wahren
@ 2026-11-12 14:04 ` Vinod Koul
  2026-11-23 18:22 ` Stefan Wahren
  7 siblings, 0 replies; 11+ messages in thread
From: Vinod Koul @ 2026-11-12 14:04 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Frank Li, Marc Kleine-Budde, Stefan Wahren
  Cc: Neil Armstrong, Vincent Mailhol, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy


On Thu, 12 Nov 2026 14:04:59 +0100, Stefan Wahren wrote:
> This series adds support for the chargebyte EVAcharge SE, which is a
> ISO 15118 compliant controller for electric vehicle & charging stations.
> 
> Changes in V2:
> - add Krzysztof's Acked-by to Patches 1-3
> - align writing of EVAcharge SE (reported by sashiko)
> - add "dts:" to subject of Patch 5 (reported by Andrew)
> - add PHY ID of LAN8720Ai (reported by sashiko)
> - move enet_out clock to MAC node as in imx28-btt3.dtsi
> - adjust IRQ type of PHY (reported by Andrew)
> - add new patch to enable EVAcharge SE peripherals in mxs_defconfig
> 
> [...]

Applied, thanks!

[2/6] dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2562
      commit: 06f194589afdf29e85176b358ecd5a38aa467a95

Best regards,
-- 
~Vinod



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH V2 5/6] ARM: dts: mxs: add EVAchargeSE board support
  2026-11-12 13:05 ` [PATCH V2 5/6] ARM: dts: mxs: add EVAchargeSE board support Stefan Wahren
@ 2026-11-12 14:23   ` Andrew Lunn
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew Lunn @ 2026-11-12 14:23 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Walleij,
	Bartosz Golaszewski, Frank Li, Vinod Koul, Marc Kleine-Budde,
	Neil Armstrong, Vincent Mailhol, Sascha Hauer, kernel,
	Fabio Estevam, Manivannan Sadhasivam, devicetree, imx,
	linux-arm-kernel, linux-gpio, linux-can, linux-phy

> +&mac0 {
> +	clocks = <&clks 57>, <&clks 57>, <&clks 64>;
> +	clock-names = "ipg", "ahb", "enet_out";
> +	phy-handle = <&ethphy>;
> +	phy-mode = "rmii";
> +	phy-supply = <&reg_3p3v>;
> +	pinctrl-0 = <&mac0_pins_a &mac0_phy_reset_pin>;
> +	pinctrl-names = "default";
> +
> +	status = "okay";
> +
> +	mdio {
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		ethphy: ethernet-phy@0 {
> +			compatible = "ethernet-phy-id0007.c0f0","ethernet-phy-ieee802.3-c22";
> +			reg = <0>;
> +			interrupt-parent = <&gpio4>;
> +			interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
> +			max-speed = <100>;
> +			pinctrl-0 = <&mac0_phy_int_pin>;
> +			pinctrl-names = "default";
> +			reset-assert-us = <500>;
> +			reset-deassert-us = <500>;
> +			reset-gpios = <&gpio4 13 GPIO_ACTIVE_LOW>;
> +			smsc,disable-energy-detect;
> +		};
> +	};
> +};

For these nodes only:

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support
  2026-11-12 13:04 [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Stefan Wahren
                   ` (6 preceding siblings ...)
  2026-11-12 14:04 ` (subset) [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Vinod Koul
@ 2026-11-23 18:22 ` Stefan Wahren
  2026-11-24 18:04   ` Frank Li
  7 siblings, 1 reply; 11+ messages in thread
From: Stefan Wahren @ 2026-11-23 18:22 UTC (permalink / raw)
  To: Frank Li
  Cc: Neil Armstrong, Vincent Mailhol, Bartosz Golaszewski,
	Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Marc Kleine-Budde, Vinod Koul, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy

Hi Frank,

Am 12.11.26 um 14:04 schrieb Stefan Wahren:
> This series adds support for the chargebyte EVAcharge SE, which is a
> ISO 15118 compliant controller for electric vehicle & charging stations.
>
> Changes in V2:
> - add Krzysztof's Acked-by to Patches 1-3
> - align writing of EVAcharge SE (reported by sashiko)
> - add "dts:" to subject of Patch 5 (reported by Andrew)
> - add PHY ID of LAN8720Ai (reported by sashiko)
> - move enet_out clock to MAC node as in imx28-btt3.dtsi
> - adjust IRQ type of PHY (reported by Andrew)
> - add new patch to enable EVAcharge SE peripherals in mxs_defconfig
any remarks to this series? Vinod already applied Patch 2

Best regards
>
> Stefan Wahren (6):
>    dt-bindings: arm: fsl: support chargebyte EVAcharge SE
>    dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2562
>    dt-bindings: gpio: mxs: Allow gpio-line-names to be set
>    ARM: dts: imx28: add alternative pinmux for CAN1
>    ARM: dts: mxs: add EVAchargeSE board support
>    ARM: mxs_defconfig: Enable EVAcharge SE peripherals
>
>   .../devicetree/bindings/arm/fsl.yaml          |   1 +
>   .../devicetree/bindings/gpio/gpio-mxs.yaml    |   4 +
>   .../bindings/phy/ti,tcan104x-can.yaml         |   1 +
>   arch/arm/boot/dts/nxp/mxs/Makefile            |   1 +
>   .../boot/dts/nxp/mxs/imx28-evachargese.dts    | 295 ++++++++++++++++++
>   arch/arm/boot/dts/nxp/mxs/imx28.dtsi          |  11 +
>   arch/arm/configs/mxs_defconfig                |   2 +
>   7 files changed, 315 insertions(+)
>   create mode 100644 arch/arm/boot/dts/nxp/mxs/imx28-evachargese.dts
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support
  2026-11-23 18:22 ` Stefan Wahren
@ 2026-11-24 18:04   ` Frank Li
  0 siblings, 0 replies; 11+ messages in thread
From: Frank Li @ 2026-11-24 18:04 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Frank Li, Neil Armstrong, Vincent Mailhol, Bartosz Golaszewski,
	Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Marc Kleine-Budde, Vinod Koul, Sascha Hauer, kernel,
	Fabio Estevam, Andrew Lunn, Manivannan Sadhasivam, devicetree,
	imx, linux-arm-kernel, linux-gpio, linux-can, linux-phy

On Mon, Nov 23, 2026 at 07:22:47PM +0100, Stefan Wahren wrote:
> Hi Frank,
>
> Am 12.11.26 um 14:04 schrieb Stefan Wahren:
> > This series adds support for the chargebyte EVAcharge SE, which is a
> > ISO 15118 compliant controller for electric vehicle & charging stations.
> >
> > Changes in V2:
> > - add Krzysztof's Acked-by to Patches 1-3
> > - align writing of EVAcharge SE (reported by sashiko)
> > - add "dts:" to subject of Patch 5 (reported by Andrew)
> > - add PHY ID of LAN8720Ai (reported by sashiko)
> > - move enet_out clock to MAC node as in imx28-btt3.dtsi
> > - adjust IRQ type of PHY (reported by Andrew)
> > - add new patch to enable EVAcharge SE peripherals in mxs_defconfig
> any remarks to this series? Vinod already applied Patch 2

Does gpio-mxs.yaml applied? Or Linus Walleij agree go through dts tree?

Frank

>
> Best regards
> >
> > Stefan Wahren (6):
> >    dt-bindings: arm: fsl: support chargebyte EVAcharge SE
> >    dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2562
> >    dt-bindings: gpio: mxs: Allow gpio-line-names to be set
> >    ARM: dts: imx28: add alternative pinmux for CAN1
> >    ARM: dts: mxs: add EVAchargeSE board support
> >    ARM: mxs_defconfig: Enable EVAcharge SE peripherals
> >
> >   .../devicetree/bindings/arm/fsl.yaml          |   1 +
> >   .../devicetree/bindings/gpio/gpio-mxs.yaml    |   4 +
> >   .../bindings/phy/ti,tcan104x-can.yaml         |   1 +
> >   arch/arm/boot/dts/nxp/mxs/Makefile            |   1 +
> >   .../boot/dts/nxp/mxs/imx28-evachargese.dts    | 295 ++++++++++++++++++
> >   arch/arm/boot/dts/nxp/mxs/imx28.dtsi          |  11 +
> >   arch/arm/configs/mxs_defconfig                |   2 +
> >   7 files changed, 315 insertions(+)
> >   create mode 100644 arch/arm/boot/dts/nxp/mxs/imx28-evachargese.dts
> >
>
>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-11-24 18:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 13:04 [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Stefan Wahren
2026-11-12 13:05 ` [PATCH V2 1/6] dt-bindings: arm: fsl: support chargebyte EVAcharge SE Stefan Wahren
2026-11-12 13:05 ` [PATCH V2 2/6] dt-bindings: phy: ti,tcan104x-can: Document Microchip MCP2562 Stefan Wahren
2026-11-12 13:05 ` [PATCH V2 3/6] dt-bindings: gpio: mxs: Allow gpio-line-names to be set Stefan Wahren
2026-11-12 13:05 ` [PATCH V2 4/6] ARM: dts: imx28: add alternative pinmux for CAN1 Stefan Wahren
2026-11-12 13:05 ` [PATCH V2 5/6] ARM: dts: mxs: add EVAchargeSE board support Stefan Wahren
2026-11-12 14:23   ` Andrew Lunn
2026-11-12 13:05 ` [PATCH V2 6/6] ARM: mxs_defconfig: Enable EVAcharge SE peripherals Stefan Wahren
2026-11-12 14:04 ` (subset) [PATCH V2 0/6] ARM: mxs: add EVAchargeSE board support Vinod Koul
2026-11-23 18:22 ` Stefan Wahren
2026-11-24 18:04   ` Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox