Skip to content

Commit fa7a136

Browse files
committed
ARM: dts: at91: sama5d2_xplained: Add aliases for the dedicated I2C IPs
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>
1 parent d80610a commit fa7a136

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sama5d2_xplained.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
1919

2020
aliases {
21+
i2c0 = &i2c0;
22+
i2c1 = &i2c1;
2123
i2c2 = &i2c2; /* XPRO EXT2 */
2224
};
2325

0 commit comments

Comments
 (0)