[U-Boot] [PATCH] sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi

Chen-Yu Tsai wens at csie.org
Mon Feb 5 14:03:25 UTC 2018


When the OTG node was added, its reg property for its address space was
missing. With commit f4f9896ac310 ("musb: sunxi: Use base address from
device tree"), the OTG controller's address is derived from the device
tree exclusively. The missing property results in U-boot crashing when
MUSB is initialized.

Fixes: b0bea6678981 ("sunxi: Add USB and R_PIO nodes to sun8i-a83t.dtsi")
Signed-off-by: Chen-Yu Tsai <wens at csie.org>
---
 arch/arm/dts/sun8i-a83t.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/sun8i-a83t.dtsi b/arch/arm/dts/sun8i-a83t.dtsi
index 0fe73e173f44..bab6c1812b8a 100644
--- a/arch/arm/dts/sun8i-a83t.dtsi
+++ b/arch/arm/dts/sun8i-a83t.dtsi
@@ -227,6 +227,7 @@
 
 		usb_otg: usb at 01c19000 {
 			compatible = "allwinner,sun8i-a33-musb";
+			reg = <0x01c19000 0x400>;
 			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-names = "mc";
 			status = "disabled";
-- 
2.15.1



More information about the U-Boot mailing list