sunxi: driver refresh for 3.13 - update gmac / mmc / usb / ahci drivers to follow...
[openwrt/openwrt.git] / target / linux / sunxi / patches-3.13 / 240-3-dt-sun5i-a13-add-missing-serial-aliases.patch
1 From 0cc774ef2524ec54e9d2db8771ba3739cb8ebc99 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 320335a..6de40b6 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 1.8.5.5
32