ARM: dts: aspeed: zaius: Add aliases for I2C buses
Subsystems (2)
PATCH 1/1 ARM: dts: aspeed: zaius: Add aliases for I2C buses
Make numbering for I2C buses consistent across boots by assigning aliases to all the bus blocks in the peripheral, including the ones that are currently disabled. This way, Linux reserves bus numbers for buses that are disabled, instead of filling in those number gaps with logical I2C buses from muxes.
--- arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +14 -0
@@ -9,6 +9,20 @@ aliases { serial4 = &uart5; + i2c0 = &i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; + i2c4 = &i2c4; + i2c5 = &i2c5; + i2c6 = &i2c6; + i2c7 = &i2c7; + i2c8 = &i2c8; + i2c9 = &i2c9; + i2c10 = &i2c10; + i2c11 = &i2c11; + i2c12 = &i2c12; + i2c13 = &i2c13; }; chosen {
Signature · 1 line
2.13.1.508.gb3defc5cc-goog
Joel Stanley
maintainerHey Xo,
For some reason I didn't get this mail from you. Luckily I saw it in patchwork.
Quoted 5 lines · Xo Wang
Make numbering for I2C buses consistent across boots by assigning aliases to all the bus blocks in the peripheral, including the ones that are currently disabled. This way, Linux reserves bus numbers for buses that are disabled, instead of filling in those number gaps with logical I2C buses from muxes.
Thanks for the change. We already set these aliases in aspeed-g5.dtsi, so you shouldn't need this patch.
Cheers,
Joel
Quoted 31 lines
Signed-off-by Xo Wang <[email protected]>--- arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts +14
-0@@ -9,6 +9,20 @@ aliases { serial4 = &uart5; + i2c0 = &i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; + i2c4 = &i2c4; + i2c5 = &i2c5; + i2c6 = &i2c6; + i2c7 = &i2c7; + i2c8 = &i2c8; + i2c9 = &i2c9; + i2c10 = &i2c10; + i2c11 = &i2c11; + i2c12 = &i2c12; + i2c13 = &i2c13; }; chosen {