Skip to content

Commit 697b397

Browse files
knaerzchemmind
authored andcommitted
ARM: dts: rockchip: Move i2c aliases to SoC dtsi for RK3128
SoC TRM, SoC datasheet and board schematics always refer to the same i2c numbers - even if not all are used for a specific board. In order to not have to re-define them for every board move the aliases to SoC dtsi for RK3128 like it's being done for all other Rockchip ARM SoCs. Signed-off-by: Alex Bee <knaerzche@gmail.com> Link: https://lore.kernel.org/r/20231202130506.66738-4-knaerzche@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 5ca860f commit 697b397

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

arch/arm/boot/dts/rockchip/rk3128-evb.dts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
compatible = "rockchip,rk3128-evb", "rockchip,rk3128";
1313

1414
aliases {
15-
i2c1 = &i2c1;
1615
mmc0 = &emmc;
1716
};
1817

arch/arm/boot/dts/rockchip/rk3128.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
gpio1 = &gpio1;
2222
gpio2 = &gpio2;
2323
gpio3 = &gpio3;
24+
i2c0 = &i2c0;
25+
i2c1 = &i2c1;
26+
i2c2 = &i2c2;
27+
i2c3 = &i2c3;
2428
};
2529

2630
arm-pmu {

0 commit comments

Comments
 (0)