[U-Boot] [PATCH 09/15] arm64: mvebu: armada-8040-db.dts: Add I2C and SPI aliases
Stefan Roese
sr at denx.de
Tue Nov 15 10:08:25 CET 2016
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 at denx.de>
Cc: Nadav Haklai <nadavh at marvell.com>
Cc: Neta Zur Hershkovits <neta at marvell.com>
Cc: Kostya Porotchkin <kostap at marvell.com>
Cc: Omri Itach <omrii at marvell.com>
Cc: Igal Liberman <igall at marvell.com>
Cc: Haim Boot <hayim at marvell.com>
Cc: Hanna Hawa <hannah at marvell.com>
---
arch/arm/dts/armada-8040-db.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/armada-8040-db.dts b/arch/arm/dts/armada-8040-db.dts
index 4978092..7fb674b 100644
--- a/arch/arm/dts/armada-8040-db.dts
+++ b/arch/arm/dts/armada-8040-db.dts
@@ -55,6 +55,11 @@
stdout-path = "serial0:115200n8";
};
+ aliases {
+ i2c0 = &cpm_i2c0;
+ spi0 = &spi0;
+ };
+
memory at 00000000 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
--
2.10.2
More information about the U-Boot
mailing list