]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c
authorLudovic Desroches <ludovic.desroches@microchip.com>
Tue, 10 Oct 2017 10:09:40 +0000 (13:09 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 10 Oct 2017 13:26:19 +0000 (15:26 +0200)
Add aliases for i2c devices to not rely on probe order for i2c device
numbering.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
[claudiu.beznea@microchip.com: remove i2c0, change subject]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts

index 6e85a96cc8132814d75c4febe21c4692c027182a..4fcfc2ae662faf6fd587707f17e26e51c4adf422 100644 (file)
@@ -57,6 +57,8 @@ aliases {
                serial0 = &uart1;       /* DBGU */
                serial1 = &uart4;       /* mikro BUS 1 */
                serial2 = &uart2;       /* mikro BUS 2 */
+               i2c1    = &i2c1;
+               i2c2    = &i2c2;
        };
 
        chosen {