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>;
135 clock-frequency = <22579200>;
139 pinctrl-0 = <&du_pins>;
140 pinctrl-names = "default";
143 clocks = <&cpg CPG_MOD 724>,
146 clock-names = "du.0", "du.1", "dclkin.0";
151 remote-endpoint = <&tda19988_in>;
163 clock-frequency = <48000000>;
167 pinctrl-0 = <&hscif2_pins>;
168 pinctrl-names = "default";
174 compatible = "ti,wl1837-st";
175 enable-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
181 clock-frequency = <100000>;
184 compatible = "ti,hd3ss3220";
186 interrupt-parent = <&gpio6>;
187 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
190 compatible = "usb-c-connector";
195 #address-cells = <1>;
200 hd3ss3220_ep: endpoint {
201 remote-endpoint = <&usb3_role_switch>;
208 tda19988: tda19988@70 {
209 compatible = "nxp,tda998x";
211 interrupt-parent = <&gpio1>;
212 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
214 video-ports = <0x234501>;
216 #sound-dai-cells = <0>;
217 audio-ports = <TDA998x_I2S 0x03>;
218 clocks = <&rcar_sound 1>;
221 #address-cells = <1>;
226 tda19988_in: endpoint {
227 remote-endpoint = <&du_out_rgb>;
233 tda19988_out: endpoint {
234 remote-endpoint = <&hdmi_con_out>;
242 pinctrl-0 = <&i2c1_pins>;
243 pinctrl-names = "default";
246 clock-frequency = <400000>;
249 compatible = "epson,rx8571";
257 clocks = <&cpg CPG_MOD 727>, <&x13_clk>, <&extal_clk>;
258 clock-names = "fck", "dclkin.0", "extal";
267 clock-frequency = <100000000>;
271 /* Map all possible DDR as inbound ranges */
272 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
277 groups = "du_rgb888", "du_clk_out_0", "du_sync", "du_disp",
282 hscif2_pins: hscif2 {
283 groups = "hscif2_data_a", "hscif2_ctrl_a";
293 groups = "scif2_data_a";
298 groups = "sdhi0_data4", "sdhi0_ctrl";
300 power-source = <3300>;
303 sdhi0_pins_uhs: sd0_uhs {
304 groups = "sdhi0_data4", "sdhi0_ctrl";
306 power-source = <1800>;
310 groups = "sdhi3_data4", "sdhi3_ctrl";
312 power-source = <1800>;
315 sound_clk_pins: sound_clk {
316 groups = "audio_clkout1_a";
317 function = "audio_clk";
321 groups = "ssi01239_ctrl", "ssi0_data";
326 groups = "usb30", "usb30_id";
332 pinctrl-0 = <&sound_pins &sound_clk_pins>;
333 pinctrl-names = "default";
336 #sound-dai-cells = <0>;
338 /* audio_clkout0/1/2/3 */
340 clock-frequency = <11289600>;
346 playback = <&ssi0 &src0 &dvc0>;
357 pinctrl-0 = <&scif2_pins>;
358 pinctrl-names = "default";
364 pinctrl-0 = <&sdhi0_pins>;
365 pinctrl-1 = <&sdhi0_pins_uhs>;
366 pinctrl-names = "default", "state_uhs";
368 vmmc-supply = <&vcc_sdhi0>;
369 vqmmc-supply = <&vccq_sdhi0>;
370 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
379 pinctrl-0 = <&sdhi3_pins>;
380 pinctrl-names = "default";
382 vmmc-supply = <&wlan_en_reg>;
386 keep-power-in-suspend;
388 #address-cells = <1>;
391 compatible = "ti,wl1837";
393 interrupt-parent = <&gpio1>;
394 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
404 companion = <&xhci0>;
409 usb3_role_switch: endpoint {
410 remote-endpoint = <&hd3ss3220_ep>;
416 pinctrl-0 = <&usb30_pins>;
417 pinctrl-names = "default";