ARM: dts: at91: sama5d2_xplained: Add aliases for the dedicated I2C IPs
authorTudor Ambarus <tudor.ambarus@microchip.com>
Mon, 18 May 2020 11:49:21 +0000 (11:49 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 May 2020 14:51:58 +0000 (16:51 +0200)
The sama5d2 SoC has two dedicated I2C IPs that are enabled on
sama5d2_xplained. Add alias for the i2c devices to not rely on
probe order for the i2c device numbering.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20200518114802.253660-1-tudor.ambarus@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-sama5d2_xplained.dts

index 851b858..a927165 100644 (file)
@@ -18,6 +18,8 @@
 
        aliases {
                serial0 = &uart1;       /* DBGU */
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
                i2c2 = &i2c2;           /* XPRO EXT2 */
        };