Skip to contentSkip to conversation

arm64: dts: Initial MeLE V9 support

PATCH In review Andreas Färber 2 participants 6 messages Oct 16, 2017 – Oct 23, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover arm64: dts: Initial MeLE V9 support

Hello,

This mini-series adds a Device Tree for the MeLE V9 Android Media Player.

Same as with PROBOX2 AVA, serial (loady) was the only working way to boot a new kernel from the vendor's U-Boot on this TV box.

More details at:
https://en.opensuse.org/HCL:Mele_V9

@MeLE: Please review the following three patches and either signal your acknowledgement of my naming proposals with an "Acked-by: name <email>" response or point out any changes you would like to see applied. Thanks!

Latest experimental patches at:
https://github.com/afaerber/linux/commits/rtd1295-next

Have a lot of fun!

Cheers,
Andreas

Cc meleservice at mele.cn
Cc devicetree at vger.kernel.org

Andreas F?rber (3):
dt-bindings: Add vendor prefix for MeLE
dt-bindings: arm: realtek: Document MeLE V9
arm64: dts: realtek: Add MeLE V9

 Documentation/devicetree/bindings/arm/realtek.txt  |  1 +
 .../devicetree/bindings/vendor-prefixes.txt        |  1 +
 arch/arm64/boot/dts/realtek/Makefile               |  1 +
 arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts    | 31 ++++++++++++++++++++++
 4 files changed, 34 insertions(+)
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts
Signature · 1 line
2.13.6
#1 lore raw

PATCH 1/3 dt-bindings: Add vendor prefix for MeLE

MeLE is a Chinese manufacturer of TV boxes and Mini PCs.

Cc meleservice at mele.cn
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index dbbde903682b..bc7f7b4618b4 100644
@@ -199,6 +199,7 @@ mcube	mCube
 meas	Measurement Specialties
 mediatek	MediaTek Inc.
 megachips	MegaChips
+mele	Shenzhen MeLE Digital Technology Ltd.
 melexis	Melexis N.V.
 melfas	MELFAS Inc.
 mellanox	Mellanox Technologies
Signature · 1 line
2.13.6
#3 lore raw

PATCH 2/3 dt-bindings: arm: realtek: Document MeLE V9

In reply to Andreas Färber

Define a compatible string for MeLE V9 Media Player.

Cc meleservice at mele.cn
---
 Documentation/devicetree/bindings/arm/realtek.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/realtek.txt +1 -0
index 297c15eb81e2..95839e19ae92 100644
@@ -12,6 +12,7 @@ Required root node properties:
 
 Root node property compatible must contain, depending on board:
 
+ - MeLE V9: "mele,v9"
  - ProBox2 AVA: "probox2,ava"
  - Zidoo X9S: "zidoo,x9s"
 
Signature · 1 line
2.13.6
#5 lore raw

PATCH 3/3 arm64: dts: realtek: Add MeLE V9

In reply to Andreas Färber

Add an initial Device Tree for MeLE V9 Media Player.

Cc meleservice at mele.cn
---
 arch/arm64/boot/dts/realtek/Makefile            |  1 +
 arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts | 31 +++++++++++++++++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts
arch/arm64/boot/dts/realtek/Makefile +1 -0
index cf93f4db7a69..c0b36ba64a1e 100644
@@ -1,5 +1,6 @@
 dtb-$(CONFIG_ARCH_REALTEK) += rtd1293-ds418j.dtb
 
+dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-mele-v9.dtb
 dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-probox2-ava.dtb
 dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb
 
arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts new file +31 -0
new file mode 100644
index 000000000000..bd584e99fff9
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2017 Andreas F?rber
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+ */
+
+/dts-v1/;
+
+#include "rtd1295.dtsi"
+
+/ {
+	compatible = "mele,v9", "realtek,rtd1295";
+	model = "MeLE V9";
+
+	memory at 0 {
+		device_type = "memory";
+		reg = <0x0 0x80000000>;
+	};
+
+	aliases {
+		serial0 = &uart0;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
Signature · 1 line
2.13.6