[PATCH] dts: riscv: spacemit: k3: only keep spacemit,k1-i2c

Sandie Cao
2026-04-20T08:40:22Z

Fix dtcheck issue: compatible:0: 'spacemit,k1-i2c' was expected
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202604140259.eKDaxKua-lkp@intel.com/

Signed-off-by: Sandie Cao <sandie.cao@deepcomputing.io>
---
arch/riscv/boot/dts/spacemit/k3.dtsi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/riscv/boot/dts/spacemit/k3.dtsi b/arch/riscv/boot/dts/spacemit/k3.dtsi
index 815debd16409..9a3d2e8cdfe8 100644
--- a/arch/riscv/boot/dts/spacemit/k3.dtsi
+++ b/arch/riscv/boot/dts/spacemit/k3.dtsi
@@ -556,7 +556,7 @@ gmac2_axi_setup: stmmac-axi-config {
};

i2c0: i2c@d4010800 {
- compatible = "spacemit,k3-i2c", "spacemit,k1-i2c";
+ compatible = "spacemit,k1-i2c";
reg = <0x0 0xd4010800 0x0 0x38>;
#address-cells = <1>;
#size-cells = <0>;
@@ -570,7 +570,7 @@ i2c0: i2c@d4010800 {
};

i2c1: i2c@d4011000 {
- compatible = "spacemit,k3-i2c", "spacemit,k1-i2c";
+ compatible = "spacemit,k1-i2c";
reg = <0x0 0xd4011000 0x0 0x38>;
#address-cells = <1>;
#size-cells = <0>;
@@ -584,7 +584,7 @@ i2c1: i2c@d4011000 {
};

i2c2: i2c@d4012000 {
- compatible = "spacemit,k3-i2c", "spacemit,k1-i2c";
+ compatible = "spacemit,k1-i2c";
reg = <0x0 0xd4012000 0x0 0x38>;
#address-cells = <1>;
#size-cells = <0>;
@@ -598,7 +598,7 @@ i2c2: i2c@d4012000 {
};

i2c4: i2c@d4012800 {
- compatible = "spacemit,k3-i2c", "spacemit,k1-i2c";
+ compatible = "spacemit,k1-i2c";
reg = <0x0 0xd4012800 0x0 0x38>;
#address-cells = <1>;
#size-cells = <0>;
@@ -612,7 +612,7 @@ i2c4: i2c@d4012800 {
};

i2c5: i2c@d4013800 {
- compatible = "spacemit,k3-i2c", "spacemit,k1-i2c";
+ compatible = "spacemit,k1-i2c";
reg = <0x0 0xd4013800 0x0 0x38>;
#address-cells = <1>;
#size-cells = <0>;
@@ -752,7 +752,7 @@ uart9: serial@d4017800 {
};

i2c6: i2c@d4018800 {
- compatible = "spacemit,k3-i2c", "spacemit,k1-i2c";
+ compatible = "spacemit,k1-i2c";
reg = <0x0 0xd4018800 0x0 0x38>;
#address-cells = <1>;
#size-cells = <0>;
@@ -784,7 +784,7 @@ gpio: gpio@d4019000 {
};

i2c8: i2c@d401d800 {
- compatible = "spacemit,k3-i2c", "spacemit,k1-i2c";
+ compatible = "spacemit,k1-i2c";
reg = <0x0 0xd401d800 0x0 0x38>;
#address-cells = <1>;
#size-cells = <0>;
--
2.43.0