summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorJustin Swartz <justin.swartz@risingedge.co.za>2024-03-08 18:11:30 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-03-11 13:58:35 +0100
commit850778617121aa0e1c8f4b3ab4f33eff8a064431 (patch)
tree15cb3a9ff7f6889ad2f42b6dffa447f95fd12798 /arch/mips
parent7fdfd3d81b2a02ecbcc4b285311d25e8b5f4cbf9 (diff)
downloadlinux-stable-850778617121aa0e1c8f4b3ab4f33eff8a064431.tar.gz
linux-stable-850778617121aa0e1c8f4b3ab4f33eff8a064431.tar.bz2
linux-stable-850778617121aa0e1c8f4b3ab4f33eff8a064431.zip
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boot/dts/ralink/mt7621.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ralink/mt7621.dtsi b/arch/mips/boot/dts/ralink/mt7621.dtsi
index 02e1f2491db0..6e95e6f19a6a 100644
--- a/arch/mips/boot/dts/ralink/mt7621.dtsi
+++ b/arch/mips/boot/dts/ralink/mt7621.dtsi
@@ -307,6 +307,9 @@
0x1e1d0700 0x0100>;
reg-names = "mac", "ippc";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
clocks = <&sysc MT7621_CLK_XTAL>;
clock-names = "sys_ck";