From: Ben Zong-You Xie <ben717@andestech.com>
Add the I2C node to QiLai DTS.
Signed-off-by: Ben Zong-You Xie <ben717@andestech.com>
---
arch/riscv/boot/dts/andes/qilai.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/riscv/boot/dts/andes/qilai.dtsi b/arch/riscv/boot/dts/andes/qilai.dtsi
index de3de32f8c39..8b40f4d7f8d5 100644
--- a/arch/riscv/boot/dts/andes/qilai.dtsi
+++ b/arch/riscv/boot/dts/andes/qilai.dtsi
@@ -182,5 +182,12 @@ uart0: serial@30300000 {
reg-io-width = <4>;
no-loopback-test;
};
+
+ i2c: i2c@30800000 {
+ compatible = "andestech,qilai-i2c",
+ "andestech,ae350-i2c";
+ reg = <0x0 0x30800000 0x0 0x100000>;
+ interrupts = <6 IRQ_TYPE_LEVEL_HIGH>;
+ };
};
};
--
2.34.1