Skip to content

Commit da8ee66

Browse files
bharat-gootyarndb
authored andcommitted
arm64: dts: broadcom: Fix USB DMA address translation for Stingray
Add a non-empty dma-ranges so that DMA address translation happens. Fixes: 2013a4b ("arm64: dts: broadcom: clear the warnings caused by empty dma-ranges") Signed-off-by: Bharat Gooty <bharat.gooty@broadcom.com> Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Ray Jui <ray.jui@broadcom.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 6808965 commit da8ee66

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
*/
55
usb {
66
compatible = "simple-bus";
7-
dma-ranges;
87
#address-cells = <2>;
98
#size-cells = <2>;
109
ranges = <0x0 0x0 0x0 0x68500000 0x0 0x00400000>;
1110

11+
/*
12+
* Internally, USB bus to the interconnect can only address up
13+
* to 40-bit
14+
*/
15+
dma-ranges = <0 0 0 0 0x100 0x0>;
16+
1217
usbphy0: usb-phy@0 {
1318
compatible = "brcm,sr-usb-combo-phy";
1419
reg = <0x0 0x00000000 0x0 0x100>;

0 commit comments

Comments
 (0)