OSDN Git Service

arm64: dts: allwinner: a64: add device tree node for HDMI simplefb
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 22 Jun 2018 12:45:39 +0000 (20:45 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 27 Jun 2018 18:33:08 +0000 (20:33 +0200)
As the U-Boot bootloader now is also capable of initialize the HDMI on
A64 boards, add a simplefb device tree node for accessing the HDMI
framebuffer initialized by the bootloader.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

index 318c4ba..8407534 100644 (file)
                                 <&display_clocks CLK_MIXER0>;
                        status = "disabled";
                };
+
+               simplefb_hdmi: framebuffer-hdmi {
+                       compatible = "allwinner,simple-framebuffer",
+                                    "simple-framebuffer";
+                       allwinner,pipeline = "mixer1-lcd1-hdmi";
+                       clocks = <&display_clocks CLK_MIXER1>,
+                                <&ccu CLK_TCON1>, <&ccu CLK_HDMI>;
+                       status = "disabled";
+               };
        };
 
        cpus {