ARM: dts: bcm2711-rpi-4-b: Enable usb node to use peripheral mode
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Dec 2019 00:48:54 +0000 (09:48 +0900)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 2 Apr 2020 04:09:10 +0000 (13:09 +0900)
Enable usb node to use peripheral mode.
It's also used on U-boot side when thor mode is run.

Change-Id: I2e915ef05edfac493ab4c71f648b6daf509d867f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/arm/boot/dts/bcm2711-rpi-4-b.dts

index 1ae1923..c633db6 100644 (file)
        status = "okay";
 };
 
+&usb {
+       compatible = "brcm,bcm2835-usb";
+       dr_mode = "peripheral";
+       g-np-tx-fifo-size = <32>;
+       g-rx-fifo-size = <256>;
+       g-tx-fifo-size = <512 512 512 512 512 256 256>;
+       status = "okay";
+};
+
 &spi0 {
        pinctrl-names = "default";
        pinctrl-0 = <&spi0_pins &spi0_cs_pins>;