1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Salvator-X 2nd version board with R-Car H3 ES2.0
5 * Copyright (C) 2015-2017 Renesas Electronics Corp.
9 #include "r8a7795.dtsi"
10 #include "salvator-xs.dtsi"
13 model = "Renesas Salvator-X 2nd version board based on r8a7795 ES2.0+";
14 compatible = "renesas,salvator-xs", "renesas,r8a7795";
17 device_type = "memory";
18 /* first 128MB is reserved for secure area. */
19 reg = <0x0 0x48000000 0x0 0x38000000>;
23 device_type = "memory";
24 reg = <0x5 0x00000000 0x0 0x40000000>;
28 device_type = "memory";
29 reg = <0x6 0x00000000 0x0 0x40000000>;
33 device_type = "memory";
34 reg = <0x7 0x00000000 0x0 0x40000000>;
39 clocks = <&cpg CPG_MOD 724>,
48 clock-names = "du.0", "du.1", "du.2", "du.3", "lvds.0",
49 "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
67 dais = <&rsnd_port0 /* ak4613 */
68 &rsnd_port1 /* HDMI0 */
69 &rsnd_port2>; /* HDMI1 */
78 rcar_dw_hdmi0_out: endpoint {
79 remote-endpoint = <&hdmi0_con>;
84 dw_hdmi0_snd_in: endpoint {
85 remote-endpoint = <&rsnd_endpoint1>;
92 remote-endpoint = <&rcar_dw_hdmi0_out>;
101 rcar_dw_hdmi1_out: endpoint {
102 remote-endpoint = <&hdmi1_con>;
107 dw_hdmi1_snd_in: endpoint {
108 remote-endpoint = <&rsnd_endpoint2>;
115 remote-endpoint = <&rcar_dw_hdmi1_out>;
129 /* rsnd_port0 is on salvator-common */
131 rsnd_endpoint1: endpoint {
132 remote-endpoint = <&dw_hdmi0_snd_in>;
135 bitclock-master = <&rsnd_endpoint1>;
136 frame-master = <&rsnd_endpoint1>;
142 rsnd_endpoint2: endpoint {
143 remote-endpoint = <&dw_hdmi1_snd_in>;
146 bitclock-master = <&rsnd_endpoint2>;
147 frame-master = <&rsnd_endpoint2>;
162 * - On Salvator-X[S], GP6_3[01] are connected to ADV7482 as irq pins
163 * (when SW31 is the default setting on Salvator-XS).
164 * - If SW31 is the default setting, you cannot use USB2.0 ch3 on
165 * r8a7795 with Salvator-XS.
166 * Hence the SW31 setting must be changed like 2) below.
167 * 1) Default setting of SW31: ON-ON-OFF-OFF-OFF-OFF:
168 * - Connect GP6_3[01] to ADV7842.
169 * 2) Changed setting of SW31: OFF-OFF-ON-ON-ON-ON:
170 * - Connect GP6_3[01] to BD082065 (USB2.0 ch3's host power).
171 * - Connect GP6_{04,21} to ADV7842.
173 usb2_ch3_pins: usb2_ch3 {
175 function = "usb2_ch3";
180 pinctrl-0 = <&usb2_pins>;
181 pinctrl-names = "default";
187 pinctrl-0 = <&usb2_ch3_pins>;
188 pinctrl-names = "default";