OSDN Git Service

ARM: dts: imx6: Add support for phyBOARD-Mira i.MX 6Quad/Dual RDK
authorChristian Hemp <c.hemp@phytec.de>
Tue, 9 Jan 2018 16:09:57 +0000 (17:09 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Feb 2018 13:13:03 +0000 (21:13 +0800)
Add support for the PHYTEC phyBOARD-Mira Rapid Development Kit with
i.MX 6Quad/Dual with eMMC or NAND.

Following interfaces are supported:
- Gigabit Ethernet
- USB Host
- CAN
- RS232
- PCIe
- LVDS
- HDMI

Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6q-phytec-mira-rdk-emmc.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6q-phytec-mira-rdk-nand.dts [new file with mode: 0644]

index ade7a38..6182c52 100644 (file)
@@ -465,6 +465,8 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6q-nitrogen6_max.dtb \
        imx6q-nitrogen6_som2.dtb \
        imx6q-novena.dtb \
+       imx6q-phytec-mira-rdk-emmc.dtb \
+       imx6q-phytec-mira-rdk-nand.dtb \
        imx6q-phytec-pbab01.dtb \
        imx6q-pistachio.dtb \
        imx6q-rex-pro.dtb \
diff --git a/arch/arm/boot/dts/imx6q-phytec-mira-rdk-emmc.dts b/arch/arm/boot/dts/imx6q-phytec-mira-rdk-emmc.dts
new file mode 100644 (file)
index 0000000..8fdce3c
--- /dev/null
@@ -0,0 +1,72 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2018 PHYTEC Messtechnik GmbH
+ * Author: Christian Hemp <c.hemp@phytec.de>
+ */
+
+/dts-v1/;
+#include "imx6q.dtsi"
+#include "imx6qdl-phytec-phycore-som.dtsi"
+#include "imx6qdl-phytec-mira.dtsi"
+
+/ {
+       model = "PHYTEC phyBOARD-Mira Quad Carrier-Board with eMMC";
+       compatible = "phytec,imx6q-pbac06-emmc", "phytec,imx6q-pbac06",
+                    "phytec,imx6qdl-pcm058", "fsl,imx6q";
+
+       chosen {
+               linux,stdout-path = &uart2;
+       };
+};
+
+&can1 {
+       status = "okay";
+};
+
+&fec {
+       status = "okay";
+};
+
+&hdmi {
+       status = "okay";
+};
+
+&i2c1 {
+       status = "okay";
+};
+
+&i2c2 {
+       status = "okay";
+};
+
+&i2c_rtc {
+       status = "okay";
+};
+
+&m25p80 {
+       status = "okay";
+};
+
+&pcie {
+       status = "okay";
+};
+
+&uart3 {
+       status = "okay";
+};
+
+&usbh1 {
+       status = "okay";
+};
+
+&usbotg {
+       status = "okay";
+};
+
+&usdhc1 {
+       status = "okay";
+};
+
+&usdhc4 {
+       status = "okay";
+};
diff --git a/arch/arm/boot/dts/imx6q-phytec-mira-rdk-nand.dts b/arch/arm/boot/dts/imx6q-phytec-mira-rdk-nand.dts
new file mode 100644 (file)
index 0000000..8afa5ce
--- /dev/null
@@ -0,0 +1,72 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2018 PHYTEC Messtechnik GmbH
+ * Author: Christian Hemp <c.hemp@phytec.de>
+ */
+
+/dts-v1/;
+#include "imx6q.dtsi"
+#include "imx6qdl-phytec-phycore-som.dtsi"
+#include "imx6qdl-phytec-mira.dtsi"
+
+/ {
+       model = "PHYTEC phyBOARD-Mira Quad Carrier-Board with NAND";
+       compatible = "phytec,imx6q-pbac06-nand", "phytec,imx6q-pbac06",
+                    "phytec,imx6qdl-pcm058", "fsl,imx6q";
+
+       chosen {
+               linux,stdout-path = &uart2;
+       };
+};
+
+&can1 {
+       status = "okay";
+};
+
+&fec {
+       status = "okay";
+};
+
+&gpmi {
+       status = "okay";
+};
+
+&hdmi {
+       status = "okay";
+};
+
+&i2c1 {
+       status = "okay";
+};
+
+&i2c2 {
+       status = "okay";
+};
+
+&i2c_rtc {
+       status = "okay";
+};
+
+&m25p80 {
+       status = "okay";
+};
+
+&pcie {
+       status = "okay";
+};
+
+&uart3 {
+       status = "okay";
+};
+
+&usbh1 {
+       status = "okay";
+};
+
+&usbotg {
+       status = "okay";
+};
+
+&usdhc1 {
+       status = "okay";
+};