Add USB PHY DT support for R8A7790/Lager reference board
Subsystems (2)
v2 cover Add USB PHY DT support for R8A7790/Lager reference board
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-v3.14-20140408' tag plus R8A7790/Lager PCI USB support patches that I posted yesterday. Here we add the USB PHY device tree support on the R8A7790/Lager reference board. The patchset requires the USB PHY driver (just re-posted) in order to work.
[1/2] ARM: shmobile: r8a7790: add USB PHY DT support [2/2] ARM: shmobile: lager: enable USB PHY
WBR, Sergei
PATCH v2 1/2 ARM: shmobile: r8a7790: add USB PHY DT support
Define the R8A7790 generic part of the USB PHY device node. It is up to the board file to enable the device.
--- arch/arm/boot/dts/r8a7790.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm/boot/dts/r8a7790.dtsi +9 -0
@@ -412,6 +412,15 @@ status = "disabled"; }; + usbphy: usb-phy at e6590100 { + compatible = "renesas,usb-phy-r8a7790"; + reg = <0 0xe6590100 0 0x100>; + #phy-cells = <2>; + clocks = <&mstp7_clks R8A7790_CLK_HSUSB>; + clock-names = "usbhs"; + status = "disabled"; + }; + clocks { #address-cells = <2>; #size-cells = <2>;
PATCH v2 2/2 ARM: shmobile: lager: enable USB PHY
In reply to Sergei ShtylyovEnable USB PHY device for the Lager board.
--- arch/arm/boot/dts/r8a7790-lager.dts | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/r8a7790-lager.dts +4 -0
@@ -330,3 +330,7 @@ pinctrl-0 = <&usb2_pins>; pinctrl-names = "default"; }; + +&usbphy { + status = "okay"; +};