Add USB PHY device tree support for R8A7794/SILK board
Subsystems (2)
v2 cover Add USB PHY device tree support for R8A7794/SILK board
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's
'renesas-devel-20151001-v4.3-rc3' tag. Here we add the USB PHY device tree support on the R8A7794/SILK low cost board.
[1/2] ARM: shmobile: r8a7794: add USB PHY DT support [2/2] ARM: shmobile: silk: enable USB PHY
WBR, Sergei
PATCH v2 1/2 ARM: shmobile: r8a7794: add USB PHY DT support
Define the R8A7794 generic part of the USB PHY device node. It is up to the board file to enable the device.
---
Changes in version 2:
- added the "power-domains" property.
arch/arm/boot/dts/r8a7794.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/arm/boot/dts/r8a7794.dtsi +20 -0
@@ -690,6 +690,26 @@ 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>; }; + usbphy: usb-phy at e6590100 { + compatible = "renesas,usb-phy-r8a7794"; + reg = <0 0xe6590100 0 0x100>; + #address-cells = <1>; + #size-cells = <0>; + clocks = <&mstp7_clks R8A7794_CLK_HSUSB>; + clock-names = "usbhs"; + power-domains = <&cpg_clocks>; + status = "disabled"; + + usb0: usb-channel at 0 { + reg = <0>; + #phy-cells = <1>; + }; + usb2: usb-channel at 2 { + reg = <2>; + #phy-cells = <1>; + }; + }; + clocks { #address-cells = <2>; #size-cells = <2>;
PATCH v2 2/2 ARM: shmobile: silk: enable USB PHY
In reply to Sergei ShtylyovEnable USB PHY device for the SILK board.
--- arch/arm/boot/dts/r8a7794-silk.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/r8a7794-silk.dts +4 -0
@@ -210,3 +210,7 @@ pinctrl-0 = <&usb1_pins>; pinctrl-names = "default"; }; + +&usbphy { + status = "okay"; +};
v2 cover Add USB PHY device tree support for R8A7794/SILK board
In reply to Sergei ShtylyovHi Sergei,
Quoted 8 lines · Sergei Shtylyov
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's
'renesas-devel-20151001-v4.3-rc3' tag. Here we add the USB PHY device tree support on the R8A7794/SILK low cost board.[1/2] ARM: shmobile: r8a7794: add USB PHY DT support [2/2] ARM: shmobile: silk: enable USB PHY
Thanks, I have queued these up for v4.4.