mips: dts: ralink: mt7621: add cell count properties to usb
authorJustin Swartz <justin.swartz@risingedge.co.za>
Fri, 8 Mar 2024 16:11:30 +0000 (18:11 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 11 Mar 2024 12:58:35 +0000 (13:58 +0100)
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>
arch/mips/boot/dts/ralink/mt7621.dtsi

index 02e1f2491db0fd6850ad5171f0dfe61cfc3014b0..6e95e6f19a6a86da90c794a766ba08b359ce1537 100644 (file)
                       0x1e1d0700 0x0100>;
                reg-names = "mac", "ippc";
 
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                clocks = <&sysc MT7621_CLK_XTAL>;
                clock-names = "sys_ck";