ARM: dts: imx6dl-yapp4: Add Y Soft IOTA Crux/Crux+ board
authorMichal Vokáč <michal.vokac@ysoft.com>
Mon, 22 Nov 2021 16:25:20 +0000 (17:25 +0100)
committerShawn Guo <shawnguo@kernel.org>
Wed, 8 Dec 2021 12:31:54 +0000 (20:31 +0800)
Add devicetrees for the new boards in the Y Soft IOTA family.
These boards are based on Orion but use Quad/QuadPlus SoC
instead of DualLite.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6q-yapp4-crux.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dts [new file with mode: 0644]

index e462dbe..51a6dd6 100644 (file)
@@ -632,6 +632,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6q-wandboard.dtb \
        imx6q-wandboard-revb1.dtb \
        imx6q-wandboard-revd1.dtb \
+       imx6q-yapp4-crux.dtb \
        imx6q-zii-rdu2.dtb \
        imx6qp-mba6b.dtb \
        imx6qp-nitrogen6_max.dtb \
@@ -646,6 +647,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6qp-tx6qp-8137-mb7.dtb \
        imx6qp-vicutp.dtb \
        imx6qp-wandboard-revd1.dtb \
+       imx6qp-yapp4-crux-plus.dtb \
        imx6qp-zii-rdu2.dtb \
        imx6s-dhcom-drc02.dtb
 dtb-$(CONFIG_SOC_IMX6SL) += \
diff --git a/arch/arm/boot/dts/imx6q-yapp4-crux.dts b/arch/arm/boot/dts/imx6q-yapp4-crux.dts
new file mode 100644 (file)
index 0000000..15f4824
--- /dev/null
@@ -0,0 +1,54 @@
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (C) 2021 Y Soft Corporation, a.s.
+
+/dts-v1/;
+
+#include "imx6q.dtsi"
+#include "imx6dl-yapp4-common.dtsi"
+
+/ {
+       model = "Y Soft IOTA Crux i.MX6Quad board";
+       compatible = "ysoft,imx6q-yapp4-crux", "fsl,imx6q";
+
+       memory@10000000 {
+               device_type = "memory";
+               reg = <0x10000000 0xf0000000>;
+       };
+};
+
+&gpio_oled {
+       status = "okay";
+};
+
+&leds {
+       status = "okay";
+};
+
+&oled_1305 {
+       status = "okay";
+};
+
+&oled_1309 {
+       status = "okay";
+};
+
+&reg_usb_h1_vbus {
+       status = "okay";
+};
+
+&touchkeys {
+       status = "okay";
+};
+
+&uart2 {
+       status = "disabled";
+};
+
+&usbh1 {
+       status = "okay";
+};
+
+&usbphy2 {
+       status = "okay";
+};
diff --git a/arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dts b/arch/arm/boot/dts/imx6qp-yapp4-crux-plus.dts
new file mode 100644 (file)
index 0000000..cea165f
--- /dev/null
@@ -0,0 +1,54 @@
+// SPDX-License-Identifier: GPL-2.0
+//
+// Copyright (C) 2021 Y Soft Corporation, a.s.
+
+/dts-v1/;
+
+#include "imx6qp.dtsi"
+#include "imx6dl-yapp4-common.dtsi"
+
+/ {
+       model = "Y Soft IOTA Crux+ i.MX6QuadPlus board";
+       compatible = "ysoft,imx6qp-yapp4-crux-plus", "fsl,imx6qp";
+
+       memory@10000000 {
+               device_type = "memory";
+               reg = <0x10000000 0xf0000000>;
+       };
+};
+
+&gpio_oled {
+       status = "okay";
+};
+
+&leds {
+       status = "okay";
+};
+
+&oled_1305 {
+       status = "okay";
+};
+
+&oled_1309 {
+       status = "okay";
+};
+
+&reg_usb_h1_vbus {
+       status = "okay";
+};
+
+&touchkeys {
+       status = "okay";
+};
+
+&uart2 {
+       status = "disabled";
+};
+
+&usbh1 {
+       status = "okay";
+};
+
+&usbphy2 {
+       status = "okay";
+};