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