[linux] ARM: dts: aspeed: zaius: Add aliases for I2C buses
Joel Stanley
joel at jms.id.au
Fri Jun 16 15:47:29 AEST 2017
Hey Xo,
For some reason I didn't get this mail from you. Luckily I saw it in patchwork.
On Thu, Jun 8, 2017 at 3:04 AM, Xo Wang <xow at google.com> wrote:
> 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
>
> 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 {
More information about the openbmc
mailing list