Skip to content

Commit 8507786

Browse files
jhswartztsbogend
authored andcommitted
mips: dts: ralink: mt7621: add cell count properties to usb
Add default #address-cells and #size-cells properties to the usb node, which should be suitable for hubs and devices without explicitly declared interface nodes, as: "#address-cells": description: should be 1 for hub nodes with device nodes, should be 2 for device nodes with interface nodes. enum: [1, 2] "#size-cells": const: 0 -- from Documentation/devicetree/bindings/usb/usb-device.yaml Acked-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Justin Swartz <justin.swartz@risingedge.co.za> Reviewed-by: Arınç ÜNAL <arinc.unal@arinc9.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent 7fdfd3d commit 8507786

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/mips/boot/dts/ralink/mt7621.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@
307307
0x1e1d0700 0x0100>;
308308
reg-names = "mac", "ippc";
309309

310+
#address-cells = <1>;
311+
#size-cells = <0>;
312+
310313
clocks = <&sysc MT7621_CLK_XTAL>;
311314
clock-names = "sys_ck";
312315

0 commit comments

Comments
 (0)