From a546653719facfe4079bda362eded7c3a6fc8209 Mon Sep 17 00:00:00 2001 From: Han Gao Date: Wed, 31 Jan 2024 18:46:40 +0800 Subject: [PATCH] compat: add mainline dtb name Signed-off-by: Han Gao --- arch/riscv/boot/dts/thead/Makefile | 5 +++++ arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 6 ++++++ arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a-16g.dts | 6 ++++++ arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a.dts | 6 ++++++ arch/riscv/boot/dts/thead/th1520-lichee-pi-4a-16g.dts | 6 ++++++ arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts | 6 ++++++ 6 files changed, 35 insertions(+) create mode 100644 arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts create mode 100644 arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a-16g.dts create mode 100644 arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a.dts create mode 100644 arch/riscv/boot/dts/thead/th1520-lichee-pi-4a-16g.dts create mode 100644 arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts diff --git a/arch/riscv/boot/dts/thead/Makefile b/arch/riscv/boot/dts/thead/Makefile index 2f8111dd5..2029aba2e 100644 --- a/arch/riscv/boot/dts/thead/Makefile +++ b/arch/riscv/boot/dts/thead/Makefile @@ -68,6 +68,11 @@ dtb-$(CONFIG_SOC_THEAD) += light-lpi4a.dtb light-lpi4a-16gb.dtb dtb-$(CONFIG_SOC_THEAD) += light-lpi4a-console.dtb light-lpi4a-console-16g.dtb dtb-$(CONFIG_SOC_THEAD) += light-beagle.dtb +# compat mainline name +dtb-$(CONFIG_SOC_THEAD) += th1520-lichee-pi-4a.dtb th1520-lichee-pi-4a-16g.dtb +dtb-$(CONFIG_SOC_THEAD) += th1520-lichee-cluster-4a.dtb th1520-lichee-cluster-4a-16g.dtb +dtb-$(CONFIG_SOC_THEAD) += th1520-beaglev-ahead.dtb + targets += dtbs dtbs_install targets += $(dtb-y) diff --git a/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts new file mode 100644 index 000000000..5546bb19d --- /dev/null +++ b/arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2024 ISCAS. + */ + +#include "th1520-beagle.dts" diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a-16g.dts b/arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a-16g.dts new file mode 100644 index 000000000..840535373 --- /dev/null +++ b/arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a-16g.dts @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2024 ISCAS. + */ + +#include "th1520-lpi4a-cluster-16gb.dts" diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a.dts b/arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a.dts new file mode 100644 index 000000000..5dba62c90 --- /dev/null +++ b/arch/riscv/boot/dts/thead/th1520-lichee-cluster-4a.dts @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2024 ISCAS. + */ + +#include "th1520-lpi4a-cluster.dts" diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a-16g.dts b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a-16g.dts new file mode 100644 index 000000000..cbe409121 --- /dev/null +++ b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a-16g.dts @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2024 ISCAS. + */ + +#include "th1520-lpi4a-16gb.dts" diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts new file mode 100644 index 000000000..6e060e115 --- /dev/null +++ b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts @@ -0,0 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2024 ISCAS. + */ + +#include "th1520-lpi4a-product.dts"