2 * Device Tree Source for the Salvator-X 2nd version board with R-Car H3 ES2.0
4 * Copyright (C) 2015-2017 Renesas Electronics Corp.
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.
12 #include "r8a7795.dtsi"
13 #include "salvator-xs.dtsi"
16 model = "Renesas Salvator-X 2nd version board based on r8a7795 ES2.0+";
17 compatible = "renesas,salvator-xs", "renesas,r8a7795";
20 device_type = "memory";
21 /* first 128MB is reserved for secure area. */
22 reg = <0x0 0x48000000 0x0 0x38000000>;
26 device_type = "memory";
27 reg = <0x5 0x00000000 0x0 0x40000000>;
31 device_type = "memory";
32 reg = <0x6 0x00000000 0x0 0x40000000>;
36 device_type = "memory";
37 reg = <0x7 0x00000000 0x0 0x40000000>;
42 clocks = <&cpg CPG_MOD 724>,
51 clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0",
52 "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
70 dais = <&rsnd_port0 /* ak4613 */
71 &rsnd_port1 /* HDMI0 */
72 &rsnd_port2>; /* HDMI1 */
81 rcar_dw_hdmi0_out: endpoint {
82 remote-endpoint = <&hdmi0_con>;
87 dw_hdmi0_snd_in: endpoint {
88 remote-endpoint = <&rsnd_endpoint1>;
95 remote-endpoint = <&rcar_dw_hdmi0_out>;
104 rcar_dw_hdmi1_out: endpoint {
105 remote-endpoint = <&hdmi1_con>;
110 dw_hdmi1_snd_in: endpoint {
111 remote-endpoint = <&rsnd_endpoint2>;
118 remote-endpoint = <&rcar_dw_hdmi1_out>;
132 /* rsnd_port0 is on salvator-common */
134 rsnd_endpoint1: endpoint {
135 remote-endpoint = <&dw_hdmi0_snd_in>;
138 bitclock-master = <&rsnd_endpoint1>;
139 frame-master = <&rsnd_endpoint1>;
145 rsnd_endpoint2: endpoint {
146 remote-endpoint = <&dw_hdmi1_snd_in>;
149 bitclock-master = <&rsnd_endpoint2>;
150 frame-master = <&rsnd_endpoint2>;
165 * - On Salvator-X[S], GP6_3[01] are connected to ADV7482 as irq pins
166 * (when SW31 is the default setting on Salvator-XS).
167 * - If SW31 is the default setting, you cannot use USB2.0 ch3 on
168 * r8a7795 with Salvator-XS.
169 * Hence the SW31 setting must be changed like 2) below.
170 * 1) Default setting of SW31: ON-ON-OFF-OFF-OFF-OFF:
171 * - Connect GP6_3[01] to ADV7842.
172 * 2) Changed setting of SW31: OFF-OFF-ON-ON-ON-ON:
173 * - Connect GP6_3[01] to BD082065 (USB2.0 ch3's host power).
174 * - Connect GP6_{04,21} to ADV7842.
176 usb2_ch3_pins: usb2_ch3 {
178 function = "usb2_ch3";
183 pinctrl-0 = <&usb2_pins>;
184 pinctrl-names = "default";
190 pinctrl-0 = <&usb2_ch3_pins>;
191 pinctrl-names = "default";