1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Ebisu board
5 * Copyright (C) 2018 Renesas Electronics Corp.
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
12 model = "Renesas Ebisu board";
13 compatible = "renesas,ebisu";
24 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
25 stdout-path = "serial0:115200n8";
28 audio_clkout: audio-clkout {
30 * This is same as <&rcar_sound 0>
31 * but needed to avoid cs2000/rcar_sound probe dead-lock
33 compatible = "fixed-clock";
35 clock-frequency = <11289600>;
38 backlight: backlight {
39 compatible = "pwm-backlight";
40 pwms = <&pwm3 0 50000>;
42 brightness-levels = <512 511 505 494 473 440 392 327 241 133 0>;
43 default-brightness-level = <10>;
45 power-supply = <®_12p0v>;
49 compatible = "composite-video-connector";
54 remote-endpoint = <&adv7482_ain7>;
60 compatible = "hdmi-connector";
65 hdmi_in_con: endpoint {
66 remote-endpoint = <&adv7482_hdmi>;
72 compatible = "hdmi-connector";
76 hdmi_con_out: endpoint {
77 remote-endpoint = <&adv7511_out>;
83 compatible = "gpio-keys";
85 pinctrl-0 = <&keys_pins>;
86 pinctrl-names = "default";
89 gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
93 debounce-interval = <20>;
96 gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
100 debounce-interval = <20>;
103 gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_3>;
107 debounce-interval = <20>;
110 gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
111 linux,code = <KEY_4>;
114 debounce-interval = <20>;
119 compatible = "thine,thc63lvd1024";
120 vcc-supply = <®_3p3v>;
123 #address-cells = <1>;
128 thc63lvd1024_in: endpoint {
129 remote-endpoint = <&lvds0_out>;
135 thc63lvd1024_out: endpoint {
136 remote-endpoint = <&adv7511_in>;
143 device_type = "memory";
144 /* first 128MB is reserved for secure area. */
145 reg = <0x0 0x48000000 0x0 0x38000000>;
148 reg_1p8v: regulator0 {
149 compatible = "regulator-fixed";
150 regulator-name = "fixed-1.8V";
151 regulator-min-microvolt = <1800000>;
152 regulator-max-microvolt = <1800000>;
157 reg_3p3v: regulator1 {
158 compatible = "regulator-fixed";
159 regulator-name = "fixed-3.3V";
160 regulator-min-microvolt = <3300000>;
161 regulator-max-microvolt = <3300000>;
166 reg_12p0v: regulator2 {
167 compatible = "regulator-fixed";
168 regulator-name = "D12.0V";
169 regulator-min-microvolt = <12000000>;
170 regulator-max-microvolt = <12000000>;
176 compatible = "simple-audio-card";
178 simple-audio-card,name = "rsnd-ak4613";
179 simple-audio-card,format = "left_j";
180 simple-audio-card,bitclock-master = <&sndcpu>;
181 simple-audio-card,frame-master = <&sndcpu>;
183 sndcodec: simple-audio-card,codec {
184 sound-dai = <&ak4613>;
187 sndcpu: simple-audio-card,cpu {
188 sound-dai = <&rcar_sound>;
192 vbus0_usb2: regulator-vbus0-usb2 {
193 compatible = "regulator-fixed";
195 regulator-name = "USB20_VBUS_CN";
196 regulator-min-microvolt = <5000000>;
197 regulator-max-microvolt = <5000000>;
199 gpio = <&gpio6 4 GPIO_ACTIVE_HIGH>;
203 vcc_sdhi0: regulator-vcc-sdhi0 {
204 compatible = "regulator-fixed";
206 regulator-name = "SDHI0 Vcc";
207 regulator-min-microvolt = <3300000>;
208 regulator-max-microvolt = <3300000>;
210 gpio = <&gpio5 17 GPIO_ACTIVE_HIGH>;
214 vccq_sdhi0: regulator-vccq-sdhi0 {
215 compatible = "regulator-gpio";
217 regulator-name = "SDHI0 VccQ";
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <3300000>;
221 gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
223 states = <3300000 1>, <1800000 0>;
226 vcc_sdhi1: regulator-vcc-sdhi1 {
227 compatible = "regulator-fixed";
229 regulator-name = "SDHI1 Vcc";
230 regulator-min-microvolt = <3300000>;
231 regulator-max-microvolt = <3300000>;
233 gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>;
237 vccq_sdhi1: regulator-vccq-sdhi1 {
238 compatible = "regulator-gpio";
240 regulator-name = "SDHI1 VccQ";
241 regulator-min-microvolt = <1800000>;
242 regulator-max-microvolt = <3300000>;
244 gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
246 states = <3300000 1>, <1800000 0>;
250 compatible = "vga-connector";
254 remote-endpoint = <&adv7123_out>;
260 compatible = "adi,adv7123";
263 #address-cells = <1>;
268 adv7123_in: endpoint {
269 remote-endpoint = <&du_out_rgb>;
274 adv7123_out: endpoint {
275 remote-endpoint = <&vga_in>;
282 compatible = "fixed-clock";
284 clock-frequency = <24576000>;
288 compatible = "fixed-clock";
290 clock-frequency = <74250000>;
295 clock-frequency = <22579200>;
299 pinctrl-0 = <&avb_pins>;
300 pinctrl-names = "default";
301 phy-handle = <&phy0>;
304 phy0: ethernet-phy@0 {
305 compatible = "ethernet-phy-id0022.1622",
306 "ethernet-phy-ieee802.3-c22";
307 rxc-skew-ps = <1500>;
309 interrupt-parent = <&gpio2>;
310 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
311 reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
313 * TX clock internal delay mode is required for reliable
314 * 1Gbps communication using the KSZ9031RNX phy present on
315 * the Ebisu board, however, TX clock internal delay mode
316 * isn't supported on R-Car E3(e). Thus, limit speed to
317 * 100Mbps for reliable communication.
324 pinctrl-0 = <&canfd0_pins>;
325 pinctrl-names = "default";
341 remote-endpoint = <&adv7482_txa>;
348 pinctrl-0 = <&du_pins>;
349 pinctrl-names = "default";
352 clocks = <&cpg CPG_MOD 724>,
355 clock-names = "du.0", "du.1", "dclkin.0";
360 remote-endpoint = <&adv7123_in>;
372 clock-frequency = <48000000>;
383 io_expander: gpio@20 {
384 compatible = "onnn,pca9654";
388 interrupt-parent = <&gpio2>;
389 interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
393 compatible = "adi,adv7511w";
395 interrupt-parent = <&gpio1>;
396 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
398 adi,input-depth = <8>;
399 adi,input-colorspace = "rgb";
400 adi,input-clock = "1x";
403 #address-cells = <1>;
408 adv7511_in: endpoint {
409 remote-endpoint = <&thc63lvd1024_out>;
415 adv7511_out: endpoint {
416 remote-endpoint = <&hdmi_con_out>;
423 compatible = "adi,adv7482";
426 interrupt-parent = <&gpio0>;
427 interrupt-names = "intrq1", "intrq2";
428 interrupts = <7 IRQ_TYPE_LEVEL_LOW>,
429 <17 IRQ_TYPE_LEVEL_LOW>;
432 #address-cells = <1>;
438 adv7482_ain7: endpoint {
439 remote-endpoint = <&cvbs_con>;
446 adv7482_hdmi: endpoint {
447 remote-endpoint = <&hdmi_in_con>;
454 adv7482_txa: endpoint {
457 remote-endpoint = <&csi40_in>;
468 compatible = "asahi-kasei,ak4613";
469 #sound-dai-cells = <0>;
471 clocks = <&rcar_sound 3>;
473 asahi-kasei,in1-single-end;
474 asahi-kasei,in2-single-end;
475 asahi-kasei,out1-single-end;
476 asahi-kasei,out2-single-end;
477 asahi-kasei,out3-single-end;
478 asahi-kasei,out4-single-end;
479 asahi-kasei,out5-single-end;
480 asahi-kasei,out6-single-end;
483 cs2000: clk-multiplier@4f {
485 compatible = "cirrus,cs2000-cp";
487 clocks = <&audio_clkout>, <&x12_clk>;
488 clock-names = "clk_in", "ref_clk";
490 assigned-clocks = <&cs2000>;
491 assigned-clock-rates = <24576000>; /* 1/1 divide */
498 clock-frequency = <400000>;
501 pinctrl-0 = <&irq0_pins>;
502 pinctrl-names = "default";
504 compatible = "rohm,bd9571mwv";
506 interrupt-parent = <&intc_ex>;
507 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
508 interrupt-controller;
509 #interrupt-cells = <2>;
512 rohm,ddr-backup-power = <0x1>;
517 compatible = "rohm,br24t01", "atmel,24c01";
526 clocks = <&cpg CPG_MOD 727>,
529 clock-names = "fck", "dclkin.0", "extal";
533 lvds0_out: endpoint {
534 remote-endpoint = <&thc63lvd1024_in>;
542 * Even though the LVDS1 output is not connected, the encoder must be
543 * enabled to supply a pixel clock to the DU for the DPAD output when
548 clocks = <&cpg CPG_MOD 727>,
551 clock-names = "fck", "dclkin.0", "extal";
560 clock-frequency = <100000000>;
569 groups = "avb_link", "avb_mii";
573 canfd0_pins: canfd0 {
574 groups = "canfd0_data";
579 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
584 groups = "intc_ex_irq0";
585 function = "intc_ex";
589 pins = "GP_5_10", "GP_5_11", "GP_5_12", "GP_5_13";
604 groups = "scif2_data_a";
609 groups = "sdhi0_data4", "sdhi0_ctrl";
611 power-source = <3300>;
614 sdhi0_pins_uhs: sd0_uhs {
615 groups = "sdhi0_data4", "sdhi0_ctrl";
617 power-source = <1800>;
621 groups = "sdhi1_data4", "sdhi1_ctrl";
623 power-source = <3300>;
626 sdhi1_pins_uhs: sd1_uhs {
627 groups = "sdhi1_data4", "sdhi1_ctrl";
629 power-source = <1800>;
633 groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
635 power-source = <1800>;
638 sound_clk_pins: sound_clk {
639 groups = "audio_clk_a", "audio_clk_b_a", "audio_clk_c_a",
640 "audio_clkout_a", "audio_clkout1_a";
641 function = "audio_clk";
645 groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data";
650 groups = "usb0_b", "usb0_id";
661 pinctrl-0 = <&pwm3_pins>;
662 pinctrl-names = "default";
668 pinctrl-0 = <&pwm5_pins>;
669 pinctrl-names = "default";
675 pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
676 pinctrl-names = "default";
679 #sound-dai-cells = <0>;
681 /* audio_clkout0/1/2/3 */
683 clock-frequency = <12288000 11289600>;
687 /* update <audio_clk_b> to <cs2000> */
688 clocks = <&cpg CPG_MOD 1005>,
689 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
690 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
691 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
692 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
693 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
694 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
695 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
696 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
697 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
698 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
699 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
700 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
701 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
702 <&audio_clk_a>, <&cs2000>, <&audio_clk_c>,
703 <&cpg CPG_CORE R8A77990_CLK_ZA2>;
707 playback = <&ssi0>, <&src0>, <&dvc0>;
708 capture = <&ssi1>, <&src1>, <&dvc1>;
720 pinctrl-0 = <&scif2_pins>;
721 pinctrl-names = "default";
727 pinctrl-0 = <&sdhi0_pins>;
728 pinctrl-1 = <&sdhi0_pins_uhs>;
729 pinctrl-names = "default", "state_uhs";
731 vmmc-supply = <&vcc_sdhi0>;
732 vqmmc-supply = <&vccq_sdhi0>;
733 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
734 wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
742 pinctrl-0 = <&sdhi1_pins>;
743 pinctrl-1 = <&sdhi1_pins_uhs>;
744 pinctrl-names = "default", "state_uhs";
746 vmmc-supply = <&vcc_sdhi1>;
747 vqmmc-supply = <&vccq_sdhi1>;
748 cd-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>;
756 /* used for on-board 8bit eMMC */
757 pinctrl-0 = <&sdhi3_pins>;
758 pinctrl-1 = <&sdhi3_pins>;
759 pinctrl-names = "default", "state_uhs";
761 vmmc-supply = <®_3p3v>;
762 vqmmc-supply = <®_1p8v>;
769 full-pwr-cycle-in-suspend;
778 pinctrl-0 = <&usb0_pins>;
779 pinctrl-names = "default";
781 vbus-supply = <&vbus0_usb2>;
786 companion = <&xhci0>;
799 pinctrl-0 = <&usb30_pins>;
800 pinctrl-names = "default";