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>
18 bootargs = "ignore_loglevel";
19 stdout-path = "serial0:115200n8";
23 compatible = "hdmi-connector";
28 remote-endpoint = <&rcar_dw_hdmi0_out>;
34 compatible = "gpio-leds";
37 gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
41 gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
45 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
49 gpios = <&gpio6 11 GPIO_ACTIVE_HIGH>;
53 reg_1p8v: regulator0 {
54 compatible = "regulator-fixed";
55 regulator-name = "fixed-1.8V";
56 regulator-min-microvolt = <1800000>;
57 regulator-max-microvolt = <1800000>;
62 reg_3p3v: regulator1 {
63 compatible = "regulator-fixed";
64 regulator-name = "fixed-3.3V";
65 regulator-min-microvolt = <3300000>;
66 regulator-max-microvolt = <3300000>;
72 compatible = "audio-graph-card";
79 vbus0_usb2: regulator-vbus0-usb2 {
80 compatible = "regulator-fixed";
82 regulator-name = "USB20_VBUS0";
83 regulator-min-microvolt = <5000000>;
84 regulator-max-microvolt = <5000000>;
86 gpio = <&gpio6 16 GPIO_ACTIVE_HIGH>;
90 vccq_sdhi0: regulator-vccq-sdhi0 {
91 compatible = "regulator-gpio";
93 regulator-name = "SDHI0 VccQ";
94 regulator-min-microvolt = <1800000>;
95 regulator-max-microvolt = <3300000>;
97 gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
99 states = <3300000 1>, <1800000 0>;
102 x302_clk: x302-clock {
103 compatible = "fixed-clock";
105 clock-frequency = <33000000>;
108 x304_clk: x304-clock {
109 compatible = "fixed-clock";
111 clock-frequency = <25000000>;
116 clock-frequency = <22579200>;
132 clock-frequency = <16666666>;
136 clock-frequency = <32768>;
142 gpios = <10 GPIO_ACTIVE_LOW>;
144 line-name = "usb1-reset";
154 rcar_dw_hdmi0_out: endpoint {
155 remote-endpoint = <&hdmi0_con>;
160 dw_hdmi0_snd_in: endpoint {
161 remote-endpoint = <&rsnd_endpoint>;
168 pinctrl-0 = <&hscif0_pins>;
169 pinctrl-names = "default";
181 clock-frequency = <400000>;
184 versaclock5: clock-generator@6a {
185 compatible = "idt,5p49v5923";
188 clocks = <&x304_clk>;
202 clock-frequency = <100000000>;
206 pinctrl-0 = <&scif_clk_pins>;
207 pinctrl-names = "default";
209 hscif0_pins: hscif0 {
210 groups = "hscif0_data", "hscif0_ctrl";
215 groups = "scif2_data_a";
219 scif_clk_pins: scif_clk {
220 groups = "scif_clk_a";
221 function = "scif_clk";
225 groups = "sdhi0_data4", "sdhi0_ctrl";
227 power-source = <3300>;
230 sdhi0_pins_uhs: sd0_uhs {
231 groups = "sdhi0_data4", "sdhi0_ctrl";
233 power-source = <1800>;
237 groups = "sdhi2_data4", "sdhi2_ctrl";
239 power-source = <1800>;
243 groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
245 power-source = <1800>;
277 pinctrl-0 = <&scif2_pins>;
278 pinctrl-names = "default";
284 clock-frequency = <14745600>;
288 pinctrl-0 = <&sdhi0_pins>;
289 pinctrl-1 = <&sdhi0_pins_uhs>;
290 pinctrl-names = "default", "state_uhs";
292 vmmc-supply = <®_3p3v>;
293 vqmmc-supply = <&vccq_sdhi0>;
294 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
303 pinctrl-0 = <&sdhi2_pins>;
304 pinctrl-names = "default";
306 vmmc-supply = <&wlan_en_reg>;
310 keep-power-in-suspend;
312 #address-cells = <1>;
315 compatible = "ti,wl1837";
317 interrupt-parent = <&gpio2>;
318 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
323 pinctrl-0 = <&sdhi3_pins>;
324 pinctrl-1 = <&sdhi3_pins>;
325 pinctrl-names = "default", "state_uhs";
327 vmmc-supply = <®_3p3v>;
328 vqmmc-supply = <®_1p8v>;
332 fixed-emmc-driver-type = <1>;
337 clock-frequency = <50000000>;
341 pinctrl-0 = <&usb0_pins>;
342 pinctrl-names = "default";
344 vbus-supply = <&vbus0_usb2>;
349 pinctrl-0 = <&usb1_pins>;
350 pinctrl-names = "default";
359 companion = <&xhci0>;
369 clock-frequency = <100000000>;
373 pinctrl-0 = <&usb30_pins>;
374 pinctrl-names = "default";