linux/arch/mips/boot/dts
Paul Burton c11e3b48db MIPS: SEAD3: Probe UARTs using DT
Probe the UARTs on SEAD3 boards using device tree rather than platform
code, in order to reduce the amount of the latter. This requires that
CONFIG_SERIAL_OF_PLATFORM be enabled, so enable it in sead3_defconfig.
The SEAD3 DT shim code is extended to read bootloader environment
variables to determine the appropriate UART & mode for kernel console
output & set the stdout-path property of the chosen node accordingly.

In contrast to the old platform code, which appears to have only ever
set "console=ttyS0,38400n8r" with the code in console_config never
having an effect, this will honor the "yamontty" environment variable to
select between the 2 UARTs on the board and then check the "modetty0" or
"modetty1" variable as appropriate to determine the UART configuration.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14048/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-10-05 01:31:20 +02:00
..
brcm MIPS: BMIPS: Add device tree example for BCM6362 2016-10-04 16:13:57 +02:00
cavium-octeon MIPS: Octeon: Add DTS for D-Link DSR-500N. 2016-10-04 16:13:57 +02:00
include MIPS: Fix invalid symbolic link file 2013-09-19 17:04:35 +02:00
ingenic MIPS: devicetree: fix cpu interrupt controller node-names 2016-05-28 12:35:12 +02:00
lantiq pinctrl/lantiq: update devicetree binding in dts file 2016-05-13 14:01:59 +02:00
mti MIPS: SEAD3: Probe UARTs using DT 2016-10-05 01:31:20 +02:00
netlogic MIPS: Netlogic: add device tree entry for XLP GPIO 2015-09-03 12:08:03 +02:00
pic32 MIPS: dts: pic32: Update dts to reflect new PIC32MZDA clk binding 2016-05-13 15:30:25 +02:00
qca MIPS: ath79: add initial support for DPT-Module 2016-05-13 14:01:47 +02:00
ralink MIPS: devicetree: fix cpu interrupt controller node-names 2016-05-28 12:35:12 +02:00
xilfpga MIPS: devicetree: fix cpu interrupt controller node-names 2016-05-28 12:35:12 +02:00
Makefile MIPS: dts: Add initial DTS for the PIC32MZDA Starter Kit 2016-01-24 02:54:00 +01:00