Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 704ffd74 authored by Olof Johansson's avatar Olof Johansson
Browse files

Merge tag 'realtek-arm64-dt-for-4.12' of git://github.com/afaerber/linux into next/dt64

Realtek ARM64 based SoC DT for v4.12

This adds an initial DT for the RTD1295 SoC and a TV box based on it.

* tag 'realtek-arm64-dt-for-4.12' of git://github.com/afaerber/linux

:
  ARM64: dts: Add Realtek RTD1295 and Zidoo X9S
  dt-bindings: arm: Add Realtek RTD1295 bindings
  dt-bindings: Add vendor prefix for Zidoo

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents f47fbc37 72a7786c
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
Realtek platforms device tree bindings
--------------------------------------


RTD1295 SoC
===========

Required root node properties:

 - compatible :  must contain "realtek,rtd1295"


Root node property compatible must contain, depending on board:

 - Zidoo X9S: "zidoo,x9s"


Example:

    compatible = "zidoo,x9s", "realtek,rtd1295";
+1 −0
Original line number Diff line number Diff line
@@ -356,6 +356,7 @@ xlnx Xilinx
xunlong	Shenzhen Xunlong Software CO.,Limited
zarlink	Zarlink Semiconductor
zeitec	ZEITEC Semiconductor Co., LTD.
zidoo	Shenzhen Zidoo Technology Co., Ltd.
zii	Zodiac Inflight Innovations
zte	ZTE Corp.
zyxel	ZyXEL Communications Corp.
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ dts-dirs += marvell
dts-dirs += mediatek
dts-dirs += nvidia
dts-dirs += qcom
dts-dirs += realtek
dts-dirs += renesas
dts-dirs += rockchip
dts-dirs += socionext
+5 −0
Original line number Diff line number Diff line
dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb

always		:= $(dtb-y)
subdir-y	:= $(dts-dirs)
clean-files	:= *.dtb
+42 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2016-2017 Andreas Färber
 *
 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
 */

/dts-v1/;

/memreserve/	0x0000000000000000 0x0000000000030000;
/memreserve/	0x000000000001f000 0x0000000000001000;
/memreserve/	0x0000000000030000 0x00000000000d0000;
/memreserve/	0x0000000001b00000 0x00000000004be000;
/memreserve/	0x0000000001ffe000 0x0000000000004000;

#include "rtd1295.dtsi"

/ {
	compatible = "zidoo,x9s", "realtek,rtd1295";
	model = "Zidoo X9S";

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x80000000>;
	};

	aliases {
		serial0 = &uart0;
		serial1 = &uart1;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};
};

&uart0 {
	status = "okay";
};

&uart1 {
	status = "okay";
};
Loading