Commit ef384624 authored by Markus Niebel's avatar Markus Niebel Committed by Shawn Guo
Browse files

ARM: dts: imx6qdl: add TQ-Systems MBa6x device trees



Add device trees for the MBa6x mainboard with TQMa6Q/QP/DL SoMs.

As discussed, all new files are added with GPL-2.0-only license, as they
are too tightly intertwined with the SoC DTSIs imx6dl.dtsi and imx6q.dtsi,
which are GPL-2.0.

Signed-off-by: default avatarMarkus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: default avatarMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 2439d70c
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -483,6 +483,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
	imx6dl-icore-rqs.dtb \
	imx6dl-lanmcu.dtb \
	imx6dl-mamoj.dtb \
	imx6dl-mba6a.dtb \
	imx6dl-mba6b.dtb \
	imx6dl-nit6xlite.dtb \
	imx6dl-nitrogen6x.dtb \
	imx6dl-phytec-mira-rdk-nand.dtb \
@@ -584,6 +586,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
	imx6q-kp-tpc.dtb \
	imx6q-logicpd.dtb \
	imx6q-marsboard.dtb \
	imx6q-mba6a.dtb \
	imx6q-mba6b.dtb \
	imx6q-mccmon6.dtb \
	imx6q-nitrogen6x.dtb \
	imx6q-nitrogen6_max.dtb \
@@ -629,6 +633,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
	imx6q-wandboard-revb1.dtb \
	imx6q-wandboard-revd1.dtb \
	imx6q-zii-rdu2.dtb \
	imx6qp-mba6b.dtb \
	imx6qp-nitrogen6_max.dtb \
	imx6qp-nitrogen6_som2.dtb \
	imx6qp-phytec-mira-rdk-nand.dtb \
+22 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2013 Sascha Hauer, Pengutronix
 *
 * Copyright 2013-2021 TQ-Systems GmbH
 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
 */

&ethphy {
	rxdv-skew-ps = <180>;
	txen-skew-ps = <0>;
	rxd3-skew-ps = <180>;
	rxd2-skew-ps = <180>;
	rxd1-skew-ps = <180>;
	rxd0-skew-ps = <180>;
	txd3-skew-ps = <120>;
	txd2-skew-ps = <0>;
	txd1-skew-ps = <300>;
	txd0-skew-ps = <120>;
	txc-skew-ps = <1860>;
	rxc-skew-ps = <1860>;
};
+21 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2013 Sascha Hauer, Pengutronix
 *
 * Copyright 2013-2021 TQ-Systems GmbH
 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include "imx6dl-tqma6a.dtsi"
#include "imx6qdl-mba6.dtsi"
#include "imx6qdl-mba6a.dtsi"
#include "imx6dl-mba6.dtsi"

/ {
	model = "TQ TQMa6S/DL on MBa6x";
	compatible = "tq,imx6dl-mba6x-a", "tq,mba6a",
		     "tq,imx6dl-tqma6dl-a", "fsl,imx6dl";
};
+21 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2013 Sascha Hauer, Pengutronix
 *
 * Copyright 2013-2021 TQ-Systems GmbH
 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include "imx6dl-tqma6b.dtsi"
#include "imx6qdl-mba6.dtsi"
#include "imx6qdl-mba6b.dtsi"
#include "imx6dl-mba6.dtsi"

/ {
	model = "TQ TQMa6S/DL on MBa6x";
	compatible = "tq,imx6dl-mba6x-b", "tq,mba6b",
		     "tq,imx6dl-tqma6dl-b", "fsl,imx6dl";
};
+44 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright 2013 Sascha Hauer, Pengutronix
 *
 * Copyright 2013-2021 TQ-Systems GmbH
 * Author: Markus Niebel <Markus.Niebel@tq-group.com>
 */

&ecspi5 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_ecspi5_mba6x>;
	cs-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
};

&ethphy {
	rxdv-skew-ps = <180>;
	txen-skew-ps = <120>;
	rxd3-skew-ps = <180>;
	rxd2-skew-ps = <180>;
	rxd1-skew-ps = <180>;
	rxd0-skew-ps = <180>;
	txd3-skew-ps = <120>;
	txd2-skew-ps = <0>;
	txd1-skew-ps = <180>;
	txd0-skew-ps = <360>;
	txc-skew-ps = <1860>;
	rxc-skew-ps = <1860>;
};

&sata {
	status = "okay";
};

&iomuxc {
	pinctrl_ecspi5_mba6x: ecspi5grp-mba6x {
		fsl,pins = <
			/* HYS, SPEED = MED, 100k up, DSE = 011, SRE_FAST */
			MX6QDL_PAD_SD1_DAT0__ECSPI5_MISO 0x1b099
			MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI 0xb099
			MX6QDL_PAD_SD1_CLK__ECSPI5_SCLK 0xb099
			MX6QDL_PAD_SD1_DAT1__GPIO1_IO17 0xb099 /* eCSPI5 SS0 */
		>;
	};
};
Loading