Commit 6dd72b4d authored by Yoshihiro Shimoda's avatar Yoshihiro Shimoda Committed by Simon Horman

arm64: dts: renesas: r8a77990: Enable USB2.0 Host for Ebisu board

This patch adds USB2.0 PHY and Host(EHCI/OHCI) nodes and
enables them for R-Car E3 Ebisu board.
Signed-off-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 51933b10
...@@ -47,10 +47,18 @@ phy0: ethernet-phy@0 { ...@@ -47,10 +47,18 @@ phy0: ethernet-phy@0 {
}; };
}; };
&ehci0 {
status = "okay";
};
&extal_clk { &extal_clk {
clock-frequency = <48000000>; clock-frequency = <48000000>;
}; };
&ohci0 {
status = "okay";
};
&pfc { &pfc {
avb_pins: avb { avb_pins: avb {
mux { mux {
...@@ -58,6 +66,11 @@ mux { ...@@ -58,6 +66,11 @@ mux {
function = "avb"; function = "avb";
}; };
}; };
usb0_pins: usb {
groups = "usb0_b";
function = "usb0";
};
}; };
&rwdt { &rwdt {
...@@ -68,3 +81,10 @@ &rwdt { ...@@ -68,3 +81,10 @@ &rwdt {
&scif2 { &scif2 {
status = "okay"; status = "okay";
}; };
&usb2_phy0 {
pinctrl-0 = <&usb0_pins>;
pinctrl-names = "default";
status = "okay";
};
...@@ -267,6 +267,43 @@ scif2: serial@e6e88000 { ...@@ -267,6 +267,43 @@ scif2: serial@e6e88000 {
status = "disabled"; status = "disabled";
}; };
ohci0: usb@ee080000 {
compatible = "generic-ohci";
reg = <0 0xee080000 0 0x100>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 703>;
phys = <&usb2_phy0>;
phy-names = "usb";
power-domains = <&sysc 32>;
resets = <&cpg 703>;
status = "disabled";
};
ehci0: usb@ee080100 {
compatible = "generic-ehci";
reg = <0 0xee080100 0 0x100>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 703>;
phys = <&usb2_phy0>;
phy-names = "usb";
companion = <&ohci0>;
power-domains = <&sysc 32>;
resets = <&cpg 703>;
status = "disabled";
};
usb2_phy0: usb-phy@ee080200 {
compatible = "renesas,usb2-phy-r8a77990",
"renesas,rcar-gen3-usb2-phy";
reg = <0 0xee080200 0 0x700>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 703>;
power-domains = <&sysc 32>;
resets = <&cpg 703>;
#phy-cells = <0>;
status = "disabled";
};
gic: interrupt-controller@f1010000 { gic: interrupt-controller@f1010000 {
compatible = "arm,gic-400"; compatible = "arm,gic-400";
#interrupt-cells = <3>; #interrupt-cells = <3>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment