arm64: dts: rockchip: Add gru-scarlet-dumo board
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 12 Aug 2021 09:47:53 +0000 (17:47 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 15 Sep 2021 15:50:34 +0000 (17:50 +0200)
Dumo is another variant of Scarlet, also known as the ASUS Chromebook
Tablet CT100. This is almost the same as Scarlet-Innolux, but uses a
board-specific calibration variant for the WiFi module.

Add a new device tree for it.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20210812094753.2359087-3-wenst@chromium.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/Makefile
arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-dumo.dts [new file with mode: 0644]

index 12a8b6c..479906f 100644 (file)
@@ -25,6 +25,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-ficus.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-firefly.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-bob.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-kevin.dtb
+dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-dumo.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-inx.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-gru-scarlet-kd.dtb
 dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3399-hugsun-x99.dtb
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-dumo.dts b/arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-dumo.dts
new file mode 100644 (file)
index 0000000..853e884
--- /dev/null
@@ -0,0 +1,41 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Google Gru-Scarlet Rev5+ (SKU-0) board device tree source
+ *
+ * Copyright 2021 Google LLC.
+ */
+
+/dts-v1/;
+
+#include "rk3399-gru-scarlet.dtsi"
+
+/ {
+       model = "Google Scarlet";
+       compatible = "google,scarlet-rev15-sku0", "google,scarlet-rev15",
+                    "google,scarlet-rev14-sku0", "google,scarlet-rev14",
+                    "google,scarlet-rev13-sku0", "google,scarlet-rev13",
+                    "google,scarlet-rev12-sku0", "google,scarlet-rev12",
+                    "google,scarlet-rev11-sku0", "google,scarlet-rev11",
+                    "google,scarlet-rev10-sku0", "google,scarlet-rev10",
+                    "google,scarlet-rev9-sku0",  "google,scarlet-rev9",
+                    "google,scarlet-rev8-sku0",  "google,scarlet-rev8",
+                    "google,scarlet-rev7-sku0",  "google,scarlet-rev7",
+                    "google,scarlet-rev6-sku0",  "google,scarlet-rev6",
+                    "google,scarlet-rev5-sku0",  "google,scarlet-rev5",
+                    "google,scarlet", "google,gru", "rockchip,rk3399";
+};
+
+&mipi_panel {
+       compatible = "innolux,p097pfg";
+       avdd-supply = <&ppvarp_lcd>;
+       avee-supply = <&ppvarn_lcd>;
+};
+
+&pci_rootport {
+       wifi@0,0 {
+               compatible = "qcom,ath10k";
+               reg = <0x00010000 0x0 0x00000000 0x0 0x00000000>,
+                     <0x03010010 0x0 0x00000000 0x0 0x00200000>;
+               qcom,ath10k-calibration-variant = "GO_DUMO";
+       };
+};