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>;
68 reg_12p0v: regulator-12p0v {
69 compatible = "regulator-fixed";
70 regulator-name = "D12.0V";
71 regulator-min-microvolt = <12000000>;
72 regulator-max-microvolt = <12000000>;
78 compatible = "simple-audio-card";
80 simple-audio-card,name = "CAT874 HDMI sound";
81 simple-audio-card,format = "i2s";
82 simple-audio-card,bitclock-master = <&sndcpu>;
83 simple-audio-card,frame-master = <&sndcpu>;
85 sndcodec: simple-audio-card,codec {
86 sound-dai = <&tda19988>;
89 sndcpu: simple-audio-card,cpu {
90 sound-dai = <&rcar_sound>;
94 vcc_sdhi0: regulator-vcc-sdhi0 {
95 compatible = "regulator-fixed";
97 regulator-name = "SDHI0 Vcc";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
104 vccq_sdhi0: regulator-vccq-sdhi0 {
105 compatible = "regulator-gpio";
107 regulator-name = "SDHI0 VccQ";
108 regulator-min-microvolt = <1800000>;
109 regulator-max-microvolt = <3300000>;
111 gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
113 states = <3300000 1>, <1800000 0>;
116 wlan_en_reg: fixedregulator {
117 compatible = "regulator-fixed";
118 regulator-name = "wlan-en-regulator";
119 regulator-min-microvolt = <1800000>;
120 regulator-max-microvolt = <1800000>;
121 startup-delay-us = <70000>;
123 gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
128 compatible = "fixed-clock";
130 clock-frequency = <74250000>;
134 compatible = "usb-c-connector";
139 #address-cells = <1>;
144 remote-endpoint = <&usb3_hs_ep>;
150 remote-endpoint = <&hd3ss3220_in_ep>;
158 clock-frequency = <22579200>;
162 pinctrl-0 = <&du_pins>;
163 pinctrl-names = "default";
166 clocks = <&cpg CPG_MOD 724>,
169 clock-names = "du.0", "du.1", "dclkin.0";
174 remote-endpoint = <&tda19988_in>;
186 clock-frequency = <48000000>;
190 pinctrl-0 = <&hscif2_pins>;
191 pinctrl-names = "default";
197 compatible = "ti,wl1837-st";
198 enable-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
204 clock-frequency = <100000>;
207 compatible = "ti,hd3ss3220";
209 interrupt-parent = <&gpio6>;
210 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
213 #address-cells = <1>;
217 hd3ss3220_in_ep: endpoint {
218 remote-endpoint = <&ss_ep>;
223 hd3ss3220_out_ep: endpoint {
224 remote-endpoint = <&usb3_role_switch>;
230 tda19988: tda19988@70 {
231 compatible = "nxp,tda998x";
233 interrupt-parent = <&gpio1>;
234 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
236 video-ports = <0x234501>;
238 #sound-dai-cells = <0>;
239 audio-ports = <TDA998x_I2S 0x03>;
240 clocks = <&rcar_sound 1>;
243 #address-cells = <1>;
248 tda19988_in: endpoint {
249 remote-endpoint = <&du_out_rgb>;
255 tda19988_out: endpoint {
256 remote-endpoint = <&hdmi_con_out>;
264 pinctrl-0 = <&i2c1_pins>;
265 pinctrl-names = "default";
268 clock-frequency = <400000>;
271 compatible = "epson,rx8571";
279 clocks = <&cpg CPG_MOD 727>, <&x13_clk>, <&extal_clk>;
280 clock-names = "fck", "dclkin.0", "extal";
289 clock-frequency = <100000000>;
293 /* Map all possible DDR as inbound ranges */
294 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
299 groups = "du_rgb888", "du_clk_out_0", "du_sync", "du_disp",
304 hscif2_pins: hscif2 {
305 groups = "hscif2_data_a", "hscif2_ctrl_a";
315 groups = "scif2_data_a";
320 groups = "sdhi0_data4", "sdhi0_ctrl";
322 power-source = <3300>;
325 sdhi0_pins_uhs: sd0_uhs {
326 groups = "sdhi0_data4", "sdhi0_ctrl";
328 power-source = <1800>;
332 groups = "sdhi3_data4", "sdhi3_ctrl";
334 power-source = <1800>;
337 sound_clk_pins: sound_clk {
338 groups = "audio_clkout1_a";
339 function = "audio_clk";
343 groups = "ssi01239_ctrl", "ssi0_data";
348 groups = "usb30", "usb30_id";
354 pinctrl-0 = <&sound_pins &sound_clk_pins>;
355 pinctrl-names = "default";
358 #sound-dai-cells = <0>;
360 /* audio_clkout0/1/2/3 */
362 clock-frequency = <11289600>;
368 playback = <&ssi0 &src0 &dvc0>;
379 pinctrl-0 = <&scif2_pins>;
380 pinctrl-names = "default";
386 pinctrl-0 = <&sdhi0_pins>;
387 pinctrl-1 = <&sdhi0_pins_uhs>;
388 pinctrl-names = "default", "state_uhs";
390 vmmc-supply = <&vcc_sdhi0>;
391 vqmmc-supply = <&vccq_sdhi0>;
392 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
401 pinctrl-0 = <&sdhi3_pins>;
402 pinctrl-names = "default";
404 vmmc-supply = <&wlan_en_reg>;
408 keep-power-in-suspend;
410 #address-cells = <1>;
413 compatible = "ti,wl1837";
415 interrupt-parent = <&gpio1>;
416 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
426 companion = <&xhci0>;
431 #address-cells = <1>;
435 usb3_hs_ep: endpoint {
436 remote-endpoint = <&hs_ep>;
441 usb3_role_switch: endpoint {
442 remote-endpoint = <&hd3ss3220_out_ep>;
449 pinctrl-0 = <&usb30_pins>;
450 pinctrl-names = "default";