]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: allwinner: dts: a64: add DT for Early Adopter's PineTab
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 24 Dec 2020 02:40:00 +0000 (10:40 +0800)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 6 Jan 2021 16:49:58 +0000 (17:49 +0100)
PineTabs since Early Adopter batch will use a new LCD panel.

Add device tree for PineTab with the new panel.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201224024001.19248-2-icenowy@aosc.io
arch/arm64/boot/dts/allwinner/Makefile
arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-early-adopter.dts [new file with mode: 0644]

index 211d1e9d470135d596f6ccf8cabd2927972e6976..41ce680e5f8d1c94538f3c45de093ea32f6df19a 100644 (file)
@@ -13,6 +13,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-early-adopter.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-sopine-baseboard.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a64-teres-i.dtb
 dtb-$(CONFIG_ARCH_SUNXI) += sun50i-a100-allwinner-perf1.dtb
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-early-adopter.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-early-adopter.dts
new file mode 100644 (file)
index 0000000..652fc0c
--- /dev/null
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (C) 2020 Icenowy Zheng <icenowy@aosc.io>
+ *
+ */
+
+/dts-v1/;
+
+#include "sun50i-a64-pinetab.dts"
+
+/ {
+       model = "PineTab, Early Adopter's version";
+       compatible = "pine64,pinetab-early-adopter", "allwinner,sun50i-a64";
+};
+
+&dsi {
+       /delete-node/ panel@0;
+
+       panel@0 {
+               compatible = "feixin,k101-im2byl02";
+               reg = <0>;
+               power-supply = <&reg_dc1sw>;
+               reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */
+               backlight = <&backlight>;
+       };
+};