ARM: dts: at91: sama5d27_wlsom1: Add alias for i2c0
authorTudor Ambarus <tudor.ambarus@microchip.com>
Mon, 13 Apr 2020 14:09:25 +0000 (14:09 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 14 Apr 2020 11:16:58 +0000 (13:16 +0200)
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>
Link: https://lore.kernel.org/r/20200413140922.154886-1-tudor.ambarus@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi

index db3e2239eee8f824a6ae893745c86243ef5d6626..bea3d60b9722e6be9ac4bb4155b69e41c63d093b 100644 (file)
        model = "Microchip SAMA5D27 WLSOM1";
        compatible = "microchip,sama5d27-wlsom1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
 
+       aliases {
+               i2c0 = &i2c0;
+       };
+
        clocks {
                slow_xtal {
                        clock-frequency = <32768>;