Skip to contentSkip to conversation

ARM: dts: at91: sama5d2_xplained: Add aliases for the dedicated I2C IPs

PATCH Applied [email protected] 2 participants 2 messages May 18, 2020 – May 19, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: at91: sama5d2_xplained: Add aliases for the dedicated I2C IPs

From: Tudor Ambarus <[email protected]>

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.

---
 arch/arm/boot/dts/at91-sama5d2_xplained.dts | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/at91-sama5d2_xplained.dts +2 -0
index 851b8587068b..a927165ea7c2 100644
@@ -18,6 +18,8 @@
 
 	aliases {
 		serial0 = &uart1;	/* DBGU */
+		i2c0 = &i2c0;
+		i2c1 = &i2c1;
 		i2c2 = &i2c2;		/* XPRO EXT2 */
 	};
 
Signature · 1 line
2.23.0
maintainer Applied
#1 lore raw
Quoted 11 lines · On 18/05/2020 11:49:21+0000, [email protected] wrote:

From: Tudor Ambarus <[email protected]>

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.

---
 arch/arm/boot/dts/at91-sama5d2_xplained.dts | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com