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>
16 bootargs = "ignore_loglevel";
17 stdout-path = "serial0:115200n8";
21 compatible = "hdmi-connector";
26 remote-endpoint = <&rcar_dw_hdmi0_out>;
32 compatible = "gpio-leds";
35 gpios = <&gpio6 11 GPIO_ACTIVE_HIGH>;
39 gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
43 gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
47 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
51 reg_1p8v: regulator0 {
52 compatible = "regulator-fixed";
53 regulator-name = "fixed-1.8V";
54 regulator-min-microvolt = <1800000>;
55 regulator-max-microvolt = <1800000>;
60 reg_3p3v: regulator1 {
61 compatible = "regulator-fixed";
62 regulator-name = "fixed-3.3V";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
69 vbus0_usb2: regulator-vbus0-usb2 {
70 compatible = "regulator-fixed";
72 regulator-name = "USB20_VBUS0";
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
76 gpio = <&gpio6 16 GPIO_ACTIVE_HIGH>;
80 vccq_sdhi0: regulator-vccq-sdhi0 {
81 compatible = "regulator-gpio";
83 regulator-name = "SDHI0 VccQ";
84 regulator-min-microvolt = <1800000>;
85 regulator-max-microvolt = <3300000>;
87 gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
93 x302_clk: x302-clock {
94 compatible = "fixed-clock";
96 clock-frequency = <33000000>;
99 x304_clk: x304-clock {
100 compatible = "fixed-clock";
102 clock-frequency = <25000000>;
107 clocks = <&cpg CPG_MOD 724>,
113 clock-names = "du.0", "du.1", "du.2",
114 "dclkin.0", "dclkin.1", "dclkin.2";
127 clock-frequency = <16666666>;
131 clock-frequency = <32768>;
137 gpios = <10 GPIO_ACTIVE_LOW>;
139 line-name = "usb1-reset";
149 rcar_dw_hdmi0_out: endpoint {
150 remote-endpoint = <&hdmi0_con>;
162 clock-frequency = <400000>;
165 versaclock5: clock-generator@6a {
166 compatible = "idt,5p49v5923";
169 clocks = <&x304_clk>;
183 clock-frequency = <100000000>;
187 pinctrl-0 = <&scif_clk_pins>;
188 pinctrl-names = "default";
191 groups = "scif2_data_a";
195 scif_clk_pins: scif_clk {
196 groups = "scif_clk_a";
197 function = "scif_clk";
201 groups = "sdhi0_data4", "sdhi0_ctrl";
203 power-source = <3300>;
206 sdhi0_pins_uhs: sd0_uhs {
207 groups = "sdhi0_data4", "sdhi0_ctrl";
209 power-source = <1800>;
213 groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
215 power-source = <1800>;
247 pinctrl-0 = <&scif2_pins>;
248 pinctrl-names = "default";
254 clock-frequency = <14745600>;
258 pinctrl-0 = <&sdhi0_pins>;
259 pinctrl-1 = <&sdhi0_pins_uhs>;
260 pinctrl-names = "default", "state_uhs";
262 vmmc-supply = <®_3p3v>;
263 vqmmc-supply = <&vccq_sdhi0>;
264 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
272 pinctrl-0 = <&sdhi3_pins>;
273 pinctrl-1 = <&sdhi3_pins>;
274 pinctrl-names = "default", "state_uhs";
276 vmmc-supply = <®_3p3v>;
277 vqmmc-supply = <®_1p8v>;
281 fixed-emmc-driver-type = <1>;
286 clock-frequency = <50000000>;
290 pinctrl-0 = <&usb0_pins>;
291 pinctrl-names = "default";
293 vbus-supply = <&vbus0_usb2>;
298 pinctrl-0 = <&usb1_pins>;
299 pinctrl-names = "default";
308 companion = <&xhci0>;
318 clock-frequency = <100000000>;
322 pinctrl-0 = <&usb30_pins>;
323 pinctrl-names = "default";