v1.5 branch refresh based upon upstream master @ c8677ca89e53e3be7988d54280fce166cc894a7e
[librecmc/librecmc.git] / target / linux / sunxi / patches-4.9 / 0014-arm64-dts-allwinner-sort-the-nodes-in-sun50i-a64-pin.patch
1 From ac93c09cdbaf1229c21f67a5db1c3c6df7d503e5 Mon Sep 17 00:00:00 2001
2 From: Icenowy Zheng <icenowy@aosc.xyz>
3 Date: Tue, 22 Nov 2016 23:58:30 +0800
4 Subject: arm64: dts: allwinner: sort the nodes in sun50i-a64-pine64.dts
5
6 In this dts file, uart0 node is put before i2c1.
7
8 Move the uart0 node to the end to satisfy alphebetical order.
9
10 Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
11 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
12 ---
13  arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 12 ++++++------
14  1 file changed, 6 insertions(+), 6 deletions(-)
15
16 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
17 +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
18 @@ -57,12 +57,6 @@
19         };
20  };
21  
22 -&uart0 {
23 -       pinctrl-names = "default";
24 -       pinctrl-0 = <&uart0_pins_a>;
25 -       status = "okay";
26 -};
27 -
28  &i2c1 {
29         pinctrl-names = "default";
30         pinctrl-0 = <&i2c1_pins>;
31 @@ -72,3 +66,9 @@
32  &i2c1_pins {
33         bias-pull-up;
34  };
35 +
36 +&uart0 {
37 +       pinctrl-names = "default";
38 +       pinctrl-0 = <&uart0_pins_a>;
39 +       status = "okay";
40 +};