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";
22 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
23 stdout-path = "serial0:115200n8";
27 compatible = "hdmi-connector";
31 hdmi_con_out: endpoint {
32 remote-endpoint = <&tda19988_out>;
38 compatible = "gpio-leds";
41 gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>;
46 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
51 gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
56 gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;
62 device_type = "memory";
63 /* first 128MB is reserved for secure area. */
64 reg = <0x0 0x48000000 0x0 0x78000000>;
68 compatible = "simple-audio-card";
70 simple-audio-card,name = "CAT874 HDMI sound";
71 simple-audio-card,format = "i2s";
72 simple-audio-card,bitclock-master = <&sndcpu>;
73 simple-audio-card,frame-master = <&sndcpu>;
75 sndcpu: simple-audio-card,cpu {
76 sound-dai = <&rcar_sound>;
79 sndcodec: simple-audio-card,codec {
80 sound-dai = <&tda19988>;
84 vcc_sdhi0: regulator-vcc-sdhi0 {
85 compatible = "regulator-fixed";
87 regulator-name = "SDHI0 Vcc";
88 regulator-min-microvolt = <3300000>;
89 regulator-max-microvolt = <3300000>;
94 vccq_sdhi0: regulator-vccq-sdhi0 {
95 compatible = "regulator-gpio";
97 regulator-name = "SDHI0 VccQ";
98 regulator-min-microvolt = <1800000>;
99 regulator-max-microvolt = <3300000>;
101 gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
108 compatible = "fixed-clock";
110 clock-frequency = <74250000>;
115 clock-frequency = <22579200>;
119 pinctrl-0 = <&du_pins>;
120 pinctrl-names = "default";
123 clocks = <&cpg CPG_MOD 724>,
126 clock-names = "du.0", "du.1", "dclkin.0";
131 remote-endpoint = <&tda19988_in>;
143 clock-frequency = <48000000>;
148 clock-frequency = <100000>;
150 tda19988: tda19988@70 {
151 compatible = "nxp,tda998x";
153 interrupt-parent = <&gpio1>;
154 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
156 video-ports = <0x234501>;
158 #sound-dai-cells = <0>;
159 audio-ports = <TDA998x_I2S 0x03>;
160 clocks = <&rcar_sound 1>;
163 #address-cells = <1>;
168 tda19988_in: endpoint {
169 remote-endpoint = <&du_out_rgb>;
175 tda19988_out: endpoint {
176 remote-endpoint = <&hdmi_con_out>;
184 pinctrl-0 = <&i2c1_pins>;
185 pinctrl-names = "default";
188 clock-frequency = <400000>;
191 compatible = "epson,rx8571";
199 clocks = <&cpg CPG_MOD 727>, <&x13_clk>, <&extal_clk>;
200 clock-names = "fck", "dclkin.0", "extal";
209 clock-frequency = <100000000>;
213 /* Map all possible DDR as inbound ranges */
214 dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
219 groups = "du_rgb888", "du_clk_out_0", "du_sync", "du_disp",
230 groups = "scif2_data_a";
235 groups = "sdhi0_data4", "sdhi0_ctrl";
237 power-source = <3300>;
240 sdhi0_pins_uhs: sd0_uhs {
241 groups = "sdhi0_data4", "sdhi0_ctrl";
243 power-source = <1800>;
247 groups = "ssi01239_ctrl", "ssi0_data";
251 sound_clk_pins: sound_clk {
252 groups = "audio_clkout1_a";
253 function = "audio_clk";
258 pinctrl-0 = <&sound_pins &sound_clk_pins>;
259 pinctrl-names = "default";
262 #sound-dai-cells = <0>;
264 /* audio_clkout0/1/2/3 */
266 clock-frequency = <11289600>;
272 playback = <&ssi0 &src0 &dvc0>;
283 pinctrl-0 = <&scif2_pins>;
284 pinctrl-names = "default";
290 pinctrl-0 = <&sdhi0_pins>;
291 pinctrl-1 = <&sdhi0_pins_uhs>;
292 pinctrl-names = "default", "state_uhs";
294 vmmc-supply = <&vcc_sdhi0>;
295 vqmmc-supply = <&vccq_sdhi0>;
296 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;