Commit af4c271c33d25ff3e6fe9fe998d703ee9a2f3f29

Authored by Stefan Roese
1 parent 92fdaf0c80

arm64: mvebu: armada-8040-db.dts: Add I2C and SPI aliases

Add I2C and SPI aliases to enable usage in U-Boot. Otherwise U-Boot will
not be able to use the SPI NOR chip for environment storage and use
"i2c dev 0" to select this I2C bus.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Neta Zur Hershkovits <neta@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Omri Itach <omrii@marvell.com>
Cc: Igal Liberman <igall@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>

Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff

arch/arm/dts/armada-8040-db.dts
... ... @@ -55,6 +55,11 @@
55 55 stdout-path = "serial0:115200n8";
56 56 };
57 57  
  58 + aliases {
  59 + i2c0 = &cpm_i2c0;
  60 + spi0 = &spi0;
  61 + };
  62 +
58 63 memory@00000000 {
59 64 device_type = "memory";
60 65 reg = <0x0 0x0 0x0 0x80000000>;