ARM: shmobile: lager.dts: link usb-phy to pci nodes
Subsystems (2)
PATCH 9/9 ARM: shmobile: lager.dts: link usb-phy to pci nodes
Add the necessary links to add the USB phy nodes to the PCI devices that are behind the bridges specified.
Signed-off-by Ben Dooks <[email protected]>
--- arch/arm/boot/dts/r8a7790-lager.dts | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+)
arch/arm/boot/dts/r8a7790-lager.dts +37 -0
@@ -233,18 +233,55 @@ &pci0 { pinctrl-0 = <&usb0_pins>; pinctrl-names = "default"; + device_type = "pci"; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; }; &pci1 { status = "okay"; pinctrl-0 = <&usb1_pins>; pinctrl-names = "default"; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; }; &pci2 { status = "okay"; pinctrl-0 = <&usb2_pins>; pinctrl-names = "default"; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; }; &usbphy {
Signature · 1 line
1.9.0
Hello.
Quoted 56 lines · Ben Dooks
Add the necessary links to add the USB phy nodes to the PCI devices that are behind the bridges specified.
Signed-off-by Ben Dooks <[email protected]>--- arch/arm/boot/dts/r8a7790-lager.dts | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+)arch/arm/boot/dts/r8a7790-lager.dts +28
-0@@ -233,18 +233,55 @@ &pci0 { pinctrl-0 = <&usb0_pins>; pinctrl-names = "default"; + device_type = "pci"; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; }; &pci1 { status = "okay"; pinctrl-0 = <&usb1_pins>; pinctrl-names = "default"; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; }; &pci2 { status = "okay"; pinctrl-0 = <&usb2_pins>; pinctrl-names = "default"; + + pci@0,1 { + reg = <0x800 0 0 0 0>;
arch/arm/boot/dts/r8a7790-lager.dts line 285
Quoted 10 lines
arch/arm/boot/dts/r8a7790-lager.dts +9
-0+ device_type = "pci"; + usb-phy = <&usbphy>; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; };
I don't see why the internal PCI devices are added to the board file, not
the SoC file.
WBR, Sergei
Quoted 67 lines · Sergei Shtylyov
Hello.
Quoted 63 lines · Ben Dooks
Add the necessary links to add the USB phy nodes to the PCI devices that are behind the bridges specified.
Signed-off-by Ben Dooks <[email protected]>--- arch/arm/boot/dts/r8a7790-lager.dts | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+)arch/arm/boot/dts/r8a7790-lager.dts +33
-0@@ -233,18 +233,55 @@ &pci0 { pinctrl-0 = <&usb0_pins>; pinctrl-names = "default"; + device_type = "pci"; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; }; &pci1 { status = "okay"; pinctrl-0 = <&usb1_pins>; pinctrl-names = "default"; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; + + pci@0,2 { + reg = <0x1000 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; }; &pci2 { status = "okay"; pinctrl-0 = <&usb2_pins>; pinctrl-names = "default"; + + pci@0,1 { + reg = <0x800 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; + + pci@0,2 {
Quoted 8 lines
arch/arm/boot/dts/r8a7790-lager.dts line 249
Quoted 5 lines
arch/arm/boot/dts/r8a7790-lager.dts +4
-0+ reg = <0x1000 0 0 0 0>; + device_type = "pci"; + usb-phy = <&usbphy>; + }; };I don't see why the internal PCI devices are added to the board
file, not the SoC file.
Thanks, I think they probably do belong in the .dtsi file.
Signature · 2 lines
Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius