[PATCH 4/4] riscv: dts: andes: qilai: add I2C controller

Ben Zong-You Xie ben717 at andestech.com
Thu Jan 15 06:52:44 PST 2026


Add the I2C node to QiLai DTS.

Signed-off-by: Ben Zong-You Xie <ben717 at andestech.com>
---
 arch/riscv/boot/dts/andes/qilai.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/riscv/boot/dts/andes/qilai.dtsi b/arch/riscv/boot/dts/andes/qilai.dtsi
index de3de32f8c39..aef641f02a53 100644
--- a/arch/riscv/boot/dts/andes/qilai.dtsi
+++ b/arch/riscv/boot/dts/andes/qilai.dtsi
@@ -182,5 +182,11 @@ uart0: serial at 30300000 {
 			reg-io-width = <4>;
 			no-loopback-test;
 		};
+
+		i2c: i2c at 30800000 {
+			compatible = "andestech,qilai-i2c","andestech,atciic100";
+			reg = <0x0 0x30800000 0x0 0x100000>;
+			interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
+		};
 	};
 };
-- 
2.34.1




More information about the linux-riscv mailing list