From a89b1feabb87f31e32900f5c06790bd88b9aa5b8 Mon Sep 17 00:00:00 2001 From: Joris Offouga Date: Fri, 30 Aug 2019 14:39:49 +0200 Subject: [PATCH] ARM: dts: pico-imx7d: Add u-boot.dtsi for uboot specific dts change This commit introduce u-boot.dtsi Signed-off-by: Joris Offouga Suggested-by: Peng Fan --- 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 0000000..1bd7f4f --- /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 7cd8be2..33b308a 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@80000000 { device_type = "memory"; @@ -297,7 +292,6 @@ &usbotg1 { vbus-supply = <®_usb_otg1_vbus>; - dr_mode = "peripheral"; status = "okay"; }; -- 2.7.4