1/*
2 * Device Tree Source for the Salvator-X board
3 *
4 * Copyright (C) 2016 Renesas Electronics Corp.
5 *
6 * SPDX-License-Identifier:	GPL-2.0
7 */
8
9/dts-v1/;
10#include "r8a7796.dtsi"
11#include "salvator-x.dtsi"
12
13/ {
14	model = "Renesas Salvator-X board based on r8a7796";
15	compatible = "renesas,salvator-x", "renesas,r8a7796";
16
17	memory@48000000 {
18		device_type = "memory";
19		/* first 128MB is reserved for secure area. */
20		reg = <0x0 0x48000000 0x0 0x78000000>;
21	};
22
23	memory@600000000 {
24		device_type = "memory";
25		reg = <0x6 0x00000000 0x0 0x80000000>;
26	};
27};
28
29&du {
30	clocks = <&cpg CPG_MOD 724>,
31		 <&cpg CPG_MOD 723>,
32		 <&cpg CPG_MOD 722>,
33		 <&cpg CPG_MOD 727>,
34		 <&versaclock5 1>,
35		 <&x21_clk>,
36		 <&versaclock5 2>;
37	clock-names = "du.0", "du.1", "du.2", "lvds.0",
38		      "dclkin.0", "dclkin.1", "dclkin.2";
39};
40
41&hdmi0 {
42	status = "okay";
43
44	ports {
45		port@1 {
46			reg = <1>;
47			rcar_dw_hdmi0_out: endpoint {
48				remote-endpoint = <&hdmi0_con>;
49			};
50		};
51	};
52};
53
54&hdmi0_con {
55	remote-endpoint = <&rcar_dw_hdmi0_out>;
56};
57