]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: BCM53573: Specify USB ports of on-SoC controllers
authorRafał Miłecki <rafal@milecki.pl>
Wed, 7 Dec 2016 07:56:55 +0000 (08:56 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Thu, 19 Jan 2017 01:18:11 +0000 (17:18 -0800)
Broadcom OHCI and EHCI controllers always have 2 ports each on the root
hub. Describe them in DT to allow specifying extra info or referencing
port nodes.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm53573.dtsi

index e2c496a96c32a1381a3782d603c6139a8806c75d..2da04d0a734892d66bc8bb9ec7209b16623627dc 100644 (file)
@@ -124,6 +124,17 @@ ehci: ehci@4000 {
                                reg = <0x4000 0x1000>;
                                interrupt-parent = <&gic>;
                                interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               ehci_port1: port@1 {
+                                       reg = <1>;
+                               };
+
+                               ehci_port2: port@2 {
+                                       reg = <2>;
+                               };
                        };
 
                        ohci: ohci@d000 {
@@ -133,6 +144,17 @@ ohci: ohci@d000 {
                                reg = <0xd000 0x1000>;
                                interrupt-parent = <&gic>;
                                interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
+
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               ohci_port1: port@1 {
+                                       reg = <1>;
+                               };
+
+                               ohci_port2: port@2 {
+                                       reg = <2>;
+                               };
                        };
                };