mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
arm64: dts: mediatek: Introduce MT8195 Cherry platform's Tomato
Introduce the MT8195 Cherry Chromebook platform, including three revisions of Cherry Tomato boards. This basic configuration allows to boot Linux on all board revisions and get a serial console from a ramdisk. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220704101321.44835-3-angelogioacchino.delregno@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
61d8066b4e
commit
5eb2e303ec
5 changed files with 63 additions and 0 deletions
|
@ -40,6 +40,9 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-pumpkin.dtb
|
|||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-hayato-r1.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-asurada-spherion-r0.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r1.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r2.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r3.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb
|
||||
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb
|
||||
|
|
11
arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts
Normal file
11
arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts
Normal file
|
@ -0,0 +1,11 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||||
/*
|
||||
* Copyright (C) 2021 MediaTek Inc.
|
||||
*/
|
||||
/dts-v1/;
|
||||
#include "mt8195-cherry.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Acer Tomato (rev1) board";
|
||||
compatible = "google,tomato-rev1", "google,tomato", "mediatek,mt8195";
|
||||
};
|
11
arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts
Normal file
11
arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r2.dts
Normal file
|
@ -0,0 +1,11 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||||
/*
|
||||
* Copyright (C) 2021 MediaTek Inc.
|
||||
*/
|
||||
/dts-v1/;
|
||||
#include "mt8195-cherry.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Acer Tomato (rev2) board";
|
||||
compatible = "google,tomato-rev2", "google,tomato", "mediatek,mt8195";
|
||||
};
|
12
arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts
Normal file
12
arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r3.dts
Normal file
|
@ -0,0 +1,12 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||||
/*
|
||||
* Copyright (C) 2021 MediaTek Inc.
|
||||
*/
|
||||
/dts-v1/;
|
||||
#include "mt8195-cherry.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Acer Tomato (rev3 - 4) board";
|
||||
compatible = "google,tomato-rev4", "google,tomato-rev3",
|
||||
"google,tomato", "mediatek,mt8195";
|
||||
};
|
26
arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi
Normal file
26
arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi
Normal file
|
@ -0,0 +1,26 @@
|
|||
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||||
/*
|
||||
* Copyright (C) 2021 MediaTek Inc.
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include "mt8195.dtsi"
|
||||
|
||||
/ {
|
||||
aliases {
|
||||
serial0 = &uart0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
stdout-path = "serial0:115200n8";
|
||||
};
|
||||
|
||||
memory@40000000 {
|
||||
device_type = "memory";
|
||||
reg = <0 0x40000000 0 0x80000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
};
|
Loading…
Reference in a new issue