build/patch/kernel/archive/odroidxu4-5.12/0002-ODROID-N2-arm64-dts-add-meson64_odroidn2.dts-for-com.patch

46 lines
1.5 KiB
Diff

From 75ba7ea39d0dfa0d03d23e4a71ff5d573084758b Mon Sep 17 00:00:00 2001
From: Dongjin Kim <tobetter@gmail.com>
Date: Tue, 1 Oct 2019 14:11:46 +0900
Subject: [PATCH 002/109] ODROID-N2: arm64/dts: add 'meson64_odroidn2.dts' for
compability
Change-Id: I361804b497d71fd67a4c6816463d5cac607e0a53
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
---
arch/arm64/boot/dts/amlogic/Makefile | 1 +
arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts | 13 +++++++++++++
2 files changed, 14 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
index b85f0a830d74..2fd90a311fae 100644
--- a/arch/arm64/boot/dts/amlogic/Makefile
+++ b/arch/arm64/boot/dts/amlogic/Makefile
@@ -52,3 +52,4 @@ 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_odroidn2.dtb
diff --git a/arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts b/arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts
new file mode 100644
index 000000000000..2bf16e7ac197
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson64_odroidn2.dts
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2019 Dongjin Kim <tobetter@gmail.com>
+ *
+ */
+
+/dts-v1/;
+
+#include "meson-g12b-odroid-n2.dts"
+
+/ {
+ model = "Hardkernel ODROID-N2";
+};
--
2.25.1