airoha: fix scuclk node for an7581
authorAleksander Jan Bajkowski <olek2@wp.pl>
Fri, 26 Sep 2025 15:10:19 +0000 (17:10 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 10 Nov 2025 16:48:34 +0000 (17:48 +0100)
Add missing syscon compatible for scuclk node.
Fix the unit-address of the scuclk node.
This fixes the pcs driver error:

airoha-pcs 1fa08000.pcs: probe with driver airoha-pcs failed with error -22
airoha-pcs 1fa09000.pcs: probe with driver airoha-pcs failed with error -22

Fixes: c3d70b1 ("airoha: en7581: Add support for external PHY")
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/openwrt/pull/20190
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit a30daf8a0b3f3c25a46320f5e7932d01c63301ef)

target/linux/airoha/dts/an7581.dtsi

index 1154cadd1562b71bcc4bd68acc2f527f32f94c94..c00119cf2f14cc0dbcca7f8983a610dff438db63 100644 (file)
                        reg = <0x0 0x1fbe3400 0x0 0xff>;
                };
 
-               scuclk: clock-controller@1fa20000 {
-                       compatible = "airoha,en7581-scu";
+               scuclk: clock-controller@1fb00000 {
+                       compatible = "airoha,en7581-scu", "syscon";
                        reg = <0x0 0x1fb00000 0x0 0x970>;
                        #clock-cells = <1>;
                        #reset-cells = <1>;