diff mbox series

ARM: dts: at91: sama5d27_wlsom1: Add alias for i2c0

Message ID 20200413140922.154886-1-tudor.ambarus@microchip.com (mailing list archive)
State Mainlined
Commit e1e2662036c01acc1418942d8febe0e726624669
Headers show
Series ARM: dts: at91: sama5d27_wlsom1: Add alias for i2c0 | expand

Commit Message

Tudor Ambarus April 13, 2020, 2:09 p.m. UTC
From: Tudor Ambarus <tudor.ambarus@microchip.com>

wlsom1 has an ATECC608A-TNGTLS Secure Element connected on the i2c0
bus. Add alias for the i2c device to not rely on probe order for the
i2c device numbering.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
 arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Alexandre Belloni April 14, 2020, 11:17 a.m. UTC | #1
On 13/04/2020 14:09:25+0000, Tudor.Ambarus@microchip.com wrote:
> From: Tudor Ambarus <tudor.ambarus@microchip.com>
> 
> wlsom1 has an ATECC608A-TNGTLS Secure Element connected on the i2c0
> bus. Add alias for the i2c device to not rely on probe order for the
> i2c device numbering.
> 
> Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
> ---
>  arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi b/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
index db3e2239eee8..bea3d60b9722 100644
--- a/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
+++ b/arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi
@@ -17,6 +17,10 @@ 
 	model = "Microchip SAMA5D27 WLSOM1";
 	compatible = "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
 
+	aliases {
+		i2c0 = &i2c0;
+	};
+
 	clocks {
 		slow_xtal {
 			clock-frequency = <32768>;