[openwrt/openwrt] airoha: fix scuclk node for an7581

LEDE Commits lede-commits at lists.infradead.org
Mon Sep 29 03:05:24 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/a30daf8a0b3f3c25a46320f5e7932d01c63301ef

commit a30daf8a0b3f3c25a46320f5e7932d01c63301ef
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Fri Sep 26 17:10:19 2025 +0200

    airoha: fix scuclk node for an7581
    
    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 at wp.pl>
    Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
    Link: https://github.com/openwrt/openwrt/pull/20190
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 target/linux/airoha/dts/an7581.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/airoha/dts/an7581.dtsi b/target/linux/airoha/dts/an7581.dtsi
index d713f35e54..af098249f9 100644
--- a/target/linux/airoha/dts/an7581.dtsi
+++ b/target/linux/airoha/dts/an7581.dtsi
@@ -490,8 +490,8 @@
 			reg = <0x0 0x1fbe3400 0x0 0xff>;
 		};
 
-		scuclk: clock-controller at 1fa20000 {
-			compatible = "airoha,en7581-scu";
+		scuclk: clock-controller at 1fb00000 {
+			compatible = "airoha,en7581-scu", "syscon";
 			reg = <0x0 0x1fb00000 0x0 0x970>;
 			#clock-cells = <1>;
 			#reset-cells = <1>;




More information about the lede-commits mailing list