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>;
145 clocks = <&cpg CPG_MOD 724>,
151 clock-names = "du.0", "du.1", "du.2",
152 "dclkin.0", "dclkin.1", "dclkin.2";
165 clock-frequency = <16666666>;
169 clock-frequency = <32768>;
175 gpios = <10 GPIO_ACTIVE_LOW>;
177 line-name = "usb1-reset";
187 rcar_dw_hdmi0_out: endpoint {
188 remote-endpoint = <&hdmi0_con>;
193 dw_hdmi0_snd_in: endpoint {
194 remote-endpoint = <&rsnd_endpoint0>;
201 pinctrl-0 = <&hscif0_pins>;
202 pinctrl-names = "default";
208 compatible = "ti,wl1837-st";
209 enable-gpios = <&gpio_expander 2 GPIO_ACTIVE_HIGH>;
219 clock-frequency = <400000>;
222 gpio_expander: gpio@20 {
223 compatible = "onnn,pca9654";
229 versaclock5: clock-generator@6a {
230 compatible = "idt,5p49v5923";
233 clocks = <&x304_clk>;
247 clock-frequency = <100000000>;
251 pinctrl-0 = <&scif_clk_pins>;
252 pinctrl-names = "default";
254 hscif0_pins: hscif0 {
255 groups = "hscif0_data", "hscif0_ctrl";
260 groups = "scif2_data_a";
264 scif_clk_pins: scif_clk {
265 groups = "scif_clk_a";
266 function = "scif_clk";
270 groups = "sdhi0_data4", "sdhi0_ctrl";
272 power-source = <3300>;
275 sdhi0_pins_uhs: sd0_uhs {
276 groups = "sdhi0_data4", "sdhi0_ctrl";
278 power-source = <1800>;
282 groups = "sdhi2_data4", "sdhi2_ctrl";
284 power-source = <1800>;
288 groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
290 power-source = <1800>;
293 sound_clk_pins: sound_clk {
294 groups = "audio_clk_a_a";
295 function = "audio_clk";
322 pinctrl-0 = <&sound_clk_pins>;
323 pinctrl-names = "default";
328 #sound-dai-cells = <0>;
332 rsnd_endpoint0: endpoint {
333 remote-endpoint = <&dw_hdmi0_snd_in>;
336 bitclock-master = <&rsnd_endpoint0>;
337 frame-master = <&rsnd_endpoint0>;
351 pinctrl-0 = <&scif2_pins>;
352 pinctrl-names = "default";
358 clock-frequency = <14745600>;
362 pinctrl-0 = <&sdhi0_pins>;
363 pinctrl-1 = <&sdhi0_pins_uhs>;
364 pinctrl-names = "default", "state_uhs";
366 vmmc-supply = <®_3p3v>;
367 vqmmc-supply = <&vccq_sdhi0>;
368 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
377 pinctrl-0 = <&sdhi2_pins>;
378 pinctrl-names = "default";
380 vmmc-supply = <&wlan_en_reg>;
384 keep-power-in-suspend;
386 #address-cells = <1>;
389 compatible = "ti,wl1837";
391 interrupt-parent = <&gpio2>;
392 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
397 pinctrl-0 = <&sdhi3_pins>;
398 pinctrl-1 = <&sdhi3_pins>;
399 pinctrl-names = "default", "state_uhs";
401 vmmc-supply = <®_3p3v>;
402 vqmmc-supply = <®_1p8v>;
406 fixed-emmc-driver-type = <1>;
411 clock-frequency = <50000000>;
415 pinctrl-0 = <&usb0_pins>;
416 pinctrl-names = "default";
418 vbus-supply = <&vbus0_usb2>;
423 pinctrl-0 = <&usb1_pins>;
424 pinctrl-names = "default";
433 companion = <&xhci0>;
443 clock-frequency = <100000000>;
447 pinctrl-0 = <&usb30_pins>;
448 pinctrl-names = "default";