Skip to contentSkip to conversation

sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi

PATCH New Chen-Yu Tsai 3 participants 3 messages Feb 5, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi

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")
---
 arch/arm/dts/sun8i-a83t.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/dts/sun8i-a83t.dtsi +1 -0
index 0fe73e173f44..bab6c1812b8a 100644
@@ -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";
Signature · 1 line
2.15.1
#1 lore raw

PATCH 1/1 sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi

Quoted 8 lines · Chen-Yu Tsai

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")

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180205/1fbae0d6/attachment.sig>
#2 lore raw

PATCH 1/1 sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi

Quoted 11 lines · Maxime Ripard
Quoted 8 lines · Chen-Yu Tsai

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")