Skip to content

Commit 477cad7

Browse files
Rafał Miłeckiffainelli
authored andcommitted
arm64: dts: broadcom: bcmbca: bcm4908: add on-SoC USB ports
BCM4908 has 3 USB controllers each with 2 USB ports. Home routers often have LEDs indicating state of selected USB ports. Describe those SoC USB ports to allow using them as LED trigger sources. Signed-off-by: Rafał Miłecki <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Florian Fainelli <[email protected]>
1 parent f16a829 commit 477cad7

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,19 @@
148148
interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
149149
phys = <&usb_phy PHY_TYPE_USB2>;
150150
status = "disabled";
151+
152+
#address-cells = <1>;
153+
#size-cells = <0>;
154+
155+
ehci_port1: port@1 {
156+
reg = <1>;
157+
#trigger-source-cells = <0>;
158+
};
159+
160+
ehci_port2: port@2 {
161+
reg = <2>;
162+
#trigger-source-cells = <0>;
163+
};
151164
};
152165

153166
ohci: usb@c400 {
@@ -156,6 +169,19 @@
156169
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
157170
phys = <&usb_phy PHY_TYPE_USB2>;
158171
status = "disabled";
172+
173+
#address-cells = <1>;
174+
#size-cells = <0>;
175+
176+
ohci_port1: port@1 {
177+
reg = <1>;
178+
#trigger-source-cells = <0>;
179+
};
180+
181+
ohci_port2: port@2 {
182+
reg = <2>;
183+
#trigger-source-cells = <0>;
184+
};
159185
};
160186

161187
xhci: usb@d000 {
@@ -164,6 +190,19 @@
164190
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
165191
phys = <&usb_phy PHY_TYPE_USB3>;
166192
status = "disabled";
193+
194+
#address-cells = <1>;
195+
#size-cells = <0>;
196+
197+
xhci_port1: port@1 {
198+
reg = <1>;
199+
#trigger-source-cells = <0>;
200+
};
201+
202+
xhci_port2: port@2 {
203+
reg = <2>;
204+
#trigger-source-cells = <0>;
205+
};
167206
};
168207

169208
bus@80000 {

0 commit comments

Comments
 (0)