arm64: dts: rockchip: add dwc2 otg controller on px30
authorHeiko Stuebner <heiko@sntech.de>
Thu, 2 Aug 2018 11:35:37 +0000 (13:35 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 24 Sep 2018 13:46:24 +0000 (15:46 +0200)
Add the node for the dwc2-based otg controller on the px30 soc.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/px30.dtsi

index fa82dd80c801308b135f73471b2b8c3a370f28bd..9aa8d5ef9e45fa02281a7de31d5148f15edc4556 100644 (file)
                        <100000000>, <200000000>;
        };
 
+       usb20_otg: usb@ff300000 {
+               compatible = "rockchip,px30-usb", "rockchip,rk3066-usb",
+                            "snps,dwc2";
+               reg = <0x0 0xff300000 0x0 0x40000>;
+               interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
+               clocks = <&cru HCLK_OTG>;
+               clock-names = "otg";
+               dr_mode = "otg";
+               g-np-tx-fifo-size = <16>;
+               g-rx-fifo-size = <280>;
+               g-tx-fifo-size = <256 128 128 64 32 16>;
+               g-use-dma;
+               power-domains = <&power PX30_PD_USB>;
+               status = "disabled";
+       };
+
        usb_host0_ehci: usb@ff340000 {
                compatible = "generic-ehci";
                reg = <0x0 0xff340000 0x0 0x10000>;