]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: pico-imx7d: Add u-boot.dtsi for uboot specific dts change
authorJoris Offouga <offougajoris@gmail.com>
Fri, 30 Aug 2019 12:39:49 +0000 (14:39 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:59 +0000 (16:35 +0200)
This commit introduce u-boot.dtsi

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Suggested-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/imx7d-pico-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/imx7d-pico.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 (file)
index 0000000..1bd7f4f
--- /dev/null
@@ -0,0 +1,11 @@
+/{
+    aliases {
+        mmc0 = &usdhc3;
+        usb0 = &usbotg1;
+    };
+};
+
+&usbotg1 {
+       dr_mode = "peripheral";
+ };
+
index 7cd8be24c874f5b48b7815c6e9d7c1031d0ea2a0..33b308ac24ec95c12bdd7e7316e8f293f52ee5d5 100644 (file)
@@ -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@80000000 {
                device_type = "memory";
 
 &usbotg1 {
        vbus-supply = <&reg_usb_otg1_vbus>;
-       dr_mode = "peripheral";
        status = "okay";
 };