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";
25 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
26 stdout-path = "serial0:115200n8";
30 compatible = "hdmi-connector";
34 hdmi_con_out: endpoint {
35 remote-endpoint = <&tda19988_out>;
41 compatible = "gpio-leds";
44 gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>;
49 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
54 gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
59 gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;
65 device_type = "memory";
66 /* first 128MB is reserved for secure area. */
67 reg = <0x0 0x48000000 0x0 0x78000000>;
70 reg_12p0v: regulator-12p0v {
71 compatible = "regulator-fixed";
72 regulator-name = "D12.0V";
73 regulator-min-microvolt = <12000000>;
74 regulator-max-microvolt = <12000000>;
80 compatible = "simple-audio-card";
82 simple-audio-card,name = "CAT874 HDMI sound";
83 simple-audio-card,format = "i2s";
84 simple-audio-card,bitclock-master = <&sndcpu>;
85 simple-audio-card,frame-master = <&sndcpu>;
87 sndcodec: simple-audio-card,codec {
88 sound-dai = <&tda19988>;
91 sndcpu: simple-audio-card,cpu {
92 sound-dai = <&rcar_sound>;
96 vcc_sdhi0: regulator-vcc-sdhi0 {
97 compatible = "regulator-fixed";
99 regulator-name = "SDHI0 Vcc";
100 regulator-min-microvolt = <3300000>;
101 regulator-max-microvolt = <3300000>;
106 vccq_sdhi0: regulator-vccq-sdhi0 {
107 compatible = "regulator-gpio";
109 regulator-name = "SDHI0 VccQ";
110 regulator-min-microvolt = <1800000>;
111 regulator-max-microvolt = <3300000>;
113 gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
115 states = <3300000 1>, <1800000 0>;
118 wlan_en_reg: fixedregulator {
119 compatible = "regulator-fixed";
120 regulator-name = "wlan-en-regulator";
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <1800000>;
123 startup-delay-us = <70000>;
125 gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
130 compatible = "fixed-clock";
132 clock-frequency = <74250000>;
136 compatible = "usb-c-connector";
141 #address-cells = <1>;
146 remote-endpoint = <&usb3_hs_ep>;
152 remote-endpoint = <&hd3ss3220_in_ep>;
160 clock-frequency = <22579200>;
164 pinctrl-0 = <&du_pins>;
165 pinctrl-names = "default";
168 clocks = <&cpg CPG_MOD 724>,
171 clock-names = "du.0", "du.1", "dclkin.0";
175 du_out_rgb: endpoint {
176 remote-endpoint = <&tda19988_in>;
188 clock-frequency = <48000000>;
192 pinctrl-0 = <&hscif2_pins>;
193 pinctrl-names = "default";
199 compatible = "ti,wl1837-st";
200 enable-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
206 clock-frequency = <100000>;
209 compatible = "ti,hd3ss3220";
211 interrupt-parent = <&gpio6>;
212 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
215 #address-cells = <1>;
219 hd3ss3220_in_ep: endpoint {
220 remote-endpoint = <&ss_ep>;
225 hd3ss3220_out_ep: endpoint {
226 remote-endpoint = <&usb3_role_switch>;
232 tda19988: tda19988@70 {
233 compatible = "nxp,tda998x";
235 interrupt-parent = <&gpio1>;
236 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
238 video-ports = <0x234501>;
240 #sound-dai-cells = <0>;
241 audio-ports = <TDA998x_I2S 0x03>;
242 clocks = <&rcar_sound 1>;
245 #address-cells = <1>;
250 tda19988_in: endpoint {
251 remote-endpoint = <&du_out_rgb>;
257 tda19988_out: endpoint {
258 remote-endpoint = <&hdmi_con_out>;
266 pinctrl-0 = <&i2c1_pins>;
267 pinctrl-names = "default";
270 clock-frequency = <400000>;
273 compatible = "epson,rx8571";
281 clocks = <&cpg CPG_MOD 727>, <&x13_clk>, <&extal_clk>;
282 clock-names = "fck", "dclkin.0", "extal";
291 clock-frequency = <100000000>;
295 /* Map all possible DDR as inbound ranges */
296 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
301 groups = "du_rgb888", "du_clk_out_0", "du_sync", "du_disp",
306 hscif2_pins: hscif2 {
307 groups = "hscif2_data_a", "hscif2_ctrl_a";
317 groups = "scif2_data_a";
322 groups = "sdhi0_data4", "sdhi0_ctrl";
324 power-source = <3300>;
327 sdhi0_pins_uhs: sd0_uhs {
328 groups = "sdhi0_data4", "sdhi0_ctrl";
330 power-source = <1800>;
334 groups = "sdhi3_data4", "sdhi3_ctrl";
336 power-source = <1800>;
339 sound_clk_pins: sound_clk {
340 groups = "audio_clkout1_a";
341 function = "audio_clk";
345 groups = "ssi01239_ctrl", "ssi0_data";
350 groups = "usb30", "usb30_id";
356 pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
357 pinctrl-names = "default";
360 #sound-dai-cells = <0>;
362 /* audio_clkout0/1/2/3 */
364 clock-frequency = <11289600>;
370 playback = <&ssi0>, <&src0>, <&dvc0>;
381 pinctrl-0 = <&scif2_pins>;
382 pinctrl-names = "default";
388 pinctrl-0 = <&sdhi0_pins>;
389 pinctrl-1 = <&sdhi0_pins_uhs>;
390 pinctrl-names = "default", "state_uhs";
392 vmmc-supply = <&vcc_sdhi0>;
393 vqmmc-supply = <&vccq_sdhi0>;
394 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
403 pinctrl-0 = <&sdhi3_pins>;
404 pinctrl-names = "default";
406 vmmc-supply = <&wlan_en_reg>;
410 keep-power-in-suspend;
412 #address-cells = <1>;
415 compatible = "ti,wl1837";
417 interrupt-parent = <&gpio1>;
418 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
428 companion = <&xhci0>;
433 #address-cells = <1>;
437 usb3_hs_ep: endpoint {
438 remote-endpoint = <&hs_ep>;
443 usb3_role_switch: endpoint {
444 remote-endpoint = <&hd3ss3220_out_ep>;
451 pinctrl-0 = <&usb30_pins>;
452 pinctrl-names = "default";