]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
airoha: an7581: add airoha,chip-scu phandle to scuclk node
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tue, 7 Jul 2026 15:35:17 +0000 (17:35 +0200)
committerRobert Marko <robimarko@gmail.com>
Sat, 8 Aug 2026 09:39:30 +0000 (11:39 +0200)
The clk-en7523 driver tries to look up the chip-scu regmap via the
"airoha,chip-scu" phandle first. If absent, it falls back to a
compatible-based lookup with syscon_regmap_lookup_by_compatible().

The AN7583 DTSI already had the phandle but AN7581 did not, relying
on the fallback instead. Add it so the DT explicitly describes the
connection and both platforms use the same lookup path.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
target/linux/airoha/dts/an7581.dtsi

index b92d0a3a8b3e6eb5e8b41635b7b9c047bba53b76..fdefa82580b02e2b310913d45c59ecb85f5cc4e1 100644 (file)
                        reg = <0x0 0x1fb00000 0x0 0x970>;
                        #clock-cells = <1>;
                        #reset-cells = <1>;
+
+                       airoha,chip-scu = <&chip_scu>;
                };
 
                rng@1faa1000 {