]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dts: riscv: spacemit: k3: Fix I/O power settings
authorYixun Lan <dlan@kernel.org>
Mon, 18 May 2026 20:58:16 +0000 (20:58 +0000)
committerYixun Lan <dlan@kernel.org>
Sat, 30 May 2026 04:03:41 +0000 (04:03 +0000)
SpacemiT K3 SoC support dual-voltage I/O power domain, while initially
configure to 3.3v, and need to access register from APBC space to switch
to 1.8v domain.

Fix the GMAC0's I/O pins 1.8v switch failure that will result a broken
ethernet driver.

Fixes: d8944577496b ("riscv: dts: spacemit: k3: add pinctrl support")
Reported-by: Han Gao <gaohan@iscas.ac.cn>
Link: https://patch.msgid.link/20260518-07-dts-pinctrl-io-power-v1-1-abe19c14a726@kernel.org
Signed-off-by: Yixun Lan <dlan@kernel.org>
arch/riscv/boot/dts/spacemit/k3.dtsi

index 223e66721bf950b60bea96bf5f807e5439ba6edd..19fc9b49668edb30e9fa751cc28a4a7510bf4a4f 100644 (file)
                        clocks = <&syscon_apbc CLK_APBC_AIB>,
                                 <&syscon_apbc CLK_APBC_AIB_BUS>;
                        clock-names = "func", "bus";
+                       spacemit,apbc = <&syscon_apbc>;
                };
 
                uart10: serial@d401f000 {