ulcb.dtsi (82ffd0454bd9bd57780966d47bfd56d579dd4fb3) ulcb.dtsi (e536d27e923c090e492b7e83e3f1267f7b74ebb7)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the R-Car Gen3 ULCB board
4 *
5 * Copyright (C) 2016 Renesas Electronics Corp.
6 * Copyright (C) 2016 Cogent Embedded, Inc.
7 */
8
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the R-Car Gen3 ULCB board
4 *
5 * Copyright (C) 2016 Renesas Electronics Corp.
6 * Copyright (C) 2016 Cogent Embedded, Inc.
7 */
8
9/*
10 * SSI-AK4613
11 * aplay -D plughw:0,0 xxx.wav
12 * arecord -D plughw:0,0 xxx.wav
13 * SSI-HDMI
14 * aplay -D plughw:0,1 xxx.wav
15 */
16
9#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/input/input.h>
11
12/ {
13 model = "Renesas R-Car Gen3 ULCB board";
14
15 aliases {
16 serial0 = &scif2;

--- 61 unchanged lines hidden (view full) ---

78 compatible = "regulator-fixed";
79 regulator-name = "fixed-3.3V";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
82 regulator-boot-on;
83 regulator-always-on;
84 };
85
17#include <dt-bindings/gpio/gpio.h>
18#include <dt-bindings/input/input.h>
19
20/ {
21 model = "Renesas R-Car Gen3 ULCB board";
22
23 aliases {
24 serial0 = &scif2;

--- 61 unchanged lines hidden (view full) ---

86 compatible = "regulator-fixed";
87 regulator-name = "fixed-3.3V";
88 regulator-min-microvolt = <3300000>;
89 regulator-max-microvolt = <3300000>;
90 regulator-boot-on;
91 regulator-always-on;
92 };
93
86 rsnd_ak4613: sound {
87 compatible = "simple-audio-card";
94 sound_card: sound {
95 compatible = "audio-graph-card";
96 label = "rcar-sound";
88
97
89 simple-audio-card,format = "left_j";
90 simple-audio-card,bitclock-master = <&sndcpu>;
91 simple-audio-card,frame-master = <&sndcpu>;
92
93 sndcpu: simple-audio-card,cpu {
94 sound-dai = <&rcar_sound>;
95 };
96
97 sndcodec: simple-audio-card,codec {
98 sound-dai = <&ak4613>;
99 };
98 dais = <&rsnd_port0 /* ak4613 */
99 &rsnd_port1 /* HDMI0 */
100 >;
100 };
101
102 vcc_sdhi0: regulator-vcc-sdhi0 {
103 compatible = "regulator-fixed";
104
105 regulator-name = "SDHI0 Vcc";
106 regulator-min-microvolt = <3300000>;
107 regulator-max-microvolt = <3300000>;

--- 69 unchanged lines hidden (view full) ---

177
178 ports {
179 port@1 {
180 reg = <1>;
181 rcar_dw_hdmi0_out: endpoint {
182 remote-endpoint = <&hdmi0_con>;
183 };
184 };
101 };
102
103 vcc_sdhi0: regulator-vcc-sdhi0 {
104 compatible = "regulator-fixed";
105
106 regulator-name = "SDHI0 Vcc";
107 regulator-min-microvolt = <3300000>;
108 regulator-max-microvolt = <3300000>;

--- 69 unchanged lines hidden (view full) ---

178
179 ports {
180 port@1 {
181 reg = <1>;
182 rcar_dw_hdmi0_out: endpoint {
183 remote-endpoint = <&hdmi0_con>;
184 };
185 };
186 port@2 {
187 reg = <2>;
188 dw_hdmi0_snd_in: endpoint {
189 remote-endpoint = <&rsnd_for_hdmi>;
190 };
191 };
185 };
186};
187
188&hdmi0_con {
189 remote-endpoint = <&rcar_dw_hdmi0_out>;
190};
191
192&i2c2 {

--- 13 unchanged lines hidden (view full) ---

206 asahi-kasei,in1-single-end;
207 asahi-kasei,in2-single-end;
208 asahi-kasei,out1-single-end;
209 asahi-kasei,out2-single-end;
210 asahi-kasei,out3-single-end;
211 asahi-kasei,out4-single-end;
212 asahi-kasei,out5-single-end;
213 asahi-kasei,out6-single-end;
192 };
193};
194
195&hdmi0_con {
196 remote-endpoint = <&rcar_dw_hdmi0_out>;
197};
198
199&i2c2 {

--- 13 unchanged lines hidden (view full) ---

213 asahi-kasei,in1-single-end;
214 asahi-kasei,in2-single-end;
215 asahi-kasei,out1-single-end;
216 asahi-kasei,out2-single-end;
217 asahi-kasei,out3-single-end;
218 asahi-kasei,out4-single-end;
219 asahi-kasei,out5-single-end;
220 asahi-kasei,out6-single-end;
221
222 port {
223 ak4613_endpoint: endpoint {
224 remote-endpoint = <&rsnd_for_ak4613>;
225 };
226 };
214 };
215
216 cs2000: clk-multiplier@4f {
217 #clock-cells = <0>;
218 compatible = "cirrus,cs2000-cp";
219 reg = <0x4f>;
220 clocks = <&audio_clkout>, <&x12_clk>;
221 clock-names = "clk_in", "ref_clk";

--- 157 unchanged lines hidden (view full) ---

379 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
380 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
381 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
382 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
383 <&audio_clk_a>, <&cs2000>,
384 <&audio_clk_c>,
385 <&cpg CPG_CORE CPG_AUDIO_CLK_I>;
386
227 };
228
229 cs2000: clk-multiplier@4f {
230 #clock-cells = <0>;
231 compatible = "cirrus,cs2000-cp";
232 reg = <0x4f>;
233 clocks = <&audio_clkout>, <&x12_clk>;
234 clock-names = "clk_in", "ref_clk";

--- 157 unchanged lines hidden (view full) ---

392 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
393 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
394 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
395 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
396 <&audio_clk_a>, <&cs2000>,
397 <&audio_clk_c>,
398 <&cpg CPG_CORE CPG_AUDIO_CLK_I>;
399
387 rcar_sound,dai {
388 dai0 {
389 playback = <&ssi0 &src0 &dvc0>;
390 capture = <&ssi1 &src1 &dvc1>;
400 ports {
401 #address-cells = <1>;
402 #size-cells = <0>;
403 rsnd_port0: port@0 {
404 reg = <0>;
405 rsnd_for_ak4613: endpoint {
406 remote-endpoint = <&ak4613_endpoint>;
407
408 dai-format = "left_j";
409 bitclock-master = <&rsnd_for_ak4613>;
410 frame-master = <&rsnd_for_ak4613>;
411
412 playback = <&ssi0 &src0 &dvc0>;
413 capture = <&ssi1 &src1 &dvc1>;
414 };
391 };
415 };
416 rsnd_port1: port@1 {
417 reg = <1>;
418 rsnd_for_hdmi: endpoint {
419 remote-endpoint = <&dw_hdmi0_snd_in>;
420
421 dai-format = "i2s";
422 bitclock-master = <&rsnd_for_hdmi>;
423 frame-master = <&rsnd_for_hdmi>;
424
425 playback = <&ssi2>;
426 };
427 };
392 };
393};
394
395&scif2 {
396 pinctrl-0 = <&scif2_pins>;
397 pinctrl-names = "default";
398
399 status = "okay";

--- 22 unchanged lines hidden (view full) ---

422 pinctrl-0 = <&sdhi2_pins>;
423 pinctrl-1 = <&sdhi2_pins>;
424 pinctrl-names = "default", "state_uhs";
425
426 vmmc-supply = <&reg_3p3v>;
427 vqmmc-supply = <&reg_1p8v>;
428 bus-width = <8>;
429 mmc-hs200-1_8v;
428 };
429};
430
431&scif2 {
432 pinctrl-0 = <&scif2_pins>;
433 pinctrl-names = "default";
434
435 status = "okay";

--- 22 unchanged lines hidden (view full) ---

458 pinctrl-0 = <&sdhi2_pins>;
459 pinctrl-1 = <&sdhi2_pins>;
460 pinctrl-names = "default", "state_uhs";
461
462 vmmc-supply = <&reg_3p3v>;
463 vqmmc-supply = <&reg_1p8v>;
464 bus-width = <8>;
465 mmc-hs200-1_8v;
466 mmc-hs400-1_8v;
430 non-removable;
431 status = "okay";
432};
433
434&ssi1 {
435 shared-pin;
436};
437
438&usb2_phy1 {
439 pinctrl-0 = <&usb1_pins>;
440 pinctrl-names = "default";
441
442 status = "okay";
443};
444
445&rwdt {
446 timeout-sec = <60>;
447 status = "okay";
448};
467 non-removable;
468 status = "okay";
469};
470
471&ssi1 {
472 shared-pin;
473};
474
475&usb2_phy1 {
476 pinctrl-0 = <&usb1_pins>;
477 pinctrl-names = "default";
478
479 status = "okay";
480};
481
482&rwdt {
483 timeout-sec = <60>;
484 status = "okay";
485};