1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the HiHope RZ/G2H Rev.4.0 and
4 * HiHope RZ/G2[MN] Rev.[2.0/3.0/4.0] main board common parts
6 * Copyright (C) 2019 Renesas Electronics Corp.
9 #include <dt-bindings/gpio/gpio.h>
29 bootargs = "ignore_loglevel";
30 stdout-path = "serial0:115200n8";
34 compatible = "hdmi-connector";
39 remote-endpoint = <&rcar_dw_hdmi0_out>;
45 compatible = "gpio-leds";
48 gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
52 gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
56 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
60 gpios = <&gpio6 11 GPIO_ACTIVE_HIGH>;
64 reg_1p8v: regulator-1p8v {
65 compatible = "regulator-fixed";
66 regulator-name = "fixed-1.8V";
67 regulator-min-microvolt = <1800000>;
68 regulator-max-microvolt = <1800000>;
73 reg_3p3v: regulator-3p3v {
74 compatible = "regulator-fixed";
75 regulator-name = "fixed-3.3V";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
83 compatible = "audio-graph-card";
90 vbus0_usb2: regulator-vbus0-usb2 {
91 compatible = "regulator-fixed";
93 regulator-name = "USB20_VBUS0";
94 regulator-min-microvolt = <5000000>;
95 regulator-max-microvolt = <5000000>;
97 gpio = <&gpio6 16 GPIO_ACTIVE_HIGH>;
101 vccq_sdhi0: regulator-vccq-sdhi0 {
102 compatible = "regulator-gpio";
104 regulator-name = "SDHI0 VccQ";
105 regulator-min-microvolt = <1800000>;
106 regulator-max-microvolt = <3300000>;
108 gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
110 states = <3300000 1>, <1800000 0>;
113 x302_clk: x302-clock {
114 compatible = "fixed-clock";
116 clock-frequency = <33000000>;
119 x304_clk: x304-clock {
120 compatible = "fixed-clock";
122 clock-frequency = <25000000>;
127 clock-frequency = <22579200>;
143 clock-frequency = <16666666>;
147 clock-frequency = <32768>;
153 gpios = <10 GPIO_ACTIVE_LOW>;
155 line-name = "usb1-reset";
165 rcar_dw_hdmi0_out: endpoint {
166 remote-endpoint = <&hdmi0_con>;
171 dw_hdmi0_snd_in: endpoint {
172 remote-endpoint = <&rsnd_endpoint>;
179 pinctrl-0 = <&hscif0_pins>;
180 pinctrl-names = "default";
192 clock-frequency = <400000>;
195 versaclock5: clock-generator@6a {
196 compatible = "idt,5p49v5923";
199 clocks = <&x304_clk>;
213 clock-frequency = <100000000>;
217 pinctrl-0 = <&scif_clk_pins>;
218 pinctrl-names = "default";
220 hscif0_pins: hscif0 {
221 groups = "hscif0_data", "hscif0_ctrl";
226 groups = "scif2_data_a";
230 scif_clk_pins: scif_clk {
231 groups = "scif_clk_a";
232 function = "scif_clk";
236 groups = "sdhi0_data4", "sdhi0_ctrl";
238 power-source = <3300>;
241 sdhi0_pins_uhs: sd0_uhs {
242 groups = "sdhi0_data4", "sdhi0_ctrl";
244 power-source = <1800>;
248 groups = "sdhi2_data4", "sdhi2_ctrl";
250 power-source = <1800>;
254 groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
256 power-source = <1800>;
288 pinctrl-0 = <&scif2_pins>;
289 pinctrl-names = "default";
295 clock-frequency = <14745600>;
299 pinctrl-0 = <&sdhi0_pins>;
300 pinctrl-1 = <&sdhi0_pins_uhs>;
301 pinctrl-names = "default", "state_uhs";
303 vmmc-supply = <®_3p3v>;
304 vqmmc-supply = <&vccq_sdhi0>;
305 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
314 pinctrl-0 = <&sdhi2_pins>;
315 pinctrl-names = "default";
317 vmmc-supply = <&wlan_en_reg>;
321 keep-power-in-suspend;
323 #address-cells = <1>;
326 compatible = "ti,wl1837";
328 interrupt-parent = <&gpio2>;
329 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
334 pinctrl-0 = <&sdhi3_pins>;
335 pinctrl-1 = <&sdhi3_pins>;
336 pinctrl-names = "default", "state_uhs";
338 vmmc-supply = <®_3p3v>;
339 vqmmc-supply = <®_1p8v>;
345 fixed-emmc-driver-type = <1>;
350 clock-frequency = <50000000>;
354 pinctrl-0 = <&usb0_pins>;
355 pinctrl-names = "default";
357 vbus-supply = <&vbus0_usb2>;
362 pinctrl-0 = <&usb1_pins>;
363 pinctrl-names = "default";
372 companion = <&xhci0>;
382 clock-frequency = <100000000>;
386 pinctrl-0 = <&usb30_pins>;
387 pinctrl-names = "default";