aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Geyer <harald@ccbib.org>2018-03-15 12:25:08 -0400
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-03-19 17:12:28 -0400
commitc1cff65f9b16b31e731e2e75bbe06638c86e1996 (patch)
tree8635a8d008fc82cd05544a5984e206ffe5ae2535
parentd41850437c364ef7aba9bc25c1c701699d0240e0 (diff)
arm64: dts: allwinner: a64: add simplefb for A64 SoC
The A64 SoC features two display pipelines, one has a LCD output, the other has a HDMI output. Add support for simplefb for the LCD output. Tested on Teres I. This patch was inspired by work of Icenowy Zheng. Signed-off-by: Harald Geyer <harald@ccbib.org> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 8401e7f887ff..1b2ef28c42bd 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -52,6 +52,26 @@
52 #address-cells = <1>; 52 #address-cells = <1>;
53 #size-cells = <1>; 53 #size-cells = <1>;
54 54
55 chosen {
56 #address-cells = <1>;
57 #size-cells = <1>;
58 ranges;
59
60/*
61 * The pipeline mixer0-lcd0 depends on clock CLK_MIXER0 from DE2 CCU.
62 * However there is no support for this clock on A64 yet, so we depend
63 * on the upstream clocks here to keep them (and thus CLK_MIXER0) up.
64 */
65 simplefb_lcd: framebuffer-lcd {
66 compatible = "allwinner,simple-framebuffer",
67 "simple-framebuffer";
68 allwinner,pipeline = "mixer0-lcd0";
69 clocks = <&ccu CLK_TCON0>,
70 <&ccu CLK_DE>, <&ccu CLK_BUS_DE>;
71 status = "disabled";
72 };
73 };
74
55 cpus { 75 cpus {
56 #address-cells = <1>; 76 #address-cells = <1>;
57 #size-cells = <0>; 77 #size-cells = <0>;