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