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 "r8a77951.dtsi"
10 #include "salvator-xs.dtsi"
13 model = "Renesas Salvator-X 2nd version board based on r8a77951";
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>,
47 clock-names = "du.0", "du.1", "du.2", "du.3",
48 "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3";
66 rcar_dw_hdmi1_out: endpoint {
67 remote-endpoint = <&hdmi1_con>;
72 dw_hdmi1_snd_in: endpoint {
73 remote-endpoint = <&rsnd_endpoint2>;
80 remote-endpoint = <&rcar_dw_hdmi1_out>;
98 pcie-sata-switch-hog {
100 gpios = <7 GPIO_ACTIVE_HIGH>;
101 output-low; /* enable SATA by default */
102 line-name = "PCIE/SATA switch";
113 * - On Salvator-X[S], GP6_3[01] are connected to ADV7482 as irq pins
114 * (when SW31 is the default setting on Salvator-XS).
115 * - If SW31 is the default setting, you cannot use USB2.0 ch3 on
116 * r8a77951 with Salvator-XS.
117 * Hence the SW31 setting must be changed like 2) below.
118 * 1) Default setting of SW31: ON-ON-OFF-OFF-OFF-OFF:
119 * - Connect GP6_3[01] to ADV7842.
120 * 2) Changed setting of SW31: OFF-OFF-ON-ON-ON-ON:
121 * - Connect GP6_3[01] to BD082065 (USB2.0 ch3's host power).
122 * - Connect GP6_{04,21} to ADV7842.
124 usb2_ch3_pins: usb2_ch3 {
126 function = "usb2_ch3";
132 /* rsnd_port0/1 are described in salvator-common.dtsi */
135 rsnd_endpoint2: endpoint {
136 remote-endpoint = <&dw_hdmi1_snd_in>;
139 bitclock-master = <&rsnd_endpoint2>;
140 frame-master = <&rsnd_endpoint2>;
148 /* SW12-7 must be set 'Off' (MD12 set to 1) which is not the default! */
154 dais = <&rsnd_port0 /* ak4613 */
155 &rsnd_port1 /* HDMI0 */
156 &rsnd_port2>; /* HDMI1 */
160 pinctrl-0 = <&usb2_pins>;
161 pinctrl-names = "default";
167 pinctrl-0 = <&usb2_ch3_pins>;
168 pinctrl-names = "default";