ARM: sun4i: a10: Add missing serial aliases
Subsystems (2)
PATCH 1/5 ARM: sun4i: a10: Add missing serial aliases
Some UART aliases have been defined, but not all of them. Add the remaining ones to be consistent and to ease the parsing of the DT by the bootloaders.
--- arch/arm/boot/dts/sun4i-a10.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/sun4i-a10.dtsi +6 -0
@@ -19,6 +19,12 @@ ethernet0 = &emac; serial0 = &uart0; serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + serial4 = &uart4; + serial5 = &uart5; + serial6 = &uart6; + serial7 = &uart7; }; cpus {
Signature · 1 line
1.8.4.2
PATCH 2/5 ARM: sun5i: a10s: Add missing serial aliases
Some UART aliases have been defined, but not all of them. Add the remaining ones to be consistent and to ease the parsing of the DT by the bootloaders.
--- arch/arm/boot/dts/sun5i-a10s.dtsi | 4 ++++ 1 file changed, 4 insertions(+)
arch/arm/boot/dts/sun5i-a10s.dtsi +4 -0
@@ -18,6 +18,10 @@ aliases { ethernet0 = &emac; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; }; cpus {
Signature · 1 line
1.8.4.2
PATCH 3/5 ARM: sun5i: a13: Add missing serial aliases
In reply to Maxime RipardSome UART aliases have been defined, but not all of them. Add the remaining ones to be consistent and to ease the parsing of the DT by the bootloaders.
--- arch/arm/boot/dts/sun5i-a13.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/boot/dts/sun5i-a13.dtsi +5 -0
@@ -16,6 +16,11 @@ / { interrupt-parent = <&intc>; + aliases { + serial1 = &uart1; + serial3 = &uart3; + }; + cpus { #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
1.8.4.2
PATCH 3/5 ARM: sun5i: a13: Add missing serial aliases
arch/arm/boot/dts/sun5i-a13.dtsi line 23
Quoted 5 lines · Maxime Ripard
arch/arm/boot/dts/sun5i-a13.dtsi +5
-0+ aliases { + serial1 = &uart1; + serial3 = &uart3; + }; +
If you only have two uarts active, shouldn't they be aliases serial0 and serial1?
Arnd
PATCH 3/5 ARM: sun5i: a13: Add missing serial aliases
Hi Arnd,
Quoted 9 lines · Arnd Bergmann
arch/arm/boot/dts/sun5i-a13.dtsi line 23
Quoted 5 lines · Maxime Ripard
arch/arm/boot/dts/sun5i-a13.dtsi +5
-0+ aliases { + serial1 = &uart1; + serial3 = &uart3; + }; +If you only have two uarts active, shouldn't they be aliases serial0 and serial1?
Ah, yep, right.
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140107/37d38299/attachment.sig>
PATCH 4/5 ARM: sun6i: Add missing serial aliases
In reply to Maxime RipardSome UART aliases have been defined, but not all of them. Add the remaining ones to be consistent and to ease the parsing of the DT by the bootloaders.
--- arch/arm/boot/dts/sun6i-a31.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm/boot/dts/sun6i-a31.dtsi +10 -0
@@ -16,6 +16,16 @@ / { interrupt-parent = <&gic>; + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + serial4 = &uart4; + serial5 = &uart5; + }; + + cpus { #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
1.8.4.2
PATCH 5/5 ARM: sun7i: Add missing serial aliases
In reply to Maxime RipardSome UART aliases have been defined, but not all of them. Add the remaining ones to be consistent and to ease the parsing of the DT by the bootloaders.
--- arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/sun7i-a20.dtsi +8 -0
@@ -18,6 +18,14 @@ aliases { ethernet0 = &emac; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + serial4 = &uart4; + serial5 = &uart5; + serial6 = &uart6; + serial7 = &uart7; }; cpus {
Signature · 1 line
1.8.4.2