]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: exynos: gs101-raven: add new board file
authorAndré Draszik <andre.draszik@linaro.org>
Fri, 17 Jan 2025 17:09:57 +0000 (17:09 +0000)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 4 Feb 2025 08:43:52 +0000 (09:43 +0100)
Raven is Google's code name for Pixel 6 Pro. Similar to Pixel 6
(Oriole), this is also based around its Tensor gs101 SoC.

For now, the relevant difference here is the display resolution:
1440 x 3120 instead of 1080 x 2400.

Create a new board file to reflect this difference.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20250117-gs101-simplefb-v4-4-a5b90ca2f917@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/google/Makefile
arch/arm64/boot/dts/exynos/google/gs101-raven.dts [new file with mode: 0644]

index 0a6d5e1fe4eea12cc319b6ec65f7758eccc1e209..7385f82b03c95d05788684a74a48d38500b326f9 100644 (file)
@@ -2,3 +2,4 @@
 
 dtb-$(CONFIG_ARCH_EXYNOS) += \
        gs101-oriole.dtb \
+       gs101-raven.dtb
diff --git a/arch/arm64/boot/dts/exynos/google/gs101-raven.dts b/arch/arm64/boot/dts/exynos/google/gs101-raven.dts
new file mode 100644 (file)
index 0000000..1e7e6b3
--- /dev/null
@@ -0,0 +1,29 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Raven Device Tree
+ *
+ * Copyright 2021-2023 Google LLC
+ * Copyright 2023-2025 Linaro Ltd
+ */
+
+/dts-v1/;
+
+#include "gs101-pixel-common.dtsi"
+
+/ {
+       model = "Raven";
+       compatible = "google,gs101-raven", "google,gs101";
+};
+
+&cont_splash_mem {
+       reg = <0x0 0xfac00000 (1440 * 3120 * 4)>;
+       status = "okay";
+};
+
+&framebuffer0 {
+       width = <1440>;
+       height = <3120>;
+       stride = <(1440 * 4)>;
+       format = "a8r8g8b8";
+       status = "okay";
+};