[PATCH linux] ARM: dts: aspeed: zaius: Add aliases for I2C buses
Xo Wang
xow at google.com
Thu Jun 8 03:34:00 AEST 2017
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.
Signed-off-by: Xo Wang <xow at google.com>
---
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index 68baf3288263..353613344ea9 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
@@ -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 {
--
2.13.1.508.gb3defc5cc-goog
More information about the openbmc
mailing list