[PATCH 5/5] ARM: mxs: add EVAchargeSE board support

Stefan Wahren wahrenst at gmx.net
Fri Nov 6 15:07:45 PST 2026


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 at gmx.net>
---
 arch/arm/boot/dts/nxp/mxs/Makefile            |   1 +
 .../boot/dts/nxp/mxs/imx28-evachargese.dts    | 294 ++++++++++++++++++
 2 files changed, 295 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..75ddde226493
--- /dev/null
+++ b/arch/arm/boot/dts/nxp/mxs/imx28-evachargese.dts
@@ -0,0 +1,294 @@
+// 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 at 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 {
+	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 at 0 {
+			compatible = "ethernet-phy-ieee802.3-c22";
+			reg = <0>;
+			clocks = <&clks 64>; /* enet_out */
+			interrupt-parent = <&gpio4>;
+			interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
+			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 at 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 at 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 at 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 at 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 at 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 at 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 at 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




More information about the linux-phy mailing list