sunxi: initial 3.14 patchset
[openwrt.git] / target / linux / sunxi / patches-3.14 / 103-dt-sun5i-add-missing-serial-aliases.patch
1 From 0ffac463caf4b0022cf0d917552d51b3ec82849a Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime.ripard@free-electrons.com>
3 Date: Mon, 13 Jan 2014 11:08:47 +0100
4 Subject: [PATCH] ARM: sun5i: a13: Add missing serial aliases
5
6 Some UART aliases have been defined, but not all of them. Add the remaining
7 ones to be consistent and to ease the parsing of the DT by the bootloaders.
8
9 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
10 ---
11  arch/arm/boot/dts/sun5i-a13.dtsi | 5 +++++
12  1 file changed, 5 insertions(+)
13
14 diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi
15 index c463fd7..d8207b0 100644
16 --- a/arch/arm/boot/dts/sun5i-a13.dtsi
17 +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
18 @@ -16,6 +16,11 @@
19  / {
20         interrupt-parent = <&intc>;
21  
22 +       aliases {
23 +               serial0 = &uart1;
24 +               serial1 = &uart3;
25 +       };
26 +
27         cpus {
28                 #address-cells = <1>;
29                 #size-cells = <0>;
30 -- 
31 2.0.3
32