Skip to contentSkip to conversation

Enable DM_SERIAL for dra74x evm

PATCH New Mugunthan V N 3 participants 7 messages Nov 26, 2015 – Dec 6, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover Enable DM_SERIAL for dra74x evm

DM_SERIAL is not enabled for dra74x evm, enabling it and tested on dra74x evm. Logs [1].

[1] - http://pastebin.ubuntu.com/13513965/

Mugunthan V N (2):
arm: dts: dra7-evm: add chosen node to specify serial console device
defconfig: dra74_evm: enable serial driver model

 arch/arm/dts/dra7-evm.dts   | 4 ++++
 configs/dra74_evm_defconfig | 1 +
 2 files changed, 5 insertions(+)
Signature · 1 line
2.6.2.280.g74301d6
#1 lore raw

PATCH 1/2 arm: dts: dra7-evm: add chosen node to specify serial console device

Introduce chosen node and specify uart0 to be used as serial console.

---
 arch/arm/dts/dra7-evm.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/dts/dra7-evm.dts +4 -0
index 096f68b..e4daa99 100644
@@ -14,6 +14,10 @@
 	model = "TI DRA742";
 	compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7";
 
+	chosen {
+		stdout-path = &uart1;
+	};
+
 	memory {
 		device_type = "memory";
 		reg = <0x80000000 0x60000000>; /* 1536 MB */
Signature · 1 line
2.6.2.280.g74301d6
#3 lore raw

PATCH 1/2 arm: dts: dra7-evm: add chosen node to specify serial console device

In reply to Mugunthan V N
Quoted 4 lines · Mugunthan V N

Introduce chosen node and specify uart0 to be used as serial console.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151206/455dd583/attachment.sig>
#4 lore raw

PATCH 2/2 defconfig: dra74_evm: enable serial driver model

In reply to Mugunthan V N

Enable serial driver model for dra74_evm as ns16550 supports driver model.

---
 configs/dra74_evm_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/dra74_evm_defconfig +1 -0
index 7bff294..394edbe 100644
@@ -16,5 +16,6 @@ CONFIG_DM=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
 CONFIG_TI_QSPI=y
Signature · 1 line
2.6.2.280.g74301d6
#6 lore raw

PATCH 2/2 defconfig: dra74_evm: enable serial driver model

In reply to Mugunthan V N
Quoted 5 lines · Mugunthan V N

Enable serial driver model for dra74_evm as ns16550 supports driver model.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151206/b7764016/attachment.sig>