build/patch/kernel/archive/odroidxu4-5.12/0064-ODROID-C4-arm64-dts-add-new-board-for-Hardkernel-ODR.patch

47 lines
1.5 KiB
Diff

From 4f53d3bcbcd26bd766355ffa061570945a31af2a Mon Sep 17 00:00:00 2001
From: Dongjin Kim <tobetter@gmail.com>
Date: Sun, 15 Mar 2020 02:15:06 +0900
Subject: [PATCH 064/109] ODROID-C4: arm64/dts: add new board for Hardkernel
ODROID-C4
Change-Id: Idd9abac641030e5498171d88b3840349ce3b8442
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
---
arch/arm64/boot/dts/amlogic/Makefile | 1 +
arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts | 12 ++++++++++++
2 files changed, 13 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
index 6112beacefc8..9d3ef969eb55 100644
--- a/arch/arm64/boot/dts/amlogic/Makefile
+++ b/arch/arm64/boot/dts/amlogic/Makefile
@@ -52,5 +52,6 @@ dtb-$(CONFIG_ARCH_MESON) += meson-sm1-sei610.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-a1-ad401.dtb
dtb-$(CONFIG_ARCH_MESON) += meson64_odroidc2.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson64_odroidc4.dtb
dtb-$(CONFIG_ARCH_MESON) += meson64_odroidn2.dtb
dtb-$(CONFIG_ARCH_MESON) += meson64_odroidn2_plus.dtb
diff --git a/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts b/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts
new file mode 100644
index 000000000000..9b2c191620b9
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson64_odroidc4.dts
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2020 Dongjin Kim <tobetter@gmail.com>
+ */
+
+/dts-v1/;
+
+#include "meson-sm1-odroid-c4.dts"
+
+/ {
+ model = "Hardkernel ODROID-C4";
+};
--
2.25.1