]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: dts: spacemit: uart: remove sec_uart1 device node
authorYixun Lan <dlan@gentoo.org>
Tue, 2 Sep 2025 12:26:58 +0000 (20:26 +0800)
committerYixun Lan <dlan@gentoo.org>
Thu, 4 Sep 2025 00:50:29 +0000 (08:50 +0800)
sec_uart1 is not available from Linux, and no clock is implemented in
CCF framework, thus 'make dtbs_check' will pop up this warning message:

  serial@f0612000: 'clock-names' is a required property

Removing the node from device tree to silence the DT check warning.

Link: https://lore.kernel.org/r/20250902-02-k1-uart-clock-v2-1-f146918d44f6@gentoo.org
Signed-off-by: Yixun Lan <dlan@gentoo.org>
arch/riscv/boot/dts/spacemit/k1.dtsi

index 19dc9c94e5b51f2cd6cc068950663e451b87a8a1..66b33a9110ccd64e8f0c47c067a63a90db573f46 100644 (file)
                                status = "disabled";
                        };
 
-                       sec_uart1: serial@f0612000 {
-                               compatible = "spacemit,k1-uart",
-                                            "intel,xscale-uart";
-                               reg = <0x0 0xf0612000 0x0 0x100>;
-                               interrupts = <43>;
-                               clock-frequency = <14857000>;
-                               reg-shift = <2>;
-                               reg-io-width = <4>;
-                               status = "reserved"; /* for TEE usage */
-                       };
+                       /* sec_uart1: 0xf0612000, not available from Linux */
                };
 
                multimedia-bus {