]> git.sur5r.net Git - u-boot/commitdiff
rockchip: dts: rk3229: add dwc2 node for fastboot
authorMeng Dongyang <daniel.meng@rock-chips.com>
Thu, 13 Jul 2017 02:59:54 +0000 (10:59 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:00 +0000 (14:59 +0200)
Add dwc2 node for fastboot to init dwc2 controller.

Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rk3229-evb.dts
arch/arm/dts/rk322x.dtsi

index ccdac1c79a92a3f93dd77c4b279c886d12ae7380..37137c2e520bfdce2c961c64c5a701c7663bcc71 100644 (file)
@@ -75,3 +75,7 @@
 &uart2 {
        status = "okay";
 };
+
+&usb20_otg {
+       status = "okay";
+};
index 7237da431d3a7620cba589b93d9e246142d8973f..4f2a1f6a157f620c472fdf3baebd8ee8a3ccec33 100644 (file)
                status = "disabled";
        };
 
+       usb20_otg: usb@30040000 {
+               compatible = "rockchip,rk3229-usb", "rockchip,rk3288-usb",
+                            "snps,dwc2";
+               reg = <0x30040000 0x40000>;
+               interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
+               hnp-srp-disable;
+               dr_mode = "otg";
+               status = "disabled";
+       };
+
        gmac: ethernet@30200000 {
                compatible = "rockchip,rk3228-gmac";
                reg = <0x30200000 0x10000>;