aboutsummaryrefslogtreecommitdiffstats
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
commitac6125bb95c2baacbfbf2e985c06f0298439c930 (patch)
treeb60c02f7aeef4fc7db0e25fe2f51ef32e0dd9ad0
parentc5bb691ccc3e51710276cab8192f801ded913c4d (diff)
downloaddevicetree-rebasing-ac6125bb95c2baacbfbf2e985c06f0298439c930.tar.gz
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> [ upstream commit: 850778617121aa0e1c8f4b3ab4f33eff8a064431 ]
-rw-r--r--src/mips/ralink/mt7621.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mips/ralink/mt7621.dtsi b/src/mips/ralink/mt7621.dtsi
index 02e1f2491db0fd..6e95e6f19a6a86 100644
--- a/src/mips/ralink/mt7621.dtsi
+++ b/src/mips/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";