[U-Boot] [PATCH V2 1/3] ARM: dts: pico-imx7d: Add u-boot.dtsi for uboot specific dts change

Joris Offouga offougajoris at gmail.com
Fri Aug 30 12:53:27 UTC 2019


This commit introduce u-boot.dtsi

Signed-off-by: Joris Offouga <offougajoris at gmail.com>
Suggested-by: Peng Fan <peng.fan at nxp.com>
---
 arch/arm/dts/imx7d-pico-u-boot.dtsi | 11 +++++++++++
 arch/arm/dts/imx7d-pico.dtsi        |  8 +-------
 2 files changed, 12 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm/dts/imx7d-pico-u-boot.dtsi

diff --git a/arch/arm/dts/imx7d-pico-u-boot.dtsi b/arch/arm/dts/imx7d-pico-u-boot.dtsi
new file mode 100644
index 0000000000..1bd7f4f102
--- /dev/null
+++ b/arch/arm/dts/imx7d-pico-u-boot.dtsi
@@ -0,0 +1,11 @@
+/{
+    aliases {
+        mmc0 = &usdhc3;
+        usb0 = &usbotg1;
+    };
+};
+
+&usbotg1 {
+	dr_mode = "peripheral";
+ };
+
diff --git a/arch/arm/dts/imx7d-pico.dtsi b/arch/arm/dts/imx7d-pico.dtsi
index 7cd8be24c8..33b308ac24 100644
--- a/arch/arm/dts/imx7d-pico.dtsi
+++ b/arch/arm/dts/imx7d-pico.dtsi
@@ -5,14 +5,9 @@
 /dts-v1/;
 
 #include "imx7d.dtsi"
-
+#include "imx7d-pico-u-boot.dtsi"
 
 / {
-	aliases {
-		mmc0 = &usdhc3;
-		usb0 = &usbotg1;
-	};
-
 	/* Will be filled by the bootloader */
 	memory at 80000000 {
 		device_type = "memory";
@@ -297,7 +292,6 @@
 
 &usbotg1 {
 	vbus-supply = <&reg_usb_otg1_vbus>;
-	dr_mode = "peripheral";
 	status = "okay";
 };
 
-- 
2.17.1



More information about the U-Boot mailing list