1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the HiHope RZ/G2[MN] main board common parts
5 * Copyright (C) 2019 Renesas Electronics Corp.
8 #include <dt-bindings/gpio/gpio.h>
17 bootargs = "ignore_loglevel";
18 stdout-path = "serial0:115200n8";
22 compatible = "hdmi-connector";
27 remote-endpoint = <&rcar_dw_hdmi0_out>;
33 compatible = "gpio-leds";
37 gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
38 linux,default-trigger = "hci0-power";
39 default-state = "off";
43 gpios = <&gpio6 11 GPIO_ACTIVE_HIGH>;
47 gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
51 gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
55 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
59 label = "yellow:wlan";
60 gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
61 linux,default-trigger = "phy0tx";
62 default-state = "off";
66 reg_1p8v: regulator0 {
67 compatible = "regulator-fixed";
68 regulator-name = "fixed-1.8V";
69 regulator-min-microvolt = <1800000>;
70 regulator-max-microvolt = <1800000>;
75 reg_3p3v: regulator1 {
76 compatible = "regulator-fixed";
77 regulator-name = "fixed-3.3V";
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
85 compatible = "audio-graph-card";
92 vbus0_usb2: regulator-vbus0-usb2 {
93 compatible = "regulator-fixed";
95 regulator-name = "USB20_VBUS0";
96 regulator-min-microvolt = <5000000>;
97 regulator-max-microvolt = <5000000>;
99 gpio = <&gpio6 16 GPIO_ACTIVE_HIGH>;
103 vccq_sdhi0: regulator-vccq-sdhi0 {
104 compatible = "regulator-gpio";
106 regulator-name = "SDHI0 VccQ";
107 regulator-min-microvolt = <1800000>;
108 regulator-max-microvolt = <3300000>;
110 gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
116 wlan_en_reg: regulator-wlan_en {
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 = <&gpio_expander 1 GPIO_ACTIVE_HIGH>;
127 x302_clk: x302-clock {
128 compatible = "fixed-clock";
130 clock-frequency = <33000000>;
133 x304_clk: x304-clock {
134 compatible = "fixed-clock";
136 clock-frequency = <25000000>;
141 clock-frequency = <22579200>;
157 clock-frequency = <16666666>;
161 clock-frequency = <32768>;
167 gpios = <10 GPIO_ACTIVE_LOW>;
169 line-name = "usb1-reset";
179 rcar_dw_hdmi0_out: endpoint {
180 remote-endpoint = <&hdmi0_con>;
185 dw_hdmi0_snd_in: endpoint {
186 remote-endpoint = <&rsnd_endpoint>;
193 pinctrl-0 = <&hscif0_pins>;
194 pinctrl-names = "default";
200 compatible = "ti,wl1837-st";
201 enable-gpios = <&gpio_expander 2 GPIO_ACTIVE_HIGH>;
211 clock-frequency = <400000>;
214 gpio_expander: gpio@20 {
215 compatible = "onnn,pca9654";
221 versaclock5: clock-generator@6a {
222 compatible = "idt,5p49v5923";
225 clocks = <&x304_clk>;
239 clock-frequency = <100000000>;
243 pinctrl-0 = <&scif_clk_pins>;
244 pinctrl-names = "default";
246 hscif0_pins: hscif0 {
247 groups = "hscif0_data", "hscif0_ctrl";
252 groups = "scif2_data_a";
256 scif_clk_pins: scif_clk {
257 groups = "scif_clk_a";
258 function = "scif_clk";
262 groups = "sdhi0_data4", "sdhi0_ctrl";
264 power-source = <3300>;
267 sdhi0_pins_uhs: sd0_uhs {
268 groups = "sdhi0_data4", "sdhi0_ctrl";
270 power-source = <1800>;
274 groups = "sdhi2_data4", "sdhi2_ctrl";
276 power-source = <1800>;
280 groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
282 power-source = <1800>;
285 sound_clk_pins: sound_clk {
286 groups = "audio_clk_a_a";
287 function = "audio_clk";
314 pinctrl-0 = <&sound_clk_pins>;
315 pinctrl-names = "default";
320 #sound-dai-cells = <0>;
323 rsnd_endpoint: endpoint {
324 remote-endpoint = <&dw_hdmi0_snd_in>;
327 bitclock-master = <&rsnd_endpoint>;
328 frame-master = <&rsnd_endpoint>;
341 pinctrl-0 = <&scif2_pins>;
342 pinctrl-names = "default";
348 clock-frequency = <14745600>;
352 pinctrl-0 = <&sdhi0_pins>;
353 pinctrl-1 = <&sdhi0_pins_uhs>;
354 pinctrl-names = "default", "state_uhs";
356 vmmc-supply = <®_3p3v>;
357 vqmmc-supply = <&vccq_sdhi0>;
358 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
367 pinctrl-0 = <&sdhi2_pins>;
368 pinctrl-names = "default";
370 vmmc-supply = <&wlan_en_reg>;
374 keep-power-in-suspend;
376 #address-cells = <1>;
379 compatible = "ti,wl1837";
381 interrupt-parent = <&gpio2>;
382 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
387 pinctrl-0 = <&sdhi3_pins>;
388 pinctrl-1 = <&sdhi3_pins>;
389 pinctrl-names = "default", "state_uhs";
391 vmmc-supply = <®_3p3v>;
392 vqmmc-supply = <®_1p8v>;
396 fixed-emmc-driver-type = <1>;
401 clock-frequency = <50000000>;
405 pinctrl-0 = <&usb0_pins>;
406 pinctrl-names = "default";
408 vbus-supply = <&vbus0_usb2>;
413 pinctrl-0 = <&usb1_pins>;
414 pinctrl-names = "default";
423 companion = <&xhci0>;
433 clock-frequency = <100000000>;
437 pinctrl-0 = <&usb30_pins>;
438 pinctrl-names = "default";