ARM: dts: Add Phytec pbab01 with i.MX6 DualLite/Solo
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 14 Apr 2014 15:37:24 +0000 (17:37 +0200)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:01:53 +0000 (23:01 +0800)
The PBA-B-01 carrier board can be equipped with either Quad or DualLite/Solo
phyFLEX i.MX6 modules (PFL-A-02).
This moves all common devices into imx6qdl-phytec-pbab01.dtsi. The SoC specific
device trees then just include the pfla01 and pbab01 dtsi files corresponding
to the SoC variant.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6dl-phytec-pbab01.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6q-phytec-pbab01.dts
arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi [new file with mode: 0644]

index 400e1941a3d53c5d280125edaf1ad61367f9ac02..917ff4487f2c1ee94d12fb6c5bfd24440d5c0182 100644 (file)
@@ -181,6 +181,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
        imx6dl-gw54xx.dtb \
        imx6dl-hummingboard.dtb \
        imx6dl-nitrogen6x.dtb \
+       imx6dl-phytec-pbab01.dtb \
        imx6dl-sabreauto.dtb \
        imx6dl-sabrelite.dtb \
        imx6dl-sabresd.dtb \
diff --git a/arch/arm/boot/dts/imx6dl-phytec-pbab01.dts b/arch/arm/boot/dts/imx6dl-phytec-pbab01.dts
new file mode 100644 (file)
index 0000000..08e9780
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH
+ *
+ * The code contained herein is licensed under the GNU General Public
+ * License. You may obtain a copy of the GNU General Public License
+ * Version 2 or later at the following locations:
+ *
+ * http://www.opensource.org/licenses/gpl-license.html
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+/dts-v1/;
+#include "imx6dl-phytec-pfla02.dtsi"
+#include "imx6qdl-phytec-pbab01.dtsi"
+
+/ {
+       model = "Phytec phyFLEX-i.MX6 DualLite/Solo Carrier-Board";
+       compatible = "phytec,imx6dl-pbab01", "phytec,imx6dl-pfla02", "fsl,imx6dl";
+};
index 5607c331fca8f4db3356a93a2aa75f97b1b2b11f..3a43dab728a82045d86c7ee021301e4f7a26ea20 100644 (file)
 
 /dts-v1/;
 #include "imx6q-phytec-pfla02.dtsi"
+#include "imx6qdl-phytec-pbab01.dtsi"
 
 / {
        model = "Phytec phyFLEX-i.MX6 Quad Carrier-Board";
        compatible = "phytec,imx6q-pbab01", "phytec,imx6q-pfla02", "fsl,imx6q";
 };
 
-&fec {
-       status = "okay";
-};
-
-&gpmi {
-       status = "okay";
-};
-
 &sata {
-       status = "okay";
-};
-
-&uart4 {
-       status = "okay";
-};
-
-&usbh1 {
-       status = "okay";
-};
-
-&usbotg {
-       status = "okay";
-};
-
-&usdhc2 {
-       status = "okay";
-};
-
-&usdhc3 {
-       status = "okay";
+        status = "okay";
 };
diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
new file mode 100644 (file)
index 0000000..cd2d4af
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH
+ *
+ * The code contained herein is licensed under the GNU General Public
+ * License. You may obtain a copy of the GNU General Public License
+ * Version 2 or later at the following locations:
+ *
+ * http://www.opensource.org/licenses/gpl-license.html
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+&fec {
+       status = "okay";
+};
+
+&gpmi {
+       status = "okay";
+};
+
+&uart4 {
+       status = "okay";
+};
+
+&usbh1 {
+       status = "okay";
+};
+
+&usbotg {
+       status = "okay";
+};
+
+&usdhc2 {
+       status = "okay";
+};
+
+&usdhc3 {
+       status = "okay";
+};