ARM: dts: sunxi: Update simplefb nodes so that u-boot can find them
authorHans de Goede <hdegoede@redhat.com>
Tue, 18 Nov 2014 11:07:13 +0000 (12:07 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 23 Nov 2014 16:21:52 +0000 (17:21 +0100)
Review of the u-boot sunxi simplefb patches has led to the decision that
u-boot should not use a specific path to find the nodes as this goes contrary
to how devicetree usually works.

Instead a platform specific compatible + properties should be used for this.

The simplefb bindings have already been updated to reflect this, this patch
brings the sunxi devicetree files in line with the new binding, and the
actual u-boot implementation as it is going upstream.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10.dtsi
arch/arm/boot/dts/sun5i-a10s.dtsi
arch/arm/boot/dts/sun6i-a31.dtsi
arch/arm/boot/dts/sun7i-a20.dtsi

index 02d6118..e3ab942 100644 (file)
@@ -32,8 +32,9 @@
                #size-cells = <1>;
                ranges;
 
-               framebuffer0-hdmi {
-                       compatible = "simple-framebuffer";
+               framebuffer@0 {
+                       compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
+                       allwinner,pipeline = "de_be0-lcd0-hdmi";
                        clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
                                 <&ahb_gates 44>;
                        status = "disabled";
index 419b1b0..81ad4b9 100644 (file)
@@ -29,8 +29,9 @@
                #size-cells = <1>;
                ranges;
 
-               framebuffer0-hdmi {
-                       compatible = "simple-framebuffer";
+               framebuffer@0 {
+                       compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
+                       allwinner,pipeline = "de_be0-lcd0-hdmi";
                        clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
                                 <&ahb_gates 44>;
                        status = "disabled";
index 0631873..a400172 100644 (file)
@@ -67,8 +67,9 @@
                #size-cells = <1>;
                ranges;
 
-               framebuffer0-hdmi {
-                       compatible = "simple-framebuffer";
+               framebuffer@0 {
+                       compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
+                       allwinner,pipeline = "de_be0-lcd0-hdmi";
                        clocks = <&pll6 0>;
                        status = "disabled";
                };
index 786aa65..82a524c 100644 (file)
@@ -69,8 +69,9 @@
                #size-cells = <1>;
                ranges;
 
-               framebuffer0-hdmi {
-                       compatible = "simple-framebuffer";
+               framebuffer@0 {
+                       compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
+                       allwinner,pipeline = "de_be0-lcd0-hdmi";
                        clocks = <&pll5 1>, <&ahb_gates 36>, <&ahb_gates 43>,
                                 <&ahb_gates 44>;
                        status = "disabled";