diff mbox

[v2,6/6] ARM: dts: pxa: add the usb host controller

Message ID 1434739102-26217-6-git-send-email-robert.jarzmik@free.fr (mailing list archive)
State New, archived
Headers show

Commit Message

Robert Jarzmik June 19, 2015, 6:38 p.m. UTC
Add the usb host controller to pxa27x and pxa3xx.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 arch/arm/boot/dts/pxa27x.dtsi | 8 ++++++++
 arch/arm/boot/dts/pxa3xx.dtsi | 8 ++++++++
 2 files changed, 16 insertions(+)

Comments

Sergei Shtylyov June 19, 2015, 6:44 p.m. UTC | #1
Hello.

On 06/19/2015 09:38 PM, Robert Jarzmik wrote:

> Add the usb host controller to pxa27x and pxa3xx.

> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
> ---
>   arch/arm/boot/dts/pxa27x.dtsi | 8 ++++++++
>   arch/arm/boot/dts/pxa3xx.dtsi | 8 ++++++++
>   2 files changed, 16 insertions(+)

> diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi
> index fc79df9..97220ac 100644
> --- a/arch/arm/boot/dts/pxa27x.dtsi
> +++ b/arch/arm/boot/dts/pxa27x.dtsi
> @@ -26,6 +26,14 @@
>   			clocks = <&clks CLK_NONE>;
>   		};
>
> +		pxa27x_ohci: ohci@4c000000 {

    Sigh. ePAPR standardizes the "usb" name for such nodes.
[...]
> diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi
> index 29aeac5..67bd4fe 100644
> --- a/arch/arm/boot/dts/pxa3xx.dtsi
> +++ b/arch/arm/boot/dts/pxa3xx.dtsi
> @@ -86,6 +86,14 @@
>   			dma-names = "rx", "tx";
>   			status = "disabled";
>   		};
> +
> +		pxa3xx_ohci: ohci@4c000000 {

    Ditto.

[...]

WBR, Sergei
Robert Jarzmik June 19, 2015, 8:08 p.m. UTC | #2
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> writes:

>    Sigh. ePAPR standardizes the "usb" name for such nodes.
> [...]
Indeed.

I'll send the v3 tomorrow.

Cheers.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi
index fc79df9..97220ac 100644
--- a/arch/arm/boot/dts/pxa27x.dtsi
+++ b/arch/arm/boot/dts/pxa27x.dtsi
@@ -26,6 +26,14 @@ 
 			clocks = <&clks CLK_NONE>;
 		};
 
+		pxa27x_ohci: ohci@4c000000 {
+			compatible = "marvell,pxa-ohci";
+			reg = <0x4c000000 0x10000>;
+			interrupts = <3>;
+			clocks = <&clks CLK_USBHOST>;
+			status = "disabled";
+		};
+
 		pwm0: pwm@40b00000 {
 			compatible = "marvell,pxa270-pwm", "marvell,pxa250-pwm";
 			reg = <0x40b00000 0x10>;
diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi
index 29aeac5..67bd4fe 100644
--- a/arch/arm/boot/dts/pxa3xx.dtsi
+++ b/arch/arm/boot/dts/pxa3xx.dtsi
@@ -86,6 +86,14 @@ 
 			dma-names = "rx", "tx";
 			status = "disabled";
 		};
+
+		pxa3xx_ohci: ohci@4c000000 {
+			compatible = "marvell,pxa-ohci";
+			reg = <0x4c000000 0x10000>;
+			interrupts = <3>;
+			clocks = <&clks CLK_USBHOST>;
+			status = "disabled";
+		};
 	};
 
 	clocks {