[PATCH V2] ARM: dts: da850-evm: add chosen and SPI alias

Adam Ford aford173 at gmail.com
Mon Sep 4 15:12:04 PDT 2017


This patch will add the chosen container to point stdout-path to serial2
and set the alias for spi0 to spi1 since the SPI NOR flash exists on SPI1.

Suggested-by: Sekhar Nori <nsekhar at ti.com>
Signed-off-by: Adam Ford <aford173 at gmail.com>
---
Changes in V2:
  Reword the comment code without any actual change to the code.

Requires pending patch ("ARM: dts: da850-evm: add serial and ethernet aliases")

diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
index c755079..3962fa4 100644
--- a/arch/arm/boot/dts/da850-evm.dts
+++ b/arch/arm/boot/dts/da850-evm.dts
@@ -15,11 +15,16 @@
 	compatible = "ti,da850-evm", "ti,da850";
 	model = "DA850/AM1808/OMAP-L138 EVM";
 
+	chosen {
+		stdout-path = &serial2;
+	};
+
 	aliases {
 		serial0 = &serial0;
 		serial1 = &serial1;
 		serial2 = &serial2;
 		ethernet0 = &eth0;
+		spi0 = &spi1;
 	};
 
 	soc at 1c00000 {
-- 
2.7.4




More information about the linux-arm-kernel mailing list