From: Ivaylo Dimitrov Date: Sun, 8 Feb 2015 15:48:56 +0000 (+0200) Subject: ARM: dts: n900: fix i2c bus numbering X-Git-Tag: v4.0-rc2~14^2~1^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1861cda0de66d02688a9b3cba658ff9ab847e26d;p=platform%2Fkernel%2Flinux-exynos.git ARM: dts: n900: fix i2c bus numbering With legacy boot i2c buses on Nokia N900 are numbered i2c1, i2c2 and i2c3. Commit 20b80942ef4e ("ARM: dts: OMAP3+: Add i2c aliases") fixed the numbering with DT boot, but introduced a regression on N900 - aliases become i2c0, i2c1 and i2c2. Fix that by providing the correct aliases in the board dts. Signed-off-by: Ivaylo Dimitrov Tested-by: Pali Rohár Acked-by: Nishanth Menon [tony@atomide.com: this is needed for legacy user space to work] Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 6040327..bef131d 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -16,6 +16,13 @@ model = "Nokia N900"; compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; + aliases { + i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; + }; + cpus { cpu@0 { cpu0-supply = <&vcc>;