mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-03-01 03:21:21 +00:00
204 lines
6.5 KiB
Diff
204 lines
6.5 KiB
Diff
From 67b08c3ffacee708e8f2f08f8c42c7021c9cd6f3 Mon Sep 17 00:00:00 2001
|
|
From: Christian Hewitt <christianshewitt@gmail.com>
|
|
Date: Mon, 21 Oct 2019 03:58:06 +0000
|
|
Subject: [PATCH 88/88] arm64: dts: meson: add multiple MeCool device trees
|
|
|
|
This adds initial device trees for a range of MeCool devices based on various
|
|
Amlogic GXBB, GXL and GXM reference designs. The current purpose is to allow
|
|
devices to be associated with their respective IR remote keymaps. It also
|
|
prepares for the addition of DVB support in the future.
|
|
|
|
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/Makefile | 5 +++
|
|
.../dts/amlogic/meson-gxbb-mecool-ki-plus.dts | 34 +++++++++++++++++++
|
|
.../dts/amlogic/meson-gxbb-mecool-kii-pro.dts | 34 +++++++++++++++++++
|
|
.../meson-gxl-s905d-mecool-ki-plus.dts | 21 ++++++++++++
|
|
.../amlogic/meson-gxl-s905d-mecool-ki-pro.dts | 16 +++++++++
|
|
.../meson-gxl-s905d-mecool-m8s-plus.dts | 16 +++++++++
|
|
6 files changed, 126 insertions(+)
|
|
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-mecool-ki-plus.dts
|
|
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxbb-mecool-kii-pro.dts
|
|
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-ki-plus.dts
|
|
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-ki-pro.dts
|
|
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-m8s-plus.dts
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
|
|
index 82265e80cbe2..3e72b2ad3a2d 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/Makefile
|
|
+++ b/arch/arm64/boot/dts/amlogic/Makefile
|
|
@@ -13,6 +13,8 @@ dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-g12b-odroid-n2-plus.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-g12b-ugoos-am6.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-kii-pro.dtb
|
|
+dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-mecool-ki-plus.dtb
|
|
+dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-mecool-kii-pro.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nanopi-k2.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-nexbox-a95x.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxbb-odroidc2.dtb
|
|
@@ -30,7 +32,10 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-libretech-cc.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-libretech-cc-v2.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb
|
|
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-mecool-ki-plus.dtb
|
|
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-mecool-ki-pro.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-mecool-kii-pro.dtb
|
|
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-mecool-m8s-plus.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb
|
|
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-phicomm-n1.dtb
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-mecool-ki-plus.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-mecool-ki-plus.dts
|
|
new file mode 100644
|
|
index 000000000000..cb422633a8f9
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-mecool-ki-plus.dts
|
|
@@ -0,0 +1,34 @@
|
|
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
+
|
|
+/*
|
|
+ * Author: Christian Hewitt <christianshewitt@gmail.com>
|
|
+ */
|
|
+
|
|
+#include "meson-gxbb-p201.dts"
|
|
+
|
|
+/ {
|
|
+ compatible = "videostrong,gxbb-ki-plus", "amlogic,meson-gxbb";
|
|
+ model = "MeCool KI Plus";
|
|
+
|
|
+ clock: meson_clock {
|
|
+ compatible = "amlogic, gxbb-clock";
|
|
+ reg = <0x0 0xc883c000 0x0 0x1000>,
|
|
+ <0x0 0xc8100000 0x0 0x1000>;
|
|
+ #clock-cells = <1>;
|
|
+ #reset-cells = <1>;
|
|
+ sys_max = <1536000000>;
|
|
+ };
|
|
+
|
|
+ memory@0 {
|
|
+ device_type = "memory";
|
|
+ reg = <0x0 0x0 0x0 0x40000000>;
|
|
+ };
|
|
+};
|
|
+
|
|
+&ir {
|
|
+ linux,rc-map-name = "rc-mecool-ki-plus";
|
|
+};
|
|
+
|
|
+&usb_pwr {
|
|
+ gpio = <>;
|
|
+};
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-mecool-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-mecool-kii-pro.dts
|
|
new file mode 100644
|
|
index 000000000000..0dbcf0f7dbd9
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-mecool-kii-pro.dts
|
|
@@ -0,0 +1,34 @@
|
|
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
+
|
|
+/*
|
|
+ * Author: Christian Hewitt <christianshewitt@gmail.com>
|
|
+ */
|
|
+
|
|
+#include "meson-gxbb-p201.dts"
|
|
+
|
|
+/ {
|
|
+ compatible = "videostrong,gxbb-kii-pro", "amlogic,meson-gxbb";
|
|
+ model = "MeCool KII Pro";
|
|
+
|
|
+ clock: meson_clock {
|
|
+ compatible = "amlogic, gxbb-clock";
|
|
+ reg = <0x0 0xc883c000 0x0 0x1000>,
|
|
+ <0x0 0xc8100000 0x0 0x1000>;
|
|
+ #clock-cells = <1>;
|
|
+ #reset-cells = <1>;
|
|
+ sys_max = <1536000000>;
|
|
+ };
|
|
+
|
|
+ memory@0 {
|
|
+ device_type = "memory";
|
|
+ reg = <0x0 0x0 0x0 0x40000000>;
|
|
+ };
|
|
+};
|
|
+
|
|
+&ir {
|
|
+ linux,rc-map-name = "rc-mecool-kii-pro";
|
|
+};
|
|
+
|
|
+&usb_pwr {
|
|
+ gpio = <>;
|
|
+};
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-ki-plus.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-ki-plus.dts
|
|
new file mode 100644
|
|
index 000000000000..b4aed5d0dbdf
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-ki-plus.dts
|
|
@@ -0,0 +1,21 @@
|
|
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
+
|
|
+/*
|
|
+ * Author: Christian Hewitt <christianshewitt@gmail.com>
|
|
+ */
|
|
+
|
|
+#include "meson-gxl-s905d-p231.dts"
|
|
+
|
|
+/ {
|
|
+ compatible = "videostrong,gxl-ki-plus", "amlogic,s905d", "amlogic,meson-gxl";
|
|
+ model = "MeCool KI Plus";
|
|
+
|
|
+ memory@0 {
|
|
+ device_type = "memory";
|
|
+ reg = <0x0 0x0 0x0 0x40000000>;
|
|
+ };
|
|
+};
|
|
+
|
|
+&ir {
|
|
+ linux,rc-map-name = "rc-mecool-ki-plus";
|
|
+};
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-ki-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-ki-pro.dts
|
|
new file mode 100644
|
|
index 000000000000..af695620728c
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-ki-pro.dts
|
|
@@ -0,0 +1,16 @@
|
|
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
+
|
|
+/*
|
|
+ * Author: Christian Hewitt <christianshewitt@gmail.com>
|
|
+ */
|
|
+
|
|
+#include "meson-gxl-s905d-p230.dts"
|
|
+
|
|
+/ {
|
|
+ compatible = "videostrong,gxl-ki-pro", "amlogic,s905d", "amlogic,meson-gxl";
|
|
+ model = "MeCool KI Pro";
|
|
+};
|
|
+
|
|
+&ir {
|
|
+ linux,rc-map-name = "rc-mecool-ki-pro";
|
|
+};
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-m8s-plus.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-m8s-plus.dts
|
|
new file mode 100644
|
|
index 000000000000..3ddcf59d2649
|
|
--- /dev/null
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-mecool-m8s-plus.dts
|
|
@@ -0,0 +1,16 @@
|
|
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
+
|
|
+/*
|
|
+ * Author: Christian Hewitt <christianshewitt@gmail.com>
|
|
+ */
|
|
+
|
|
+#include "meson-gxl-s905d-p231.dts"
|
|
+
|
|
+/ {
|
|
+ compatible = "videostrong,gxl-kii-pro", "amlogic,s905d", "amlogic,meson-gxl";
|
|
+ model = "MeCool M8S Plus";
|
|
+};
|
|
+
|
|
+&ir {
|
|
+ linux,rc-map-name = "rc-mecool-m8s-plus";
|
|
+};
|
|
--
|
|
2.17.1
|
|
|