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