arm64: dts: realtek: Add ProBox2 Ava
authorAndreas Färber <afaerber@suse.de>
Fri, 11 Aug 2017 21:56:06 +0000 (23:56 +0200)
committerAndreas Färber <afaerber@suse.de>
Sun, 15 Oct 2017 20:01:02 +0000 (22:01 +0200)
Add a Device Tree for the PROBOX2 AVA TV Box.
Move common memory reservations into rtd1295.dtsi.

Cc: support@probox2.com
Signed-off-by: Andreas Färber <afaerber@suse.de>
arch/arm64/boot/dts/realtek/Makefile
arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts [new file with mode: 0644]
arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts
arch/arm64/boot/dts/realtek/rtd1295.dtsi

index 8521e92..f43d020 100644 (file)
@@ -1,3 +1,4 @@
+dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-probox2-ava.dtb
 dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb
 
 always         := $(dtb-y)
diff --git a/arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts b/arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts
new file mode 100644 (file)
index 0000000..8e2b0e7
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2017 Andreas Färber
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+ */
+
+/dts-v1/;
+
+#include "rtd1295.dtsi"
+
+/ {
+       compatible = "probox2,ava", "realtek,rtd1295";
+       model = "PROBOX2 AVA";
+
+       memory@0 {
+               device_type = "memory";
+               reg = <0x0 0x80000000>;
+       };
+
+       aliases {
+               serial0 = &uart0;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+};
+
+&uart0 {
+       status = "okay";
+};
index 6efa809..da19faa 100644 (file)
@@ -6,12 +6,6 @@
 
 /dts-v1/;
 
-/memreserve/   0x0000000000000000 0x0000000000030000;
-/memreserve/   0x000000000001f000 0x0000000000001000;
-/memreserve/   0x0000000000030000 0x00000000000d0000;
-/memreserve/   0x0000000001b00000 0x00000000004be000;
-/memreserve/   0x0000000001ffe000 0x0000000000004000;
-
 #include "rtd1295.dtsi"
 
 / {
index 43da91f..c8b7bb6 100644 (file)
@@ -6,6 +6,12 @@
  * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  */
 
+/memreserve/   0x0000000000000000 0x0000000000030000;
+/memreserve/   0x000000000001f000 0x0000000000001000;
+/memreserve/   0x0000000000030000 0x00000000000d0000;
+/memreserve/   0x0000000001b00000 0x00000000004be000;
+/memreserve/   0x0000000001ffe000 0x0000000000004000;
+
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 
 / {