ARM: dts: BCM5301X: Specify USB ports for each controller
authorRafał Miłecki <rafal@milecki.pl>
Tue, 27 Jun 2017 17:35:27 +0000 (19:35 +0200)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 2 Aug 2017 01:05:42 +0000 (18:05 -0700)
Northstar has 3 controllers: OHCI and EHCI (each with 2 ports) and XHCI
(with just 1 port). Describe them in the DT. In future this will allow
to reference them as trigger sources.

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

index 98647d22b291f100399290adf1d2ed67b31fe0e7..045b9bb857f9a030491bc3bdbf82ae67bb841b73 100644 (file)
                                reg = <0x00021000 0x1000>;
                                interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
                                phys = <&usb2_phy>;
+
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               ehci_port1: port@1 {
+                                       reg = <1>;
+                                       #trigger-source-cells = <0>;
+                               };
+
+                               ehci_port2: port@2 {
+                                       reg = <2>;
+                                       #trigger-source-cells = <0>;
+                               };
                        };
 
                        ohci: ohci@22000 {
                                compatible = "generic-ohci";
                                reg = <0x00022000 0x1000>;
                                interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
+
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               ohci_port1: port@1 {
+                                       reg = <1>;
+                                       #trigger-source-cells = <0>;
+                               };
+
+                               ohci_port2: port@2 {
+                                       reg = <2>;
+                                       #trigger-source-cells = <0>;
+                               };
                        };
                };
 
                                interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
                                phys = <&usb3_phy>;
                                phy-names = "usb";
+
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               xhci_port1: port@1 {
+                                       reg = <1>;
+                                       #trigger-source-cells = <0>;
+                               };
                        };
                };