summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMeng Dongyang <daniel.meng@rock-chips.com>2017-07-13 05:59:54 +0300
committerKever Yang <kever.yang@rock-chips.com>2017-07-21 13:36:11 +0300
commit027f5d5ab1f514d66a10bbb0d7392257465fab70 (patch)
treec66bc3f33bfda59f23248c9f3288226c46b2122a
parent0b5af5ca131c30f916aa96ae64c8f86d4147fcc2 (diff)
downloadu-boot-027f5d5ab1f514d66a10bbb0d7392257465fab70.tar.xz
rockchip: dts: rk3229: add dwc2 node for fastboot
Add dwc2 node for fastboot to init dwc2 controller. Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
-rw-r--r--arch/arm/dts/rk3229-evb.dts4
-rw-r--r--arch/arm/dts/rk322x.dtsi10
2 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3229-evb.dts b/arch/arm/dts/rk3229-evb.dts
index ccdac1c79a..37137c2e52 100644
--- a/arch/arm/dts/rk3229-evb.dts
+++ b/arch/arm/dts/rk3229-evb.dts
@@ -75,3 +75,7 @@
&uart2 {
status = "okay";
};
+
+&usb20_otg {
+ status = "okay";
+};
diff --git a/arch/arm/dts/rk322x.dtsi b/arch/arm/dts/rk322x.dtsi
index 7237da431d..4f2a1f6a15 100644
--- a/arch/arm/dts/rk322x.dtsi
+++ b/arch/arm/dts/rk322x.dtsi
@@ -403,6 +403,16 @@
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>;