1/*
2 * Device Tree Source for the Salvator-X board
3 *
4 * Copyright (C) 2015 Renesas Electronics Corp.
5 *
6 * SPDX-License-Identifier:	GPL-2.0
7 */
8
9/dts-v1/;
10#include "r8a7795.dtsi"
11#include "salvator-x.dtsi"
12
13/ {
14	model = "Renesas Salvator-X board based on r8a7795 ES2.0+";
15	compatible = "renesas,salvator-x", "renesas,r8a7795";
16
17	memory@48000000 {
18		device_type = "memory";
19		/* first 128MB is reserved for secure area. */
20		reg = <0x0 0x48000000 0x0 0x38000000>;
21	};
22
23	memory@500000000 {
24		device_type = "memory";
25		reg = <0x5 0x00000000 0x0 0x40000000>;
26	};
27
28	memory@600000000 {
29		device_type = "memory";
30		reg = <0x6 0x00000000 0x0 0x40000000>;
31	};
32
33	memory@700000000 {
34		device_type = "memory";
35		reg = <0x7 0x00000000 0x0 0x40000000>;
36	};
37};
38
39&du {
40	clocks = <&cpg CPG_MOD 724>,
41		 <&cpg CPG_MOD 723>,
42		 <&cpg CPG_MOD 722>,
43		 <&cpg CPG_MOD 721>,
44		 <&cpg CPG_MOD 727>,
45		 <&versaclock5 1>,
46		 <&x21_clk>,
47		 <&x22_clk>,
48		 <&versaclock5 2>;
49	clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0",
50		      "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
51};
52
53&ehci2 {
54	status = "okay";
55};
56
57&hdmi0 {
58	status = "okay";
59
60	ports {
61		port@1 {
62			reg = <1>;
63			rcar_dw_hdmi0_out: endpoint {
64				remote-endpoint = <&hdmi0_con>;
65			};
66		};
67	};
68};
69
70&hdmi0_con {
71	remote-endpoint = <&rcar_dw_hdmi0_out>;
72};
73
74&hdmi1 {
75	status = "okay";
76
77	ports {
78		port@1 {
79			reg = <1>;
80			rcar_dw_hdmi1_out: endpoint {
81				remote-endpoint = <&hdmi1_con>;
82			};
83		};
84	};
85};
86
87&hdmi1_con {
88	remote-endpoint = <&rcar_dw_hdmi1_out>;
89};
90
91&ohci2 {
92	status = "okay";
93};
94
95&pfc {
96	usb2_pins: usb2 {
97		groups = "usb2";
98		function = "usb2";
99	};
100};
101
102&sata {
103	status = "okay";
104};
105
106&usb2_phy2 {
107	pinctrl-0 = <&usb2_pins>;
108	pinctrl-names = "default";
109
110	status = "okay";
111};
112