ARM: sun5i: a10s: switch simple framebuffer indices
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 5 Feb 2017 17:02:43 +0000 (18:02 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 6 Mar 2017 06:40:35 +0000 (07:40 +0100)
Of the three simple framebuffer setups we have in the A10s, two of them can
be shared with the other SoCs from the sun5i family (LCD panel and
composite output).

However, the only one we cannot share is the HDMI, which is the first
listed in the A10s DTSI. In order to make it more logical and so that we
can share the framebuffer nodes in the common DTSI, reorder those nodes.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-a10s.dtsi

index df2ba63..0c08b61 100644 (file)
@@ -61,7 +61,7 @@
                #size-cells = <1>;
                ranges;
 
-               framebuffer@0 {
+               framebuffer@2 {
                        compatible = "allwinner,simple-framebuffer",
                                     "simple-framebuffer";
                        allwinner,pipeline = "de_be0-lcd0-hdmi";
@@ -71,7 +71,7 @@
                        status = "disabled";
                };
 
-               framebuffer@1 {
+               framebuffer@0 {
                        compatible = "allwinner,simple-framebuffer",
                                     "simple-framebuffer";
                        allwinner,pipeline = "de_be0-lcd0";
@@ -80,7 +80,7 @@
                        status = "disabled";
                };
 
-               framebuffer@2 {
+               framebuffer@1 {
                        compatible = "allwinner,simple-framebuffer",
                                     "simple-framebuffer";
                        allwinner,pipeline = "de_be0-lcd0-tve0";