diff mbox series

[U-Boot] ARM: rmobile: dts: Add XHCI USB node to r8a7796

Message ID 20170912210230.12321-1-marek.vasut+renesas@gmail.com
State Accepted, archived
Commit e8f86f2bac3291ad5d25ed71a86eb65c61033be5
Delegated to: Nobuhiro Iwamatsu
Headers show
Series [U-Boot] ARM: rmobile: dts: Add XHCI USB node to r8a7796 | expand

Commit Message

Marek Vasut Sept. 12, 2017, 9:02 p.m. UTC
The R8A7796 XHCI USB nodes are missing from r8a7796 dtsi, add them.
These nodes don't come from mainline Linux, yet the DT binding is
similar enough to R8A7795 which already has those in mainline and
once the nodes hit mainline, this DT should be resynched.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 arch/arm/dts/r8a7796.dtsi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Nobuhiro Iwamatsu Sept. 22, 2017, 10:18 p.m. UTC | #1
Hi,

2017-09-13 6:02 GMT+09:00 Marek Vasut <marek.vasut@gmail.com>:
> The R8A7796 XHCI USB nodes are missing from r8a7796 dtsi, add them.
> These nodes don't come from mainline Linux, yet the DT binding is
> similar enough to R8A7795 which already has those in mainline and
> once the nodes hit mainline, this DT should be resynched.
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>

Applied to rmobile branch.

Thanks,
  Nobuhiro

> ---
>  arch/arm/dts/r8a7796.dtsi | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/dts/r8a7796.dtsi b/arch/arm/dts/r8a7796.dtsi
> index 7e3b1d82a1..9e6a5f231e 100644
> --- a/arch/arm/dts/r8a7796.dtsi
> +++ b/arch/arm/dts/r8a7796.dtsi
> @@ -1120,7 +1120,13 @@
>                 };
>
>                 xhci0: usb@ee000000 {
> -                       /* placeholder */
> +                       compatible = "renesas,xhci-r8a7796", "renesas,rcar-gen3-xhci";
> +                       reg = <0 0xee000000 0 0xc00>;
> +                       interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
> +                       clocks = <&cpg CPG_MOD 328>;
> +                       power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
> +                       resets = <&cpg 328>;
> +                       status = "disabled";
>                 };
>
>                 ohci0: usb@ee080000 {
> --
> 2.11.0
>
diff mbox series

Patch

diff --git a/arch/arm/dts/r8a7796.dtsi b/arch/arm/dts/r8a7796.dtsi
index 7e3b1d82a1..9e6a5f231e 100644
--- a/arch/arm/dts/r8a7796.dtsi
+++ b/arch/arm/dts/r8a7796.dtsi
@@ -1120,7 +1120,13 @@ 
 		};
 
 		xhci0: usb@ee000000 {
-			/* placeholder */
+			compatible = "renesas,xhci-r8a7796", "renesas,rcar-gen3-xhci";
+			reg = <0 0xee000000 0 0xc00>;
+			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 328>;
+			power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+			resets = <&cpg 328>;
+			status = "disabled";
 		};
 
 		ohci0: usb@ee080000 {