Use same DT naming scheme as on mainline kernel.

This commit is contained in:
Igor Pecovnik 2017-05-02 08:22:50 +02:00
parent b0777d1d9a
commit 026ffde092

View file

@ -0,0 +1,102 @@
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
old mode 100644
new mode 100755
index 078a678..78b5a36
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -170,6 +170,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
imx6dl-seco_A62-lvds7hdmi.dtb \
imx6dl-seco_A62.dtb \
imx6dl-wandboard.dtb \
+ imx6dl-udoo.dtb \
imx6dl-udoo-hdmi.dtb \
imx6dl-udoo-lvds7.dtb \
imx6dl-udoo-lvds15.dtb \
@@ -193,6 +194,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
imx6q-seco_A62-lvds7.dtb \
imx6q-seco_A62-lvds15.dtb \
imx6q-seco_A62-lvds7hdmi.dtb \
+ imx6q-udoo.dtb \
imx6q-udoo-hdmi.dtb \
imx6q-udoo-lvds7.dtb \
imx6q-udoo-lvds15.dtb \
diff --git a/arch/arm/boot/dts/imx6dl-udoo.dts b/arch/arm/boot/dts/imx6dl-udoo.dts
new file mode 100755
index 0000000..4af97ed
--- /dev/null
+++ b/arch/arm/boot/dts/imx6dl-udoo.dts
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2013 Freescale Semiconductor, Inc.
+ *
+ * Author: Fabio Estevam <fabio.estevam@freescale.com>
+ * Author: Ettore Chimenti <ettore.chimenti@udoo.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+/dts-v1/;
+#include "imx6dl.dtsi"
+#include "imx6qdl-udoo.dtsi"
+#include "imx6qdl-udoo-externalpins.dtsi"
+
+/ {
+ model = "UDOO Dual-lite Board";
+ compatible = "udoo,imx6dl-udoo", "fsl,imx6dl";
+
+ mxcfb1: fb@0 {
+ compatible = "fsl,mxc_sdc_fb";
+ disp_dev = "hdmi";
+ interface_pix_fmt = "RGB24";
+ mode_str ="1920x1080M@60";
+ default_bpp = <32>;
+ int_clk = <0>;
+ late_init = <0>;
+ status = "okay";
+ };
+
+};
diff --git a/arch/arm/boot/dts/imx6q-udoo.dts b/arch/arm/boot/dts/imx6q-udoo.dts
new file mode 100755
index 0000000..9c6021d
--- /dev/null
+++ b/arch/arm/boot/dts/imx6q-udoo.dts
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2013 Freescale Semiconductor, Inc.
+ *
+ * Author: Fabio Estevam <fabio.estevam@freescale.com>
+ * Author: Ettore Chimenti <ettore.chimenti@udoo.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+
+/dts-v1/;
+#include "imx6q.dtsi"
+#include "imx6qdl-udoo.dtsi"
+#include "imx6qdl-udoo-externalpins.dtsi"
+
+/ {
+ model = "UDOO Quad Board";
+ compatible = "udoo,imx6q-udoo", "fsl,imx6q";
+
+ mxcfb1: fb@0 {
+ compatible = "fsl,mxc_sdc_fb";
+ disp_dev = "hdmi";
+ interface_pix_fmt = "RGB24";
+ mode_str ="1920x1080M@60";
+ default_bpp = <32>;
+ int_clk = <0>;
+ late_init = <0>;
+ status = "okay";
+ };
+};
+
+&sata {
+ status = "okay";
+};