diff mbox

[U-Boot] rockchip: dts: rk3229: add dwc2 node for fastboot

Message ID 1499914794-30321-2-git-send-email-daniel.meng@rock-chips.com
State Accepted
Commit 01240628537418e96b9a973b136390d266092051
Delegated to: Philipp Tomsich
Headers show

Commit Message

Meng Dongyang July 13, 2017, 2:59 a.m. UTC
Add dwc2 node for fastboot to init dwc2 controller.

Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
---
 arch/arm/dts/rk3229-evb.dts |  4 ++++
 arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
 2 files changed, 14 insertions(+)

Comments

Philipp Tomsich July 13, 2017, 7:24 a.m. UTC | #1
> Add dwc2 node for fastboot to init dwc2 controller.
> 
> Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>
> ---
>  arch/arm/dts/rk3229-evb.dts |  4 ++++
>  arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
>  2 files changed, 14 insertions(+)
> 

Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich July 26, 2017, 4:52 p.m. UTC | #2
> 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>
> ---
>  arch/arm/dts/rk3229-evb.dts |  4 ++++
>  arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
>  2 files changed, 14 insertions(+)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Philipp Tomsich July 27, 2017, 8:33 a.m. UTC | #3
> 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 |  4 ++++
>  arch/arm/dts/rk322x.dtsi    | 10 ++++++++++
>  2 files changed, 14 insertions(+)
> 

Applied to u-boot-rockchip, thanks!
diff mbox

Patch

diff --git a/arch/arm/dts/rk3229-evb.dts b/arch/arm/dts/rk3229-evb.dts
index ccdac1c..37137c2 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 7237da4..4f2a1f6 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>;