]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: Add reg property for USB OTG node in sun8i-a83t.dtsi
authorChen-Yu Tsai <wens@csie.org>
Mon, 5 Feb 2018 14:03:25 +0000 (22:03 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 13 Mar 2018 14:33:45 +0000 (20:03 +0530)
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@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@openedev.com>
arch/arm/dts/sun8i-a83t.dtsi

index 0fe73e173f4410e8c0d9dee994ccfb9ac57fce2c..bab6c1812b8aa6af05574745bcbe8bf1e2b7f4a4 100644 (file)
 
                usb_otg: usb@01c19000 {
                        compatible = "allwinner,sun8i-a33-musb";
+                       reg = <0x01c19000 0x400>;
                        interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-names = "mc";
                        status = "disabled";