ARM: tegra: add serial aliases to Tegra124 DT
Subsystems (2)
PATCH 1/1 ARM: tegra: add serial aliases to Tegra124 DT
Provides consistent numbering of consoles across boards.
Signed-off-by Lucas Stach <[email protected]>
---
These aliases are already present in the base DTs for all other Tegra SoCs.
--- arch/arm/boot/dts/tegra124.dtsi | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)
arch/arm/boot/dts/tegra124.dtsi +11 -4
@@ -12,6 +12,13 @@ #address-cells = <2>; #size-cells = <2>; + aliases { + serial0 = &uarta; + serial1 = &uartb; + serial2 = &uartc; + serial3 = &uartd; + }; + pcie-controller at 0,01003000 { compatible = "nvidia,tegra124-pcie"; device_type = "pci";
@@ -286,7 +293,7 @@ * the APB DMA based serial driver, the comptible is * "nvidia,tegra124-hsuart", "nvidia,tegra30-hsuart". */ - serial at 0,70006000 { + uarta: serial at 0,70006000 { compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; reg = <0x0 0x70006000 0x0 0x40>; reg-shift = <2>;
@@ -299,7 +306,7 @@ status = "disabled"; }; - serial at 0,70006040 { + uartb: serial at 0,70006040 { compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; reg = <0x0 0x70006040 0x0 0x40>; reg-shift = <2>;
@@ -312,7 +319,7 @@ status = "disabled"; }; - serial at 0,70006200 { + uartc: serial at 0,70006200 { compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; reg = <0x0 0x70006200 0x0 0x40>; reg-shift = <2>;
@@ -325,7 +332,7 @@ status = "disabled"; }; - serial at 0,70006300 { + uartd: serial at 0,70006300 { compatible = "nvidia,tegra124-uart", "nvidia,tegra20-uart"; reg = <0x0 0x70006300 0x0 0x40>; reg-shift = <2>;
Signature · 1 line
1.9.3
Thierry Reding
AppliedPATCH 1/1 ARM: tegra: add serial aliases to Tegra124 DT
Quoted 9 lines · Lucas Stach
Provides consistent numbering of consoles across boards.
Signed-off-by Lucas Stach <[email protected]>---
These aliases are already present in the base DTs for all other Tegra SoCs.--- arch/arm/boot/dts/tegra124.dtsi | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)
Applied to the for-3.19/dt branch, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20141106/f44fb056/attachment.sig>