1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the RZA2MEVB board
5 * Copyright (C) 2018 Renesas Electronics
10 #include "r7s9210.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/pinctrl/r7s9210-pinctrl.h>
17 compatible = "renesas,rza2mevb", "renesas,r7s9210";
26 bootargs = "ignore_loglevel";
27 stdout-path = "serial0:115200n8";
31 compatible = "gpio-keys";
33 pinctrl-names = "default";
34 pinctrl-0 = <&keyboard_pins>;
37 interrupt-parent = <&irqc>;
38 interrupts = <0 IRQ_TYPE_EDGE_BOTH>;
51 compatible = "gpio-leds";
54 gpios = <&pinctrl RZA2_PIN(PORT6, 0) GPIO_ACTIVE_HIGH>;
57 gpios = <&pinctrl RZA2_PIN(PORTC, 1) GPIO_ACTIVE_HIGH>;
62 device_type = "memory";
63 reg = <0x40000000 0x00800000>; /* HyperRAM */
76 pinctrl-names = "default";
77 pinctrl-0 = <ð0_pins>;
79 renesas,no-ether-link;
81 phy0: ethernet-phy@0 {
87 pinctrl-names = "default";
88 pinctrl-0 = <ð1_pins>;
90 renesas,no-ether-link;
92 phy1: ethernet-phy@1 {
99 clock-frequency = <24000000>; /* 24MHz */
102 /* High resolution System tick timers */
113 pinmux = <RZA2_PINMUX(PORTE, 0, 7)>, /* REF50CK0 */
114 <RZA2_PINMUX(PORT6, 1, 7)>, /* RMMI0_TXDEN */
115 <RZA2_PINMUX(PORT6, 2, 7)>, /* RMII0_TXD0 */
116 <RZA2_PINMUX(PORT6, 3, 7)>, /* RMII0_TXD1 */
117 <RZA2_PINMUX(PORTE, 4, 7)>, /* RMII0_CRSDV */
118 <RZA2_PINMUX(PORTE, 1, 7)>, /* RMII0_RXD0 */
119 <RZA2_PINMUX(PORTE, 2, 7)>, /* RMII0_RXD1 */
120 <RZA2_PINMUX(PORTE, 3, 7)>, /* RMII0_RXER */
121 <RZA2_PINMUX(PORTE, 5, 1)>, /* ET0_MDC */
122 <RZA2_PINMUX(PORTE, 6, 1)>, /* ET0_MDIO */
123 <RZA2_PINMUX(PORTL, 0, 5)>; /* IRQ4 */
127 pinmux = <RZA2_PINMUX(PORTK, 3, 7)>, /* REF50CK1 */
128 <RZA2_PINMUX(PORTK, 0, 7)>, /* RMMI1_TXDEN */
129 <RZA2_PINMUX(PORTK, 1, 7)>, /* RMII1_TXD0 */
130 <RZA2_PINMUX(PORTK, 2, 7)>, /* RMII1_TXD1 */
131 <RZA2_PINMUX(PORT3, 2, 7)>, /* RMII1_CRSDV */
132 <RZA2_PINMUX(PORTK, 4, 7)>, /* RMII1_RXD0 */
133 <RZA2_PINMUX(PORT3, 5, 7)>, /* RMII1_RXD1 */
134 <RZA2_PINMUX(PORT3, 1, 7)>, /* RMII1_RXER */
135 <RZA2_PINMUX(PORT3, 3, 1)>, /* ET1_MDC */
136 <RZA2_PINMUX(PORT3, 4, 1)>, /* ET1_MDIO */
137 <RZA2_PINMUX(PORTL, 1, 5)>; /* IRQ5 */
140 keyboard_pins: keyboard {
141 pinmux = <RZA2_PINMUX(PORTJ, 1, 6)>; /* IRQ0 */
145 scif4_pins: serial4 {
146 pinmux = <RZA2_PINMUX(PORT9, 0, 4)>, /* TxD4 */
147 <RZA2_PINMUX(PORT9, 1, 4)>; /* RxD4 */
151 pinmux = <RZA2_PINMUX(PORT5, 0, 3)>, /* SD0_CD */
152 <RZA2_PINMUX(PORT5, 1, 3)>; /* SD0_WP */
156 pinmux = <RZA2_PINMUX(PORT5, 4, 3)>, /* SD1_CD */
157 <RZA2_PINMUX(PORT5, 5, 3)>; /* SD1_WP */
161 pinmux = <RZA2_PINMUX(PORT5, 2, 3)>, /* VBUSIN0 */
162 <RZA2_PINMUX(PORTC, 6, 1)>, /* VBUSEN0 */
163 <RZA2_PINMUX(PORTC, 7, 1)>; /* OVRCUR0 */
167 pinmux = <RZA2_PINMUX(PORTC, 0, 1)>, /* VBUSIN1 */
168 <RZA2_PINMUX(PORTC, 5, 1)>, /* VBUSEN1 */
169 <RZA2_PINMUX(PORT7, 5, 5)>; /* OVRCUR1 */
175 clock-frequency = <32768>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&scif4_pins>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&sdhi0_pins>;
194 pinctrl-names = "default";
195 pinctrl-0 = <&sdhi1_pins>;
202 pinctrl-names = "default";
203 pinctrl-0 = <&usb0_pins>;
204 dr_mode = "host"; /* Requires JP3 to be fitted */
210 pinctrl-names = "default";
211 pinctrl-0 = <&usb1_pins>;
218 clock-frequency = <48000000>;