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

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 10 09:35:50 PST 2025


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/c56fbe156ed9e4cf71aef5bf816d4b46f1b660c0

commit c56fbe156ed9e4cf71aef5bf816d4b46f1b660c0
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>
    (cherry picked from commit a30daf8a0b3f3c25a46320f5e7932d01c63301ef)
---
 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 1154cadd15..c00119cf2f 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