Skip to content

Commit 99f7445

Browse files
Sergei Shtylyovhorms
authored andcommitted
ARM: shmobile: porter: enable internal PCI and USB PHY
Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to them and also enable USB PHY device for the Porter board. We have to enable everything in one patch since EHCI/OHCI devices are already linked to the USB PHY device. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
1 parent f9953c5 commit 99f7445

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

arch/arm/boot/dts/r8a7791-porter.dts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,16 @@
120120
renesas,function = "i2c2";
121121
};
122122

123+
usb0_pins: usb0 {
124+
renesas,groups = "usb0";
125+
renesas,function = "usb0";
126+
};
127+
128+
usb1_pins: usb1 {
129+
renesas,groups = "usb1";
130+
renesas,function = "usb1";
131+
};
132+
123133
vin0_pins: vin0 {
124134
renesas,groups = "vin0_data8", "vin0_clk";
125135
renesas,function = "vin0";
@@ -245,6 +255,24 @@
245255
};
246256
};
247257

258+
&pci0 {
259+
pinctrl-0 = <&usb0_pins>;
260+
pinctrl-names = "default";
261+
262+
status = "okay";
263+
};
264+
265+
&pci1 {
266+
pinctrl-0 = <&usb1_pins>;
267+
pinctrl-names = "default";
268+
269+
status = "okay";
270+
};
271+
272+
&usbphy {
273+
status = "okay";
274+
};
275+
248276
&pcie_bus_clk {
249277
status = "okay";
250278
};

0 commit comments

Comments
 (0)