1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the Silicon Linux RZ/G2E 96board platform (CAT874)
5 * Copyright (C) 2019 Renesas Electronics Corp.
9 #include "r8a774c0.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/display/tda998x.h>
14 model = "Silicon Linux RZ/G2E 96board platform (CAT874)";
15 compatible = "si-linux,cat874", "renesas,r8a774c0";
23 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
24 stdout-path = "serial0:115200n8";
28 compatible = "hdmi-connector";
32 hdmi_con_out: endpoint {
33 remote-endpoint = <&tda19988_out>;
39 compatible = "gpio-leds";
42 gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>;
47 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
52 gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
57 gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;
63 device_type = "memory";
64 /* first 128MB is reserved for secure area. */
65 reg = <0x0 0x48000000 0x0 0x78000000>;
69 compatible = "simple-audio-card";
71 simple-audio-card,name = "CAT874 HDMI sound";
72 simple-audio-card,format = "i2s";
73 simple-audio-card,bitclock-master = <&sndcpu>;
74 simple-audio-card,frame-master = <&sndcpu>;
76 sndcpu: simple-audio-card,cpu {
77 sound-dai = <&rcar_sound>;
80 sndcodec: simple-audio-card,codec {
81 sound-dai = <&tda19988>;
85 vcc_sdhi0: regulator-vcc-sdhi0 {
86 compatible = "regulator-fixed";
88 regulator-name = "SDHI0 Vcc";
89 regulator-min-microvolt = <3300000>;
90 regulator-max-microvolt = <3300000>;
95 vccq_sdhi0: regulator-vccq-sdhi0 {
96 compatible = "regulator-gpio";
98 regulator-name = "SDHI0 VccQ";
99 regulator-min-microvolt = <1800000>;
100 regulator-max-microvolt = <3300000>;
102 gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
108 wlan_en_reg: fixedregulator {
109 compatible = "regulator-fixed";
110 regulator-name = "wlan-en-regulator";
111 regulator-min-microvolt = <1800000>;
112 regulator-max-microvolt = <1800000>;
113 startup-delay-us = <70000>;
115 gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
120 compatible = "fixed-clock";
122 clock-frequency = <74250000>;
127 clock-frequency = <22579200>;
131 pinctrl-0 = <&du_pins>;
132 pinctrl-names = "default";
135 clocks = <&cpg CPG_MOD 724>,
138 clock-names = "du.0", "du.1", "dclkin.0";
143 remote-endpoint = <&tda19988_in>;
155 clock-frequency = <48000000>;
159 pinctrl-0 = <&hscif2_pins>;
160 pinctrl-names = "default";
166 compatible = "ti,wl1837-st";
167 enable-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
173 clock-frequency = <100000>;
176 compatible = "ti,hd3ss3220";
178 interrupt-parent = <&gpio6>;
179 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
182 compatible = "usb-c-connector";
187 #address-cells = <1>;
192 hd3ss3220_ep: endpoint {
193 remote-endpoint = <&usb3_role_switch>;
200 tda19988: tda19988@70 {
201 compatible = "nxp,tda998x";
203 interrupt-parent = <&gpio1>;
204 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
206 video-ports = <0x234501>;
208 #sound-dai-cells = <0>;
209 audio-ports = <TDA998x_I2S 0x03>;
210 clocks = <&rcar_sound 1>;
213 #address-cells = <1>;
218 tda19988_in: endpoint {
219 remote-endpoint = <&du_out_rgb>;
225 tda19988_out: endpoint {
226 remote-endpoint = <&hdmi_con_out>;
234 pinctrl-0 = <&i2c1_pins>;
235 pinctrl-names = "default";
238 clock-frequency = <400000>;
241 compatible = "epson,rx8571";
249 clocks = <&cpg CPG_MOD 727>, <&x13_clk>, <&extal_clk>;
250 clock-names = "fck", "dclkin.0", "extal";
259 clock-frequency = <100000000>;
263 /* Map all possible DDR as inbound ranges */
264 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
269 groups = "du_rgb888", "du_clk_out_0", "du_sync", "du_disp",
279 hscif2_pins: hscif2 {
280 groups = "hscif2_data_a", "hscif2_ctrl_a";
285 groups = "scif2_data_a";
290 groups = "sdhi0_data4", "sdhi0_ctrl";
292 power-source = <3300>;
295 sdhi0_pins_uhs: sd0_uhs {
296 groups = "sdhi0_data4", "sdhi0_ctrl";
298 power-source = <1800>;
302 groups = "sdhi3_data4", "sdhi3_ctrl";
304 power-source = <1800>;
308 groups = "ssi01239_ctrl", "ssi0_data";
312 sound_clk_pins: sound_clk {
313 groups = "audio_clkout1_a";
314 function = "audio_clk";
318 groups = "usb30", "usb30_id";
324 pinctrl-0 = <&sound_pins &sound_clk_pins>;
325 pinctrl-names = "default";
328 #sound-dai-cells = <0>;
330 /* audio_clkout0/1/2/3 */
332 clock-frequency = <11289600>;
338 playback = <&ssi0 &src0 &dvc0>;
349 pinctrl-0 = <&scif2_pins>;
350 pinctrl-names = "default";
356 pinctrl-0 = <&sdhi0_pins>;
357 pinctrl-1 = <&sdhi0_pins_uhs>;
358 pinctrl-names = "default", "state_uhs";
360 vmmc-supply = <&vcc_sdhi0>;
361 vqmmc-supply = <&vccq_sdhi0>;
362 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
371 pinctrl-0 = <&sdhi3_pins>;
372 pinctrl-names = "default";
374 vmmc-supply = <&wlan_en_reg>;
378 keep-power-in-suspend;
380 #address-cells = <1>;
383 compatible = "ti,wl1837";
385 interrupt-parent = <&gpio1>;
386 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
396 companion = <&xhci0>;
401 usb3_role_switch: endpoint {
402 remote-endpoint = <&hd3ss3220_ep>;
408 pinctrl-0 = <&usb30_pins>;
409 pinctrl-names = "default";