1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the RZ/V2M (r9a09g011) Evaluation Kit Board
5 * Copyright (C) 2022 Renesas Electronics Corp.
9 #include "r9a09g011.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/pinctrl/rzv2m-pinctrl.h>
14 model = "RZ/V2M Evaluation Kit 2.0";
15 compatible = "renesas,rzv2mevk2", "renesas,r9a09g011";
23 stdout-path = "serial0:115200n8";
27 compatible = "usb-c-connector";
38 remote-endpoint = <&usb3_hs_ep>;
45 remote-endpoint = <&hd3ss3220_in_ep>;
52 device_type = "memory";
54 * first 1.25GiB is reserved for ISP Firmware,
55 * next 128MiB is reserved for secure area.
57 reg = <0x0 0x58000000 0x0 0x28000000>;
61 device_type = "memory";
62 reg = <0x1 0x80000000 0x0 0x80000000>;
65 reg_1v8: regulator-1v8 {
66 compatible = "regulator-fixed";
67 regulator-name = "fixed-1.8V";
68 regulator-min-microvolt = <1800000>;
69 regulator-max-microvolt = <1800000>;
74 reg_3v3: regulator-3v3 {
75 compatible = "regulator-fixed";
76 regulator-name = "fixed-3.3V";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
83 vccq_sdhi0: regulator-vccq-sdhi0 {
84 compatible = "regulator-gpio";
86 regulator-name = "SDHI0 VccQ";
87 regulator-min-microvolt = <1800000>;
88 regulator-max-microvolt = <3300000>;
90 gpios = <&pwc 0 GPIO_ACTIVE_HIGH>;
92 states = <3300000 0>, <1800000 1>;
97 renesas,no-ether-link;
102 phy0: ethernet-phy@0 {
103 compatible = "ethernet-phy-id001c.c916",
104 "ethernet-phy-ieee802.3-c22";
110 pinctrl-0 = <&emmc_pins>;
111 pinctrl-1 = <&emmc_pins>;
112 pinctrl-names = "default", "state_uhs";
114 vmmc-supply = <®_3v3>;
115 vqmmc-supply = <®_1v8>;
121 fixed-emmc-driver-type = <1>;
122 max-frequency = <200000000>;
127 clock-frequency = <48000000>;
131 pinctrl-0 = <&i2c0_pins>;
132 pinctrl-names = "default";
133 clock-frequency = <400000>;
137 compatible = "ti,hd3ss3220";
141 #address-cells = <1>;
146 hd3ss3220_in_ep: endpoint {
147 remote-endpoint = <&ss_ep>;
153 hd3ss3220_out_ep: endpoint {
154 remote-endpoint = <&usb3_role_switch>;
162 pinctrl-0 = <&i2c2_pins>;
163 pinctrl-names = "default";
164 clock-frequency = <100000>;
171 pinmux = <RZV2M_PORT_PINMUX(0, 0, 2)>, /* MMDAT0 */
172 <RZV2M_PORT_PINMUX(0, 1, 2)>, /* MMDAT1 */
173 <RZV2M_PORT_PINMUX(0, 2, 2)>, /* MMDAT2 */
174 <RZV2M_PORT_PINMUX(0, 3, 2)>, /* MMDAT3 */
175 <RZV2M_PORT_PINMUX(0, 4, 2)>, /* MMDAT4 */
176 <RZV2M_PORT_PINMUX(0, 5, 2)>, /* MMDAT5 */
177 <RZV2M_PORT_PINMUX(0, 6, 2)>, /* MMDAT6 */
178 <RZV2M_PORT_PINMUX(0, 7, 2)>; /* MMDAT7 */
179 power-source = <1800>;
183 pinmux = <RZV2M_PORT_PINMUX(0, 10, 2)>, /* MMCMD */
184 <RZV2M_PORT_PINMUX(0, 11, 2)>; /* MMCLK */
185 power-source = <1800>;
190 pinmux = <RZV2M_PORT_PINMUX(5, 0, 2)>, /* SDA */
191 <RZV2M_PORT_PINMUX(5, 1, 2)>; /* SCL */
195 pinmux = <RZV2M_PORT_PINMUX(3, 8, 2)>, /* SDA */
196 <RZV2M_PORT_PINMUX(3, 9, 2)>; /* SCL */
201 pinmux = <RZV2M_PORT_PINMUX(8, 2, 1)>, /* SD0DAT0 */
202 <RZV2M_PORT_PINMUX(8, 3, 1)>, /* SD0DAT1 */
203 <RZV2M_PORT_PINMUX(8, 4, 1)>, /* SD0DAT2 */
204 <RZV2M_PORT_PINMUX(8, 5, 1)>; /* SD0DAT3 */
205 power-source = <3300>;
209 pinmux = <RZV2M_PORT_PINMUX(8, 0, 1)>, /* SD0CMD */
210 <RZV2M_PORT_PINMUX(8, 1, 1)>; /* SD0CLK */
211 power-source = <3300>;
215 pinmux = <RZV2M_PORT_PINMUX(8, 7, 1)>; /* SD0CD */
216 power-source = <3300>;
220 sdhi0_pins_uhs: sd0-uhs {
222 pinmux = <RZV2M_PORT_PINMUX(8, 2, 1)>, /* SD0DAT0 */
223 <RZV2M_PORT_PINMUX(8, 3, 1)>, /* SD0DAT1 */
224 <RZV2M_PORT_PINMUX(8, 4, 1)>, /* SD0DAT2 */
225 <RZV2M_PORT_PINMUX(8, 5, 1)>; /* SD0DAT3 */
226 power-source = <1800>;
230 pinmux = <RZV2M_PORT_PINMUX(8, 0, 1)>, /* SD0CMD */
231 <RZV2M_PORT_PINMUX(8, 1, 1)>; /* SD0CLK */
232 power-source = <1800>;
236 pinmux = <RZV2M_PORT_PINMUX(8, 7, 1)>; /* SD0CD */
237 power-source = <1800>;
242 pinmux = <RZV2M_PORT_PINMUX(3, 0, 2)>, /* UATX0 */
243 <RZV2M_PORT_PINMUX(3, 1, 2)>, /* UARX0 */
244 <RZV2M_PORT_PINMUX(3, 2, 2)>, /* UACTS0N */
245 <RZV2M_PORT_PINMUX(3, 3, 2)>; /* UARTS0N */
250 renesas,rzv2m-pwc-power;
255 pinctrl-0 = <&sdhi0_pins>;
256 pinctrl-1 = <&sdhi0_pins_uhs>;
257 pinctrl-names = "default", "state_uhs";
259 vmmc-supply = <®_3v3>;
260 vqmmc-supply = <&vccq_sdhi0>;
268 pinctrl-0 = <&uart0_pins>;
269 pinctrl-names = "default";
284 companion = <&usb3host>;
289 #address-cells = <1>;
294 usb3_hs_ep: endpoint {
295 remote-endpoint = <&hs_ep>;
301 usb3_role_switch: endpoint {
302 remote-endpoint = <&hd3ss3220_out_ep>;