]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: i.MX25: Add i2c and spi aliases
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 25 Jun 2013 13:51:53 +0000 (15:51 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 15 Jul 2013 01:26:20 +0000 (09:26 +0800)
This allows to order the i2c and spi devices correctly.
While at it reorder the aliases entries alphabetically.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx25.dtsi

index a918b2387ac0d4361c99dd16392d881652bc1701..f5904844ab44ff73b70fc923e577daba4da42c48 100644 (file)
 
 / {
        aliases {
+               gpio0 = &gpio1;
+               gpio1 = &gpio2;
+               gpio2 = &gpio3;
+               gpio3 = &gpio4;
+               i2c0 = &i2c1;
+               i2c1 = &i2c2;
+               i2c2 = &i2c3;
                serial0 = &uart1;
                serial1 = &uart2;
                serial2 = &uart3;
                serial3 = &uart4;
                serial4 = &uart5;
-               gpio0 = &gpio1;
-               gpio1 = &gpio2;
-               gpio2 = &gpio3;
-               gpio3 = &gpio4;
+               spi0 = &spi1;
+               spi1 = &spi2;
+               spi2 = &spi3;
                usb0 = &usbotg;
                usb1 = &usbhost1;
        };