mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 16:44:59 +00:00

In order to support Pixel 6 (Oriole), Pixel 6 Pro (Raven), Pixel 6a (Bluejay), and all other versions correctly, we have to be able to distinguish them properly as we add support for more features. For example, Raven has a larger display. There are other differences, like battery design capacity, etc. Move all the parts that are common for now into a gs101-pixel-common.dtsi, and just leave the display related things in gs101-oriole.dts. 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-3-a5b90ca2f917@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
30 lines
495 B
Plaintext
30 lines
495 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Oriole Device Tree
|
|
*
|
|
* Copyright 2021-2023 Google LLC
|
|
* Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "gs101-pixel-common.dtsi"
|
|
|
|
/ {
|
|
model = "Oriole";
|
|
compatible = "google,gs101-oriole", "google,gs101";
|
|
};
|
|
|
|
&cont_splash_mem {
|
|
reg = <0x0 0xfac00000 (1080 * 2400 * 4)>;
|
|
status = "okay";
|
|
};
|
|
|
|
&framebuffer0 {
|
|
width = <1080>;
|
|
height = <2400>;
|
|
stride = <(1080 * 4)>;
|
|
format = "a8r8g8b8";
|
|
status = "okay";
|
|
};
|