diff mbox

[1/4] arm64: dts: r8a7795: Add HSUSB device node

Message ID 1464065860-3948-2-git-send-email-yoshihiro.shimoda.uh@renesas.com (mailing list archive)
State Superseded
Headers show

Commit Message

Yoshihiro Shimoda May 24, 2016, 4:57 a.m. UTC
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Comments

Geert Uytterhoeven May 24, 2016, 7:10 a.m. UTC | #1
Hi Shimoda-san,

On Tue, May 24, 2016 at 6:57 AM, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> ---
>  arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> index 26df300..3f7d7c4 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -1339,6 +1339,23 @@
>                         power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
>                         status = "disabled";
>                 };
> +
> +               hsusb: usb@e6590000 {
> +                       compatible = "renesas,usbhs-r8a7795",
> +                                    "renesas,rcar-gen2-usbhs";

renesas,rcar-gen3-usbhs

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Yoshihiro Shimoda May 24, 2016, 7:45 a.m. UTC | #2
Hi Geert-san,

> From: geert.uytterhoeven@gmail.com [mailto:geert.uytterhoeven@gmail.com] On Behalf Of Geert Uytterhoeven

> Sent: Tuesday, May 24, 2016 4:10 PM

> 

> Hi Shimoda-san,

> 

> On Tue, May 24, 2016 at 6:57 AM, Yoshihiro Shimoda

> <yoshihiro.shimoda.uh@renesas.com> wrote:

> > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

> > ---

> >  arch/arm64/boot/dts/renesas/r8a7795.dtsi | 17 +++++++++++++++++

> >  1 file changed, 17 insertions(+)

> >

> > diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi

> > index 26df300..3f7d7c4 100644

> > --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi

> > +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi

> > @@ -1339,6 +1339,23 @@

> >                         power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;

> >                         status = "disabled";

> >                 };

> > +

> > +               hsusb: usb@e6590000 {

> > +                       compatible = "renesas,usbhs-r8a7795",

> > +                                    "renesas,rcar-gen2-usbhs";

> 

> renesas,rcar-gen3-usbhs


Oops! I will fix it.

Best regards,
Yoshihiro Shimoda

> Gr{oetje,eeting}s,

> 

>                         Geert

> 

> --

> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

> 

> In personal conversations with technical people, I call myself a hacker. But

> when I'm talking to journalists I just say "programmer" or something like that.

>                                 -- Linus Torvalds
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 26df300..3f7d7c4 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -1339,6 +1339,23 @@ 
 			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
 			status = "disabled";
 		};
+
+		hsusb: usb@e6590000 {
+			compatible = "renesas,usbhs-r8a7795",
+				     "renesas,rcar-gen2-usbhs";
+			reg = <0 0xe6590000 0 0x100>;
+			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 704>;
+			dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
+			       <&usb_dmac1 0>, <&usb_dmac1 1>;
+			dma-names = "ch0", "ch1", "ch2", "ch3";
+			renesas,buswait = <11>;
+			phys = <&usb2_phy0>;
+			phy-names = "usb";
+			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+			status = "disabled";
+		};
+
 		pciec0: pcie@fe000000 {
 			compatible = "renesas,pcie-r8a7795";
 			reg = <0 0xfe000000 0 0x80000>;