Commit 5e4f393c authored by Stefan Wahren's avatar Stefan Wahren Committed by Shawn Guo

ARM: dts: imx6ull: Add chargebyte Tarragon support

This adds the support for chargebyte Tarragon, which is an Electrical
Vehicle Supply Equipment (EVSE) for AC charging stations
(according to IEC 61851, ISO 15118).

The Tarragon board is based on an i.MX6ULL SoC and is available in
4 variants (Master, Slave, SlaveXT, Micro), which provide more or
less peripherals.

Supported features:
  * 512 MB DDR RAM
  * eMMC
  * Debug UART
  * 100 Mbit Ethernet
  * USB 2.0 Host interface
  * Powerline communication (QCA700x)
  * 2x RS485
  * Digital in- and outputs (12 V)
  * One-Wire master for external temp sensors
  * 2x relay outputs
  * 2x motor interfaces

Link: https://chargebyte.com/products/charging-station-communication/charge-control-cSigned-off-by: default avatarStefan Wahren <stefan.wahren@chargebyte.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent f4916989
......@@ -760,6 +760,10 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
imx6ull-phytec-segin-lc-rdk-nand.dtb \
imx6ull-phytec-tauri-emmc.dtb \
imx6ull-phytec-tauri-nand.dtb \
imx6ull-tarragon-master.dtb \
imx6ull-tarragon-micro.dtb \
imx6ull-tarragon-slave.dtb \
imx6ull-tarragon-slavext.dtb \
imx6ull-tqma6ull2-mba6ulx.dtb \
imx6ull-tqma6ull2l-mba6ulx.dtb \
imx6ulz-14x14-evk.dtb \
......
This diff is collapsed.
// SPDX-License-Identifier: GPL-2.0 OR MIT
//
// Copyright (C) 2023 chargebyte GmbH
#include "imx6ull-tarragon-common.dtsi"
/ {
model = "chargebyte Tarragon Master";
compatible = "chargebyte,imx6ull-tarragon-master", "fsl,imx6ull";
fan0: pwm-fan {
compatible = "pwm-fan";
pwms = <&pwm7 0 40000 PWM_POLARITY_INVERTED>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fan_sense_snvs>;
fan-supply = <&reg_fan>;
interrupt-parent = <&gpio5>;
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
};
reg_fan: regulator {
compatible = "regulator-fixed";
regulator-name = "fan-supply";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fan_enable>;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
};
};
&ecspi2 {
status = "okay";
qca700x_cp: ethernet@0 {
reg = <0x0>;
compatible = "qca,qca7000";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qca700x_cp_int
&pinctrl_qca700x_cp_rst
&pinctrl_qca700x_cp_btld>;
interrupt-parent = <&gpio2>;
interrupts = <19 IRQ_TYPE_EDGE_RISING>;
spi-cpha;
spi-cpol;
spi-max-frequency = <16000000>;
};
};
&ecspi4 {
status = "okay";
qca700x_mains: ethernet@0 {
reg = <0x0>;
compatible = "qca,qca7000";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qca700x_mains_int
&pinctrl_qca700x_mains_rst
&pinctrl_qca700x_mains_btld>;
interrupt-parent = <&gpio5>;
interrupts = <9 IRQ_TYPE_EDGE_RISING>;
spi-cpha;
spi-cpol;
spi-max-frequency = <16000000>;
};
};
&fec1 {
status = "okay";
};
&pwm7 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm_fan>;
status = "okay";
};
&uart5 {
status = "okay";
};
// SPDX-License-Identifier: GPL-2.0 OR MIT
//
// Copyright (C) 2023 chargebyte GmbH
#include "imx6ull-tarragon-common.dtsi"
/ {
model = "chargebyte Tarragon Micro";
compatible = "chargebyte,imx6ull-tarragon-micro", "fsl,imx6ull";
};
// SPDX-License-Identifier: GPL-2.0 OR MIT
//
// Copyright (C) 2023 chargebyte GmbH
#include "imx6ull-tarragon-common.dtsi"
/ {
model = "chargebyte Tarragon Slave";
compatible = "chargebyte,imx6ull-tarragon-slave", "fsl,imx6ull";
};
&ecspi2 {
status = "okay";
qca700x_cp: ethernet@0 {
reg = <0x0>;
compatible = "qca,qca7000";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qca700x_cp_int
&pinctrl_qca700x_cp_rst
&pinctrl_qca700x_cp_btld>;
interrupt-parent = <&gpio2>;
interrupts = <19 IRQ_TYPE_EDGE_RISING>;
spi-cpha;
spi-cpol;
spi-max-frequency = <16000000>;
};
};
&fec1 {
status = "okay";
};
// SPDX-License-Identifier: GPL-2.0 OR MIT
//
// Copyright (C) 2023 chargebyte GmbH
#include "imx6ull-tarragon-common.dtsi"
/ {
model = "chargebyte Tarragon SlaveXT";
compatible = "chargebyte,imx6ull-tarragon-slavext", "fsl,imx6ull";
fan0: pwm-fan {
compatible = "pwm-fan";
pwms = <&pwm7 0 40000 PWM_POLARITY_INVERTED>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fan_sense_snvs>;
fan-supply = <&reg_fan>;
interrupt-parent = <&gpio5>;
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
};
reg_fan: regulator {
compatible = "regulator-fixed";
regulator-name = "fan-supply";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fan_enable>;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
};
};
&ecspi2 {
status = "okay";
qca700x_cp: ethernet@0 {
reg = <0x0>;
compatible = "qca,qca7000";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qca700x_cp_int
&pinctrl_qca700x_cp_rst
&pinctrl_qca700x_cp_btld>;
interrupt-parent = <&gpio2>;
interrupts = <19 IRQ_TYPE_EDGE_RISING>;
spi-cpha;
spi-cpol;
spi-max-frequency = <16000000>;
};
};
&fec1 {
status = "okay";
};
&pwm7 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm_fan>;
status = "okay";
};
&uart5 {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment