Message ID | 1388945627-3432-3-git-send-email-maxime.ripard@free-electrons.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sunday 05 January 2014, Maxime Ripard wrote: > + aliases { > + serial1 = &uart1; > + serial3 = &uart3; > + }; > + If you only have two uarts active, shouldn't they be aliases serial0 and serial1? Arnd
Hi Arnd, On Mon, Jan 06, 2014 at 01:47:57PM +0100, Arnd Bergmann wrote: > On Sunday 05 January 2014, Maxime Ripard wrote: > > + 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
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi index 320335a..15d66ac 100644 --- a/arch/arm/boot/dts/sun5i-a13.dtsi +++ b/arch/arm/boot/dts/sun5i-a13.dtsi @@ -16,6 +16,11 @@ / { interrupt-parent = <&intc>; + aliases { + serial1 = &uart1; + serial3 = &uart3; + }; + cpus { #address-cells = <1>; #size-cells = <0>;
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. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> --- arch/arm/boot/dts/sun5i-a13.dtsi | 5 +++++ 1 file changed, 5 insertions(+)