Skip to content

Commit 3ba5a61

Browse files
Rafał MiłeckiAngeloGioacchino Del Regno
authored andcommitted
arm64: dts: mediatek: mt7622: fix clock controllers
1. Drop unneeded "syscon"s (bindings were updated recently) 2. Use "clock-controller" in nodenames 3. Add missing "#clock-cells" Fixes: d716788 ("arm64: dts: mt7622: add clock controller device nodes") Fixes: e9b65ec ("arm64: dts: mediatek: mt7622: introduce nodes for Wireless Ethernet Dispatch") Signed-off-by: Rafał Miłecki <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
1 parent 366940c commit 3ba5a61

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

arch/arm64/boot/dts/mediatek/mt7622.dtsi

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -283,16 +283,14 @@
283283
};
284284
};
285285

286-
apmixedsys: apmixedsys@10209000 {
287-
compatible = "mediatek,mt7622-apmixedsys",
288-
"syscon";
286+
apmixedsys: clock-controller@10209000 {
287+
compatible = "mediatek,mt7622-apmixedsys";
289288
reg = <0 0x10209000 0 0x1000>;
290289
#clock-cells = <1>;
291290
};
292291

293-
topckgen: topckgen@10210000 {
294-
compatible = "mediatek,mt7622-topckgen",
295-
"syscon";
292+
topckgen: clock-controller@10210000 {
293+
compatible = "mediatek,mt7622-topckgen";
296294
reg = <0 0x10210000 0 0x1000>;
297295
#clock-cells = <1>;
298296
};
@@ -734,9 +732,8 @@
734732
power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
735733
};
736734

737-
ssusbsys: ssusbsys@1a000000 {
738-
compatible = "mediatek,mt7622-ssusbsys",
739-
"syscon";
735+
ssusbsys: clock-controller@1a000000 {
736+
compatible = "mediatek,mt7622-ssusbsys";
740737
reg = <0 0x1a000000 0 0x1000>;
741738
#clock-cells = <1>;
742739
#reset-cells = <1>;
@@ -793,9 +790,8 @@
793790
};
794791
};
795792

796-
pciesys: pciesys@1a100800 {
797-
compatible = "mediatek,mt7622-pciesys",
798-
"syscon";
793+
pciesys: clock-controller@1a100800 {
794+
compatible = "mediatek,mt7622-pciesys";
799795
reg = <0 0x1a100800 0 0x1000>;
800796
#clock-cells = <1>;
801797
#reset-cells = <1>;
@@ -921,12 +917,13 @@
921917
};
922918
};
923919

924-
hifsys: syscon@1af00000 {
925-
compatible = "mediatek,mt7622-hifsys", "syscon";
920+
hifsys: clock-controller@1af00000 {
921+
compatible = "mediatek,mt7622-hifsys";
926922
reg = <0 0x1af00000 0 0x70>;
923+
#clock-cells = <1>;
927924
};
928925

929-
ethsys: syscon@1b000000 {
926+
ethsys: clock-controller@1b000000 {
930927
compatible = "mediatek,mt7622-ethsys",
931928
"syscon";
932929
reg = <0 0x1b000000 0 0x1000>;

0 commit comments

Comments
 (0)