summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/rockchip/rv1126.dtsi
diff options
context:
space:
mode:
authorTim Lunn <tim@feathertop.org>2023-12-03 13:40:00 +0100
committerHeiko Stuebner <heiko@sntech.de>2023-12-05 09:20:44 +0100
commitb1ed25667f5f88531bcb51f3683029693e7a9b8c (patch)
treea00f7ebc71aa26552253274dc213830b80027e72 /arch/arm/boot/dts/rockchip/rv1126.dtsi
parentARM: dts: rockchip: Serial aliases for rv1126 (diff)
downloadlinux-b1ed25667f5f88531bcb51f3683029693e7a9b8c.tar.xz
linux-b1ed25667f5f88531bcb51f3683029693e7a9b8c.zip
ARM: dts: rockchip: Add i2c2 node to rv1126
Add i2c2 node and i2c2_xfer pinctrl for Rockchip RV1126 Signed-off-by: Tim Lunn <tim@feathertop.org> Link: https://lore.kernel.org/r/20231203124004.2676174-5-tim@feathertop.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rockchip/rv1126.dtsi')
-rw-r--r--arch/arm/boot/dts/rockchip/rv1126.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rockchip/rv1126.dtsi b/arch/arm/boot/dts/rockchip/rv1126.dtsi
index adb11a43c5db..bb603cae13df 100644
--- a/arch/arm/boot/dts/rockchip/rv1126.dtsi
+++ b/arch/arm/boot/dts/rockchip/rv1126.dtsi
@@ -21,6 +21,7 @@
aliases {
i2c0 = &i2c0;
+ i2c2 = &i2c2;
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
@@ -237,6 +238,20 @@
status = "disabled";
};
+ i2c2: i2c@ff400000 {
+ compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c";
+ reg = <0xff400000 0x1000>;
+ interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+ rockchip,grf = <&pmugrf>;
+ clocks = <&pmucru CLK_I2C2>, <&pmucru PCLK_I2C2>;
+ clock-names = "i2c", "pclk";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c2_xfer>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
uart1: serial@ff410000 {
compatible = "rockchip,rv1126-uart", "snps,dw-apb-uart";
reg = <0xff410000 0x100>;