1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Device Tree Source for the ebisu board
5 * Copyright (C) 2018 Renesas Electronics Corp.
9 #include "r8a77990.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
13 model = "Renesas Ebisu board based on r8a77990";
14 compatible = "renesas,ebisu", "renesas,r8a77990";
22 bootargs = "ignore_loglevel";
23 stdout-path = "serial0:115200n8";
27 device_type = "memory";
28 /* first 128MB is reserved for secure area. */
29 reg = <0x0 0x48000000 0x0 0x38000000>;
32 audio_clkout: audio-clkout {
34 * This is same as <&rcar_sound 0>
35 * but needed to avoid cs2000/rcar_sound probe dead-lock
37 compatible = "fixed-clock";
39 clock-frequency = <11289600>;
43 compatible = "composite-video-connector";
48 remote-endpoint = <&adv7482_ain7>;
54 compatible = "hdmi-connector";
59 hdmi_in_con: endpoint {
60 remote-endpoint = <&adv7482_hdmi>;
66 compatible = "hdmi-connector";
70 hdmi_con_out: endpoint {
71 remote-endpoint = <&adv7511_out>;
77 compatible = "thine,thc63lvd1024";
78 vcc-supply = <®_3p3v>;
86 thc63lvd1024_in: endpoint {
87 remote-endpoint = <&lvds0_out>;
93 thc63lvd1024_out: endpoint {
94 remote-endpoint = <&adv7511_in>;
101 compatible = "vga-connector";
105 remote-endpoint = <&adv7123_out>;
111 compatible = "adi,adv7123";
114 #address-cells = <1>;
119 adv7123_in: endpoint {
120 remote-endpoint = <&du_out_rgb>;
125 adv7123_out: endpoint {
126 remote-endpoint = <&vga_in>;
132 reg_3p3v: regulator1 {
133 compatible = "regulator-fixed";
134 regulator-name = "fixed-3.3V";
135 regulator-min-microvolt = <3300000>;
136 regulator-max-microvolt = <3300000>;
141 vbus0_usb2: regulator-vbus0-usb2 {
142 compatible = "regulator-fixed";
144 regulator-name = "USB20_VBUS_CN";
145 regulator-min-microvolt = <5000000>;
146 regulator-max-microvolt = <5000000>;
148 gpio = <&gpio6 4 GPIO_ACTIVE_HIGH>;
153 compatible = "simple-scu-audio-card";
155 simple-audio-card,name = "rsnd-ak4613";
156 simple-audio-card,format = "left_j";
157 simple-audio-card,bitclock-master = <&sndcpu>;
158 simple-audio-card,frame-master = <&sndcpu>;
160 simple-audio-card,prefix = "ak4613";
161 simple-audio-card,routing = "ak4613 Playback", "DAI0 Playback",
162 "DAI0 Capture", "ak4613 Capture";
163 sndcpu: simple-audio-card,cpu {
164 sound-dai = <&rcar_sound>;
167 sndcodec: simple-audio-card,codec {
168 sound-dai = <&ak4613>;
173 compatible = "fixed-clock";
175 clock-frequency = <24576000>;
179 compatible = "fixed-clock";
181 clock-frequency = <74250000>;
186 clock-frequency = <22579200>;
190 pinctrl-0 = <&avb_pins>;
191 pinctrl-names = "default";
192 renesas,no-ether-link;
193 phy-handle = <&phy0>;
194 phy-mode = "rgmii-txid";
197 phy0: ethernet-phy@0 {
198 rxc-skew-ps = <1500>;
200 interrupt-parent = <&gpio2>;
201 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
202 reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
216 remote-endpoint = <&adv7482_txa>;
223 pinctrl-0 = <&du_pins>;
224 pinctrl-names = "default";
227 clocks = <&cpg CPG_MOD 724>,
230 clock-names = "du.0", "du.1", "dclkin.0";
235 remote-endpoint = <&adv7123_in>;
247 clock-frequency = <48000000>;
259 compatible = "adi,adv7511w";
261 interrupt-parent = <&gpio1>;
262 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
264 adi,input-depth = <8>;
265 adi,input-colorspace = "rgb";
266 adi,input-clock = "1x";
267 adi,input-style = <1>;
268 adi,input-justification = "evenly";
271 #address-cells = <1>;
276 adv7511_in: endpoint {
277 remote-endpoint = <&thc63lvd1024_out>;
283 adv7511_out: endpoint {
284 remote-endpoint = <&hdmi_con_out>;
291 compatible = "adi,adv7482";
294 #address-cells = <1>;
297 interrupt-parent = <&gpio0>;
298 interrupt-names = "intrq1", "intrq2";
299 interrupts = <7 IRQ_TYPE_LEVEL_LOW>,
300 <17 IRQ_TYPE_LEVEL_LOW>;
305 adv7482_ain7: endpoint {
306 remote-endpoint = <&cvbs_con>;
313 adv7482_hdmi: endpoint {
314 remote-endpoint = <&hdmi_in_con>;
321 adv7482_txa: endpoint {
324 remote-endpoint = <&csi40_in>;
334 compatible = "asahi-kasei,ak4613";
335 #sound-dai-cells = <0>;
337 clocks = <&rcar_sound 3>;
339 asahi-kasei,in1-single-end;
340 asahi-kasei,in2-single-end;
341 asahi-kasei,out1-single-end;
342 asahi-kasei,out2-single-end;
343 asahi-kasei,out3-single-end;
344 asahi-kasei,out4-single-end;
345 asahi-kasei,out5-single-end;
346 asahi-kasei,out6-single-end;
349 cs2000: clk-multiplier@4f {
351 compatible = "cirrus,cs2000-cp";
353 clocks = <&audio_clkout>, <&x12_clk>;
354 clock-names = "clk_in", "ref_clk";
356 assigned-clocks = <&cs2000>;
357 assigned-clock-rates = <24576000>; /* 1/1 divide */
364 clocks = <&cpg CPG_MOD 727>,
367 clock-names = "fck", "dclkin.0", "extal";
371 lvds0_out: endpoint {
372 remote-endpoint = <&thc63lvd1024_in>;
379 clocks = <&cpg CPG_MOD 727>,
382 clock-names = "fck", "dclkin.0", "extal";
393 groups = "avb_link", "avb_mii";
399 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
414 groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data";
418 sound_clk_pins: sound_clk {
419 groups = "audio_clk_a", "audio_clk_b_a", "audio_clk_c_a",
420 "audio_clkout_a", "audio_clkout1_a";
421 function = "audio_clk";
425 groups = "scif2_data_a";
430 groups = "usb0_b", "usb0_id";
441 pinctrl-0 = <&pwm3_pins>;
442 pinctrl-names = "default";
448 pinctrl-0 = <&pwm5_pins>;
449 pinctrl-names = "default";
455 pinctrl-0 = <&sound_pins &sound_clk_pins>;
456 pinctrl-names = "default";
459 #sound-dai-cells = <0>;
461 /* audio_clkout0/1/2/3 */
463 clock-frequency = <12288000 11289600>;
464 clkout-lr-synchronous;
468 /* update <audio_clk_b> to <cs2000> */
469 clocks = <&cpg CPG_MOD 1005>,
470 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
471 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
472 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
473 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
474 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
475 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
476 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
477 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
478 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
479 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
480 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
481 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
482 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
483 <&audio_clk_a>, <&cs2000>, <&audio_clk_c>,
484 <&cpg CPG_CORE R8A77990_CLK_ZA2>;
488 playback = <&ssi0 &src0 &dvc0>;
489 capture = <&ssi1 &src1 &dvc1>;
501 pinctrl-0 = <&scif2_pins>;
502 pinctrl-names = "default";
512 pinctrl-0 = <&usb0_pins>;
513 pinctrl-names = "default";
515 vbus-supply = <&vbus0_usb2>;
520 companion = <&xhci0>;
529 pinctrl-0 = <&usb30_pins>;
530 pinctrl-names = "default";