diff mbox series

[14/14] DT: marvell,mmp2: add USB OTG host controller

Message ID 20180822204307.13251-15-lkundrak@v3.sk (mailing list archive)
State New, archived
Headers show
Series Convert ehci-mv to DT | expand

Commit Message

Lubomir Rintel Aug. 22, 2018, 8:43 p.m. UTC
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
---
 arch/arm/boot/dts/mmp2.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Pavel Machek Nov. 5, 2018, 9:20 a.m. UTC | #1
On Wed 2018-08-22 22:43:07, Lubomir Rintel wrote:
> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
> ---
>  arch/arm/boot/dts/mmp2.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)

Again, I guess this could be merged with the previous patch. Anyway,
it is also good to go as-is.

Acked-by: Pavel Machek <pavel@ucw.cz>

> diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
> index 14a3448f38b9..63d4d5c6fd83 100644
> --- a/arch/arm/boot/dts/mmp2.dtsi
> +++ b/arch/arm/boot/dts/mmp2.dtsi
> @@ -124,6 +124,17 @@
>  				#phy-cells = <0>;
>  				status = "disabled";
>  			};
> +
> +			usb_otg0: usb-otg@d4208000 {
> +				compatible = "marvell,pxau2o-ehci";
> +				reg = <0xd4208000 0x200>;
> +				interrupts = <44>;
> +				clocks = <&soc_clocks MMP2_CLK_USB>;
> +				clock-names = "USBCLK";
> +				phys = <&usb_otg_phy0>;
> +				phy-names = "usb";
> +				status = "disabled";
> +			};
>  		};
>  
>  		apb@d4000000 {	/* APB */
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/mmp2.dtsi b/arch/arm/boot/dts/mmp2.dtsi
index 14a3448f38b9..63d4d5c6fd83 100644
--- a/arch/arm/boot/dts/mmp2.dtsi
+++ b/arch/arm/boot/dts/mmp2.dtsi
@@ -124,6 +124,17 @@ 
 				#phy-cells = <0>;
 				status = "disabled";
 			};
+
+			usb_otg0: usb-otg@d4208000 {
+				compatible = "marvell,pxau2o-ehci";
+				reg = <0xd4208000 0x200>;
+				interrupts = <44>;
+				clocks = <&soc_clocks MMP2_CLK_USB>;
+				clock-names = "USBCLK";
+				phys = <&usb_otg_phy0>;
+				phy-names = "usb";
+				status = "disabled";
+			};
 		};
 
 		apb@d4000000 {	/* APB */