mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
ARM: dts: rockchip: Add i2c3 node for RV1126
Add i2c3 node and possible pinctrl for Rockchip RV1126 Signed-off-by: Karthikeyan Krishnasamy <karthikeyan@linumiz.com> Link: https://lore.kernel.org/r/20240903105245.715899-2-karthikeyan@linumiz.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
0296f20c72
commit
15db79e0bd
|
|
@ -97,6 +97,32 @@ i2c2_xfer: i2c2-xfer {
|
|||
<0 RK_PC3 1 &pcfg_pull_none_drv_level_0_smt>;
|
||||
};
|
||||
};
|
||||
i2c3 {
|
||||
/omit-if-no-ref/
|
||||
i2c3m0_xfer: i2c3m0-xfer {
|
||||
rockchip,pins =
|
||||
/* i2c3_scl_m0 */
|
||||
<3 RK_PA4 5 &pcfg_pull_none>,
|
||||
/* i2c3_sda_m0 */
|
||||
<3 RK_PA5 5 &pcfg_pull_none>;
|
||||
};
|
||||
/omit-if-no-ref/
|
||||
i2c3m1_xfer: i2c3m1-xfer {
|
||||
rockchip,pins =
|
||||
/* i2c3_scl_m1 */
|
||||
<2 RK_PD4 7 &pcfg_pull_none>,
|
||||
/* i2c3_sda_m1 */
|
||||
<2 RK_PD5 7 &pcfg_pull_none>;
|
||||
};
|
||||
/omit-if-no-ref/
|
||||
i2c3m2_xfer: i2c3m2-xfer {
|
||||
rockchip,pins =
|
||||
/* i2c3_scl_m2 */
|
||||
<1 RK_PD6 3 &pcfg_pull_none>,
|
||||
/* i2c3_sda_m2 */
|
||||
<1 RK_PD7 3 &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
pwm2 {
|
||||
/omit-if-no-ref/
|
||||
pwm2m0_pins: pwm2m0-pins {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ / {
|
|||
aliases {
|
||||
i2c0 = &i2c0;
|
||||
i2c2 = &i2c2;
|
||||
i2c3 = &i2c3;
|
||||
serial0 = &uart0;
|
||||
serial1 = &uart1;
|
||||
serial2 = &uart2;
|
||||
|
|
@ -308,6 +309,20 @@ dmac: dma-controller@ff4e0000 {
|
|||
clock-names = "apb_pclk";
|
||||
};
|
||||
|
||||
i2c3: i2c@ff520000 {
|
||||
compatible = "rockchip,rv1126-i2c", "rockchip,rk3399-i2c";
|
||||
reg = <0xff520000 0x1000>;
|
||||
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cru CLK_I2C3>, <&cru PCLK_I2C3>;
|
||||
clock-names = "i2c", "pclk";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c3m0_xfer>;
|
||||
rockchip,grf = <&pmugrf>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pwm11: pwm@ff550030 {
|
||||
compatible = "rockchip,rv1126-pwm", "rockchip,rk3328-pwm";
|
||||
reg = <0xff550030 0x10>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user