xref: /linux/scripts/dtc/include-prefixes/arm64/renesas/ulcb.dtsi (revision 786f3cc022f73973eda247a0f80f73971ebda764)
1253ed045SGeert Uytterhoeven/*
2253ed045SGeert Uytterhoeven * Device Tree Source for the R-Car Gen3 ULCB board
3253ed045SGeert Uytterhoeven *
4253ed045SGeert Uytterhoeven * Copyright (C) 2016 Renesas Electronics Corp.
5253ed045SGeert Uytterhoeven * Copyright (C) 2016 Cogent Embedded, Inc.
6253ed045SGeert Uytterhoeven *
7253ed045SGeert Uytterhoeven * This file is licensed under the terms of the GNU General Public License
8253ed045SGeert Uytterhoeven * version 2.  This program is licensed "as is" without any warranty of any
9253ed045SGeert Uytterhoeven * kind, whether express or implied.
10253ed045SGeert Uytterhoeven */
11253ed045SGeert Uytterhoeven
12253ed045SGeert Uytterhoeven#include <dt-bindings/gpio/gpio.h>
13253ed045SGeert Uytterhoeven#include <dt-bindings/input/input.h>
14253ed045SGeert Uytterhoeven
15253ed045SGeert Uytterhoeven/ {
16253ed045SGeert Uytterhoeven	model = "Renesas R-Car Gen3 ULCB board";
17253ed045SGeert Uytterhoeven
18253ed045SGeert Uytterhoeven	aliases {
19253ed045SGeert Uytterhoeven		serial0 = &scif2;
20253ed045SGeert Uytterhoeven		ethernet0 = &avb;
21253ed045SGeert Uytterhoeven	};
22253ed045SGeert Uytterhoeven
23253ed045SGeert Uytterhoeven	chosen {
24253ed045SGeert Uytterhoeven		stdout-path = "serial0:115200n8";
25253ed045SGeert Uytterhoeven	};
26253ed045SGeert Uytterhoeven
27253ed045SGeert Uytterhoeven	audio_clkout: audio-clkout {
28253ed045SGeert Uytterhoeven		/*
29253ed045SGeert Uytterhoeven		 * This is same as <&rcar_sound 0>
30253ed045SGeert Uytterhoeven		 * but needed to avoid cs2000/rcar_sound probe dead-lock
31253ed045SGeert Uytterhoeven		 */
32253ed045SGeert Uytterhoeven		compatible = "fixed-clock";
33253ed045SGeert Uytterhoeven		#clock-cells = <0>;
34822cecb1SKuninori Morimoto		clock-frequency = <12288000>;
35253ed045SGeert Uytterhoeven	};
36253ed045SGeert Uytterhoeven
379f9b22e8SVladimir Barinov	hdmi0-out {
389f9b22e8SVladimir Barinov		compatible = "hdmi-connector";
399f9b22e8SVladimir Barinov		type = "a";
409f9b22e8SVladimir Barinov
419f9b22e8SVladimir Barinov		port {
429f9b22e8SVladimir Barinov			hdmi0_con: endpoint {
439f9b22e8SVladimir Barinov			};
449f9b22e8SVladimir Barinov		};
459f9b22e8SVladimir Barinov	};
469f9b22e8SVladimir Barinov
47253ed045SGeert Uytterhoeven	keyboard {
48253ed045SGeert Uytterhoeven		compatible = "gpio-keys";
49253ed045SGeert Uytterhoeven
50253ed045SGeert Uytterhoeven		key-1 {
51253ed045SGeert Uytterhoeven			linux,code = <KEY_1>;
52253ed045SGeert Uytterhoeven			label = "SW3";
53253ed045SGeert Uytterhoeven			wakeup-source;
54253ed045SGeert Uytterhoeven			debounce-interval = <20>;
55253ed045SGeert Uytterhoeven			gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
56253ed045SGeert Uytterhoeven		};
57253ed045SGeert Uytterhoeven	};
58253ed045SGeert Uytterhoeven
59253ed045SGeert Uytterhoeven	leds {
60253ed045SGeert Uytterhoeven		compatible = "gpio-leds";
61253ed045SGeert Uytterhoeven
62253ed045SGeert Uytterhoeven		led5 {
63253ed045SGeert Uytterhoeven			gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
64253ed045SGeert Uytterhoeven		};
65253ed045SGeert Uytterhoeven		led6 {
66253ed045SGeert Uytterhoeven			gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
67253ed045SGeert Uytterhoeven		};
68253ed045SGeert Uytterhoeven	};
69253ed045SGeert Uytterhoeven
70253ed045SGeert Uytterhoeven	reg_1p8v: regulator0 {
71253ed045SGeert Uytterhoeven		compatible = "regulator-fixed";
72253ed045SGeert Uytterhoeven		regulator-name = "fixed-1.8V";
73253ed045SGeert Uytterhoeven		regulator-min-microvolt = <1800000>;
74253ed045SGeert Uytterhoeven		regulator-max-microvolt = <1800000>;
75253ed045SGeert Uytterhoeven		regulator-boot-on;
76253ed045SGeert Uytterhoeven		regulator-always-on;
77253ed045SGeert Uytterhoeven	};
78253ed045SGeert Uytterhoeven
79253ed045SGeert Uytterhoeven	reg_3p3v: regulator1 {
80253ed045SGeert Uytterhoeven		compatible = "regulator-fixed";
81253ed045SGeert Uytterhoeven		regulator-name = "fixed-3.3V";
82253ed045SGeert Uytterhoeven		regulator-min-microvolt = <3300000>;
83253ed045SGeert Uytterhoeven		regulator-max-microvolt = <3300000>;
84253ed045SGeert Uytterhoeven		regulator-boot-on;
85253ed045SGeert Uytterhoeven		regulator-always-on;
86253ed045SGeert Uytterhoeven	};
87253ed045SGeert Uytterhoeven
88253ed045SGeert Uytterhoeven	rsnd_ak4613: sound {
89253ed045SGeert Uytterhoeven		compatible = "simple-audio-card";
90253ed045SGeert Uytterhoeven
91253ed045SGeert Uytterhoeven		simple-audio-card,format = "left_j";
92253ed045SGeert Uytterhoeven		simple-audio-card,bitclock-master = <&sndcpu>;
93253ed045SGeert Uytterhoeven		simple-audio-card,frame-master = <&sndcpu>;
94253ed045SGeert Uytterhoeven
95253ed045SGeert Uytterhoeven		sndcpu: simple-audio-card,cpu {
96253ed045SGeert Uytterhoeven			sound-dai = <&rcar_sound>;
97253ed045SGeert Uytterhoeven		};
98253ed045SGeert Uytterhoeven
99253ed045SGeert Uytterhoeven		sndcodec: simple-audio-card,codec {
100253ed045SGeert Uytterhoeven			sound-dai = <&ak4613>;
101253ed045SGeert Uytterhoeven		};
102253ed045SGeert Uytterhoeven	};
103253ed045SGeert Uytterhoeven
104253ed045SGeert Uytterhoeven	vcc_sdhi0: regulator-vcc-sdhi0 {
105253ed045SGeert Uytterhoeven		compatible = "regulator-fixed";
106253ed045SGeert Uytterhoeven
107253ed045SGeert Uytterhoeven		regulator-name = "SDHI0 Vcc";
108253ed045SGeert Uytterhoeven		regulator-min-microvolt = <3300000>;
109253ed045SGeert Uytterhoeven		regulator-max-microvolt = <3300000>;
110253ed045SGeert Uytterhoeven
111253ed045SGeert Uytterhoeven		gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
112253ed045SGeert Uytterhoeven		enable-active-high;
113253ed045SGeert Uytterhoeven	};
114253ed045SGeert Uytterhoeven
115253ed045SGeert Uytterhoeven	vccq_sdhi0: regulator-vccq-sdhi0 {
116253ed045SGeert Uytterhoeven		compatible = "regulator-gpio";
117253ed045SGeert Uytterhoeven
118253ed045SGeert Uytterhoeven		regulator-name = "SDHI0 VccQ";
119253ed045SGeert Uytterhoeven		regulator-min-microvolt = <1800000>;
120253ed045SGeert Uytterhoeven		regulator-max-microvolt = <3300000>;
121253ed045SGeert Uytterhoeven
122253ed045SGeert Uytterhoeven		gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
123253ed045SGeert Uytterhoeven		gpios-states = <1>;
124253ed045SGeert Uytterhoeven		states = <3300000 1
125253ed045SGeert Uytterhoeven			  1800000 0>;
126253ed045SGeert Uytterhoeven	};
127253ed045SGeert Uytterhoeven
128253ed045SGeert Uytterhoeven	x12_clk: x12 {
129253ed045SGeert Uytterhoeven		compatible = "fixed-clock";
130253ed045SGeert Uytterhoeven		#clock-cells = <0>;
131253ed045SGeert Uytterhoeven		clock-frequency = <24576000>;
132253ed045SGeert Uytterhoeven	};
1338cb6898cSVladimir Barinov
1348cb6898cSVladimir Barinov	x23_clk: x23-clock {
1358cb6898cSVladimir Barinov		compatible = "fixed-clock";
1368cb6898cSVladimir Barinov		#clock-cells = <0>;
1378cb6898cSVladimir Barinov		clock-frequency = <25000000>;
1388cb6898cSVladimir Barinov	};
139253ed045SGeert Uytterhoeven};
140253ed045SGeert Uytterhoeven
141253ed045SGeert Uytterhoeven&audio_clk_a {
142253ed045SGeert Uytterhoeven	clock-frequency = <22579200>;
143253ed045SGeert Uytterhoeven};
144253ed045SGeert Uytterhoeven
145253ed045SGeert Uytterhoeven&avb {
146253ed045SGeert Uytterhoeven	pinctrl-0 = <&avb_pins>;
147253ed045SGeert Uytterhoeven	pinctrl-names = "default";
148253ed045SGeert Uytterhoeven	phy-handle = <&phy0>;
149b3635b18SJacopo Mondi	phy-mode = "rgmii-txid";
150253ed045SGeert Uytterhoeven	status = "okay";
151253ed045SGeert Uytterhoeven
152253ed045SGeert Uytterhoeven	phy0: ethernet-phy@0 {
153253ed045SGeert Uytterhoeven		rxc-skew-ps = <1500>;
154253ed045SGeert Uytterhoeven		reg = <0>;
155253ed045SGeert Uytterhoeven		interrupt-parent = <&gpio2>;
156253ed045SGeert Uytterhoeven		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
157ef4a3bc8SGeert Uytterhoeven		reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
158253ed045SGeert Uytterhoeven	};
159253ed045SGeert Uytterhoeven};
160253ed045SGeert Uytterhoeven
1617da2ed12SLaurent Pinchart&du {
1627da2ed12SLaurent Pinchart	status = "okay";
1637da2ed12SLaurent Pinchart};
1647da2ed12SLaurent Pinchart
165253ed045SGeert Uytterhoeven&ehci1 {
166253ed045SGeert Uytterhoeven	status = "okay";
167253ed045SGeert Uytterhoeven};
168253ed045SGeert Uytterhoeven
169253ed045SGeert Uytterhoeven&extal_clk {
170253ed045SGeert Uytterhoeven	clock-frequency = <16666666>;
171253ed045SGeert Uytterhoeven};
172253ed045SGeert Uytterhoeven
173253ed045SGeert Uytterhoeven&extalr_clk {
174253ed045SGeert Uytterhoeven	clock-frequency = <32768>;
175253ed045SGeert Uytterhoeven};
176253ed045SGeert Uytterhoeven
1772a50b40fSVladimir Barinov&hdmi0 {
1782a50b40fSVladimir Barinov	status = "okay";
1792a50b40fSVladimir Barinov
1802a50b40fSVladimir Barinov	ports {
1812a50b40fSVladimir Barinov		port@1 {
1822a50b40fSVladimir Barinov			reg = <1>;
1832a50b40fSVladimir Barinov			rcar_dw_hdmi0_out: endpoint {
1842a50b40fSVladimir Barinov				remote-endpoint = <&hdmi0_con>;
1852a50b40fSVladimir Barinov			};
1862a50b40fSVladimir Barinov		};
1872a50b40fSVladimir Barinov	};
1882a50b40fSVladimir Barinov};
1892a50b40fSVladimir Barinov
1902a50b40fSVladimir Barinov&hdmi0_con {
1912a50b40fSVladimir Barinov	remote-endpoint = <&rcar_dw_hdmi0_out>;
1922a50b40fSVladimir Barinov};
1932a50b40fSVladimir Barinov
194253ed045SGeert Uytterhoeven&i2c2 {
195253ed045SGeert Uytterhoeven	pinctrl-0 = <&i2c2_pins>;
196253ed045SGeert Uytterhoeven	pinctrl-names = "default";
197253ed045SGeert Uytterhoeven
198253ed045SGeert Uytterhoeven	status = "okay";
199253ed045SGeert Uytterhoeven
200253ed045SGeert Uytterhoeven	clock-frequency = <100000>;
201253ed045SGeert Uytterhoeven
202253ed045SGeert Uytterhoeven	ak4613: codec@10 {
203253ed045SGeert Uytterhoeven		compatible = "asahi-kasei,ak4613";
204253ed045SGeert Uytterhoeven		#sound-dai-cells = <0>;
205253ed045SGeert Uytterhoeven		reg = <0x10>;
206253ed045SGeert Uytterhoeven		clocks = <&rcar_sound 3>;
207253ed045SGeert Uytterhoeven
208253ed045SGeert Uytterhoeven		asahi-kasei,in1-single-end;
209253ed045SGeert Uytterhoeven		asahi-kasei,in2-single-end;
210253ed045SGeert Uytterhoeven		asahi-kasei,out1-single-end;
211253ed045SGeert Uytterhoeven		asahi-kasei,out2-single-end;
212253ed045SGeert Uytterhoeven		asahi-kasei,out3-single-end;
213253ed045SGeert Uytterhoeven		asahi-kasei,out4-single-end;
214253ed045SGeert Uytterhoeven		asahi-kasei,out5-single-end;
215253ed045SGeert Uytterhoeven		asahi-kasei,out6-single-end;
216253ed045SGeert Uytterhoeven	};
217253ed045SGeert Uytterhoeven
218253ed045SGeert Uytterhoeven	cs2000: clk-multiplier@4f {
219253ed045SGeert Uytterhoeven		#clock-cells = <0>;
220253ed045SGeert Uytterhoeven		compatible = "cirrus,cs2000-cp";
221253ed045SGeert Uytterhoeven		reg = <0x4f>;
222253ed045SGeert Uytterhoeven		clocks = <&audio_clkout>, <&x12_clk>;
223253ed045SGeert Uytterhoeven		clock-names = "clk_in", "ref_clk";
224253ed045SGeert Uytterhoeven
225253ed045SGeert Uytterhoeven		assigned-clocks = <&cs2000>;
226253ed045SGeert Uytterhoeven		assigned-clock-rates = <24576000>; /* 1/1 divide */
227253ed045SGeert Uytterhoeven	};
228253ed045SGeert Uytterhoeven};
229253ed045SGeert Uytterhoeven
230476b2e4fSVladimir Barinov&i2c4 {
231476b2e4fSVladimir Barinov	status = "okay";
232476b2e4fSVladimir Barinov
233476b2e4fSVladimir Barinov	clock-frequency = <400000>;
2348cb6898cSVladimir Barinov
2358cb6898cSVladimir Barinov	versaclock5: clock-generator@6a {
2368cb6898cSVladimir Barinov		compatible = "idt,5p49v5925";
2378cb6898cSVladimir Barinov		reg = <0x6a>;
2388cb6898cSVladimir Barinov		#clock-cells = <1>;
2398cb6898cSVladimir Barinov		clocks = <&x23_clk>;
2408cb6898cSVladimir Barinov		clock-names = "xin";
2418cb6898cSVladimir Barinov	};
242476b2e4fSVladimir Barinov};
243476b2e4fSVladimir Barinov
244a4fedb3aSVladimir Barinov&i2c_dvfs {
245a4fedb3aSVladimir Barinov	status = "okay";
246*786f3cc0SGeert Uytterhoeven
247*786f3cc0SGeert Uytterhoeven	pmic: pmic@30 {
248*786f3cc0SGeert Uytterhoeven		pinctrl-0 = <&irq0_pins>;
249*786f3cc0SGeert Uytterhoeven		pinctrl-names = "default";
250*786f3cc0SGeert Uytterhoeven
251*786f3cc0SGeert Uytterhoeven		compatible = "rohm,bd9571mwv";
252*786f3cc0SGeert Uytterhoeven		reg = <0x30>;
253*786f3cc0SGeert Uytterhoeven		interrupt-parent = <&intc_ex>;
254*786f3cc0SGeert Uytterhoeven		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
255*786f3cc0SGeert Uytterhoeven		interrupt-controller;
256*786f3cc0SGeert Uytterhoeven		#interrupt-cells = <2>;
257*786f3cc0SGeert Uytterhoeven		gpio-controller;
258*786f3cc0SGeert Uytterhoeven		#gpio-cells = <2>;
259*786f3cc0SGeert Uytterhoeven
260*786f3cc0SGeert Uytterhoeven		regulators {
261*786f3cc0SGeert Uytterhoeven			dvfs: dvfs {
262*786f3cc0SGeert Uytterhoeven				regulator-name = "dvfs";
263*786f3cc0SGeert Uytterhoeven				regulator-min-microvolt = <750000>;
264*786f3cc0SGeert Uytterhoeven				regulator-max-microvolt = <1030000>;
265*786f3cc0SGeert Uytterhoeven				regulator-boot-on;
266*786f3cc0SGeert Uytterhoeven				regulator-always-on;
267*786f3cc0SGeert Uytterhoeven			};
268*786f3cc0SGeert Uytterhoeven		};
269*786f3cc0SGeert Uytterhoeven	};
270a4fedb3aSVladimir Barinov};
271a4fedb3aSVladimir Barinov
272253ed045SGeert Uytterhoeven&ohci1 {
273253ed045SGeert Uytterhoeven	status = "okay";
274253ed045SGeert Uytterhoeven};
275253ed045SGeert Uytterhoeven
276253ed045SGeert Uytterhoeven&pfc {
277253ed045SGeert Uytterhoeven	pinctrl-0 = <&scif_clk_pins>;
278253ed045SGeert Uytterhoeven	pinctrl-names = "default";
279253ed045SGeert Uytterhoeven
280253ed045SGeert Uytterhoeven	avb_pins: avb {
281133ace3fSSimon Horman		mux {
2821518ad14SGeert Uytterhoeven			groups = "avb_link", "avb_mdio", "avb_mii";
283253ed045SGeert Uytterhoeven			function = "avb";
284253ed045SGeert Uytterhoeven		};
285253ed045SGeert Uytterhoeven
2861518ad14SGeert Uytterhoeven		pins_mdio {
2871518ad14SGeert Uytterhoeven			groups = "avb_mdio";
288133ace3fSSimon Horman			drive-strength = <24>;
289133ace3fSSimon Horman		};
290133ace3fSSimon Horman
291133ace3fSSimon Horman		pins_mii_tx {
292133ace3fSSimon Horman			pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0",
293133ace3fSSimon Horman			       "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3";
294133ace3fSSimon Horman			drive-strength = <12>;
295133ace3fSSimon Horman		};
296133ace3fSSimon Horman	};
297133ace3fSSimon Horman
298253ed045SGeert Uytterhoeven	i2c2_pins: i2c2 {
299253ed045SGeert Uytterhoeven		groups = "i2c2_a";
300253ed045SGeert Uytterhoeven		function = "i2c2";
301253ed045SGeert Uytterhoeven	};
302253ed045SGeert Uytterhoeven
303*786f3cc0SGeert Uytterhoeven	irq0_pins: irq0 {
304*786f3cc0SGeert Uytterhoeven		groups = "intc_ex_irq0";
305*786f3cc0SGeert Uytterhoeven		function = "intc_ex";
306*786f3cc0SGeert Uytterhoeven	};
307*786f3cc0SGeert Uytterhoeven
308253ed045SGeert Uytterhoeven	scif2_pins: scif2 {
309253ed045SGeert Uytterhoeven		groups = "scif2_data_a";
310253ed045SGeert Uytterhoeven		function = "scif2";
311253ed045SGeert Uytterhoeven	};
312253ed045SGeert Uytterhoeven
313253ed045SGeert Uytterhoeven	scif_clk_pins: scif_clk {
314253ed045SGeert Uytterhoeven		groups = "scif_clk_a";
315253ed045SGeert Uytterhoeven		function = "scif_clk";
316253ed045SGeert Uytterhoeven	};
317253ed045SGeert Uytterhoeven
318253ed045SGeert Uytterhoeven	sdhi0_pins: sd0 {
319253ed045SGeert Uytterhoeven		groups = "sdhi0_data4", "sdhi0_ctrl";
320253ed045SGeert Uytterhoeven		function = "sdhi0";
321253ed045SGeert Uytterhoeven		power-source = <3300>;
322253ed045SGeert Uytterhoeven	};
323253ed045SGeert Uytterhoeven
324253ed045SGeert Uytterhoeven	sdhi0_pins_uhs: sd0_uhs {
325253ed045SGeert Uytterhoeven		groups = "sdhi0_data4", "sdhi0_ctrl";
326253ed045SGeert Uytterhoeven		function = "sdhi0";
327253ed045SGeert Uytterhoeven		power-source = <1800>;
328253ed045SGeert Uytterhoeven	};
329253ed045SGeert Uytterhoeven
330253ed045SGeert Uytterhoeven	sdhi2_pins: sd2 {
331253ed045SGeert Uytterhoeven		groups = "sdhi2_data8", "sdhi2_ctrl";
332253ed045SGeert Uytterhoeven		function = "sdhi2";
333253ed045SGeert Uytterhoeven		power-source = <3300>;
334253ed045SGeert Uytterhoeven	};
335253ed045SGeert Uytterhoeven
336253ed045SGeert Uytterhoeven	sdhi2_pins_uhs: sd2_uhs {
337253ed045SGeert Uytterhoeven		groups = "sdhi2_data8", "sdhi2_ctrl";
338253ed045SGeert Uytterhoeven		function = "sdhi2";
339253ed045SGeert Uytterhoeven		power-source = <1800>;
340253ed045SGeert Uytterhoeven	};
341253ed045SGeert Uytterhoeven
342253ed045SGeert Uytterhoeven	sound_pins: sound {
343253ed045SGeert Uytterhoeven		groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a";
344253ed045SGeert Uytterhoeven		function = "ssi";
345253ed045SGeert Uytterhoeven	};
346253ed045SGeert Uytterhoeven
347253ed045SGeert Uytterhoeven	sound_clk_pins: sound-clk {
348253ed045SGeert Uytterhoeven		groups = "audio_clk_a_a", "audio_clk_b_a", "audio_clk_c_a",
349253ed045SGeert Uytterhoeven			 "audio_clkout_a", "audio_clkout3_a";
350253ed045SGeert Uytterhoeven		function = "audio_clk";
351253ed045SGeert Uytterhoeven	};
352253ed045SGeert Uytterhoeven
353253ed045SGeert Uytterhoeven	usb1_pins: usb1 {
354253ed045SGeert Uytterhoeven		groups = "usb1";
355253ed045SGeert Uytterhoeven		function = "usb1";
356253ed045SGeert Uytterhoeven	};
357253ed045SGeert Uytterhoeven};
358253ed045SGeert Uytterhoeven
359253ed045SGeert Uytterhoeven&rcar_sound {
360253ed045SGeert Uytterhoeven	pinctrl-0 = <&sound_pins &sound_clk_pins>;
361253ed045SGeert Uytterhoeven	pinctrl-names = "default";
362253ed045SGeert Uytterhoeven
363253ed045SGeert Uytterhoeven	/* Single DAI */
364253ed045SGeert Uytterhoeven	#sound-dai-cells = <0>;
365253ed045SGeert Uytterhoeven
366253ed045SGeert Uytterhoeven	/* audio_clkout0/1/2/3 */
367253ed045SGeert Uytterhoeven	#clock-cells = <1>;
3682752660aSVladimir Barinov	clock-frequency = <12288000 11289600>;
369253ed045SGeert Uytterhoeven
370253ed045SGeert Uytterhoeven	status = "okay";
371253ed045SGeert Uytterhoeven
372253ed045SGeert Uytterhoeven	/* update <audio_clk_b> to <cs2000> */
373253ed045SGeert Uytterhoeven	clocks = <&cpg CPG_MOD 1005>,
374253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
375253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
376253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
377253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
378253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
379253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
380253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
381253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
382253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
383253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
384253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
385253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
386253ed045SGeert Uytterhoeven		 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
387253ed045SGeert Uytterhoeven		 <&audio_clk_a>, <&cs2000>,
388253ed045SGeert Uytterhoeven		 <&audio_clk_c>,
389253ed045SGeert Uytterhoeven		 <&cpg CPG_CORE CPG_AUDIO_CLK_I>;
390253ed045SGeert Uytterhoeven
391253ed045SGeert Uytterhoeven	rcar_sound,dai {
392253ed045SGeert Uytterhoeven		dai0 {
393253ed045SGeert Uytterhoeven			playback = <&ssi0 &src0 &dvc0>;
394253ed045SGeert Uytterhoeven			capture  = <&ssi1 &src1 &dvc1>;
395253ed045SGeert Uytterhoeven		};
396253ed045SGeert Uytterhoeven	};
397253ed045SGeert Uytterhoeven};
398253ed045SGeert Uytterhoeven
399253ed045SGeert Uytterhoeven&scif2 {
400253ed045SGeert Uytterhoeven	pinctrl-0 = <&scif2_pins>;
401253ed045SGeert Uytterhoeven	pinctrl-names = "default";
402253ed045SGeert Uytterhoeven
403253ed045SGeert Uytterhoeven	status = "okay";
404253ed045SGeert Uytterhoeven};
405253ed045SGeert Uytterhoeven
406253ed045SGeert Uytterhoeven&scif_clk {
407253ed045SGeert Uytterhoeven	clock-frequency = <14745600>;
408253ed045SGeert Uytterhoeven};
409253ed045SGeert Uytterhoeven
410253ed045SGeert Uytterhoeven&sdhi0 {
411253ed045SGeert Uytterhoeven	pinctrl-0 = <&sdhi0_pins>;
412253ed045SGeert Uytterhoeven	pinctrl-1 = <&sdhi0_pins_uhs>;
413253ed045SGeert Uytterhoeven	pinctrl-names = "default", "state_uhs";
414253ed045SGeert Uytterhoeven
415253ed045SGeert Uytterhoeven	vmmc-supply = <&vcc_sdhi0>;
416253ed045SGeert Uytterhoeven	vqmmc-supply = <&vccq_sdhi0>;
417253ed045SGeert Uytterhoeven	cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
418253ed045SGeert Uytterhoeven	bus-width = <4>;
419253ed045SGeert Uytterhoeven	sd-uhs-sdr50;
420253ed045SGeert Uytterhoeven	status = "okay";
421253ed045SGeert Uytterhoeven};
422253ed045SGeert Uytterhoeven
423253ed045SGeert Uytterhoeven&sdhi2 {
424253ed045SGeert Uytterhoeven	/* used for on-board 8bit eMMC */
425253ed045SGeert Uytterhoeven	pinctrl-0 = <&sdhi2_pins>;
426253ed045SGeert Uytterhoeven	pinctrl-1 = <&sdhi2_pins_uhs>;
427253ed045SGeert Uytterhoeven	pinctrl-names = "default", "state_uhs";
428253ed045SGeert Uytterhoeven
429253ed045SGeert Uytterhoeven	vmmc-supply = <&reg_3p3v>;
430253ed045SGeert Uytterhoeven	vqmmc-supply = <&reg_1p8v>;
431253ed045SGeert Uytterhoeven	bus-width = <8>;
432253ed045SGeert Uytterhoeven	mmc-hs200-1_8v;
433253ed045SGeert Uytterhoeven	non-removable;
434253ed045SGeert Uytterhoeven	status = "okay";
435253ed045SGeert Uytterhoeven};
436253ed045SGeert Uytterhoeven
437253ed045SGeert Uytterhoeven&ssi1 {
438253ed045SGeert Uytterhoeven	shared-pin;
439253ed045SGeert Uytterhoeven};
440253ed045SGeert Uytterhoeven
441253ed045SGeert Uytterhoeven&usb2_phy1 {
442253ed045SGeert Uytterhoeven	pinctrl-0 = <&usb1_pins>;
443253ed045SGeert Uytterhoeven	pinctrl-names = "default";
444253ed045SGeert Uytterhoeven
445253ed045SGeert Uytterhoeven	status = "okay";
446253ed045SGeert Uytterhoeven};
447253ed045SGeert Uytterhoeven
448253ed045SGeert Uytterhoeven&wdt0 {
449253ed045SGeert Uytterhoeven	timeout-sec = <60>;
450253ed045SGeert Uytterhoeven	status = "okay";
451253ed045SGeert Uytterhoeven};
452