2021-02-15 21:24:48 +00:00
|
|
|
From 1df366384bb44a1c4b5bf76cd3b541f81c7fa5aa Mon Sep 17 00:00:00 2001
|
2020-09-30 19:03:08 +00:00
|
|
|
From: Martijn Braam <martijn@brixit.nl>
|
|
|
|
Date: Tue, 20 Oct 2020 14:42:01 +0200
|
|
|
|
Subject: [PATCH] dts: add pinetab-dev (old display panel)
|
|
|
|
|
|
|
|
---
|
|
|
|
arch/arm64/boot/dts/allwinner/Makefile | 1 +
|
|
|
|
.../dts/allwinner/sun50i-a64-pinetab-dev.dts | 29 +++++++++++++++++++
|
|
|
|
2 files changed, 30 insertions(+)
|
|
|
|
create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-dev.dts
|
|
|
|
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile
|
2021-02-15 21:24:48 +00:00
|
|
|
index 9ab527d81dd8..94c901f1b57a 100644
|
2020-09-30 19:03:08 +00:00
|
|
|
--- a/arch/arm64/boot/dts/allwinner/Makefile
|
|
|
|
+++ b/arch/arm64/boot/dts/allwinner/Makefile
|
|
|
|
@@ -15,6 +15,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinephone-1.0.dtb
|
|
|
|
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinephone-1.1.dtb
|
|
|
|
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinephone-1.2.dtb
|
|
|
|
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinetab.dtb
|
|
|
|
+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-pinetab-dev.dtb
|
|
|
|
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-sopine-baseboard.dtb
|
|
|
|
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-teres-i.dtb
|
2021-02-15 21:24:48 +00:00
|
|
|
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a100-allwinner-perf1.dtb
|
2020-09-30 19:03:08 +00:00
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-dev.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-dev.dts
|
|
|
|
new file mode 100644
|
|
|
|
index 000000000000..1e287f2fb9f3
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-dev.dts
|
|
|
|
@@ -0,0 +1,29 @@
|
|
|
|
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
+/*
|
|
|
|
+ * Copyright (C) 2019 Icenowy Zheng <icenowy@aosc.xyz>
|
|
|
|
+ *
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+/dts-v1/;
|
|
|
|
+
|
|
|
|
+#include "sun50i-a64-pinetab.dts"
|
|
|
|
+
|
|
|
|
+/ {
|
|
|
|
+ model = "PineTab";
|
|
|
|
+ compatible = "pine64,pinetab", "allwinner,sun50i-a64";
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+&dsi {
|
|
|
|
+ vcc-dsi-supply = <®_dldo1>;
|
|
|
|
+ status = "okay";
|
|
|
|
+
|
|
|
|
+ panel@0 {
|
|
|
|
+ compatible = "feixin,k101-im2ba02";
|
|
|
|
+ reg = <0>;
|
|
|
|
+ avdd-supply = <®_dc1sw>;
|
|
|
|
+ dvdd-supply = <®_dc1sw>;
|
|
|
|
+ cvdd-supply = <®_ldo_io1>;
|
|
|
|
+ reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
|
|
|
|
+ backlight = <&backlight>;
|
|
|
|
+ };
|
|
|
|
+};
|
|
|
|
--
|
2021-02-15 21:24:48 +00:00
|
|
|
2.30.1
|
2020-09-30 19:03:08 +00:00
|
|
|
|