1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for the APE6EVM board
5 * Copyright (C) 2013 Renesas Solutions Corp.
9 #include "r8a73a4.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
15 compatible = "renesas,ape6evm", "renesas,r8a73a4";
22 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
23 stdout-path = "serial0:115200n8";
27 device_type = "memory";
28 reg = <0 0x40000000 0 0x40000000>;
32 device_type = "memory";
33 reg = <2 0x00000000 0 0x40000000>;
36 vcc_mmc0: regulator-mmc0 {
37 compatible = "regulator-fixed";
38 regulator-name = "MMC0 Vcc";
39 regulator-min-microvolt = <2800000>;
40 regulator-max-microvolt = <2800000>;
44 vcc_sdhi0: regulator-sdhi0 {
45 compatible = "regulator-fixed";
47 regulator-name = "SDHI0 Vcc";
48 regulator-min-microvolt = <3300000>;
49 regulator-max-microvolt = <3300000>;
51 gpio = <&pfc 76 GPIO_ACTIVE_HIGH>;
55 /* Common 1.8V and 3.3V rails, used by several devices on APE6EVM */
56 ape6evm_fixed_1v8: regulator-1v8 {
57 compatible = "regulator-fixed";
58 regulator-name = "1V8";
59 regulator-min-microvolt = <1800000>;
60 regulator-max-microvolt = <1800000>;
64 ape6evm_fixed_3v3: regulator-3v3 {
65 compatible = "regulator-fixed";
66 regulator-name = "3V3";
67 regulator-min-microvolt = <3300000>;
68 regulator-max-microvolt = <3300000>;
73 compatible = "gpio-leds";
75 gpios = <&pfc 28 GPIO_ACTIVE_HIGH>;
79 gpios = <&pfc 126 GPIO_ACTIVE_HIGH>;
83 gpios = <&pfc 132 GPIO_ACTIVE_HIGH>;
87 gpios = <&pfc 232 GPIO_ACTIVE_HIGH>;
91 gpios = <&pfc 250 GPIO_ACTIVE_HIGH>;
95 gpios = <&pfc 288 GPIO_ACTIVE_HIGH>;
101 compatible = "gpio-keys";
103 pinctrl-names = "default";
104 pinctrl-0 = <&keyboard_pins>;
107 gpios = <&pfc 324 GPIO_ACTIVE_LOW>;
108 linux,code = <KEY_0>;
114 gpios = <&pfc 325 GPIO_ACTIVE_LOW>;
115 linux,code = <KEY_MENU>;
120 gpios = <&pfc 326 GPIO_ACTIVE_LOW>;
121 linux,code = <KEY_HOME>;
126 gpios = <&pfc 327 GPIO_ACTIVE_LOW>;
127 linux,code = <KEY_BACK>;
132 gpios = <&pfc 328 GPIO_ACTIVE_LOW>;
133 linux,code = <KEY_VOLUMEUP>;
138 gpios = <&pfc 329 GPIO_ACTIVE_LOW>;
139 linux,code = <KEY_VOLUMEDOWN>;
147 vdd_dvfs: regulator@1b {
148 compatible = "maxim,max8973";
151 regulator-min-microvolt = <935000>;
152 regulator-max-microvolt = <1200000>;
159 cpu0-supply = <&vdd_dvfs>;
160 operating-points = <1950000 1115000>, /* kHz uV */
162 voltage-tolerance = <1>; /* 1% */
167 compatible = "cfi-flash", "mtd-rom";
168 reg = <0x0 0x08000000>;
172 compatible = "fixed-partitions";
173 #address-cells = <1>;
178 reg = <0x00000000 0x00040000>;
183 reg = <0x00040000 0x00040000>;
188 reg = <0x00080000 0x07f80000>;
194 compatible = "smsc,lan9220", "smsc,lan9115";
195 reg = <0x08000000 0x1000>;
196 interrupt-parent = <&irqc1>;
197 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
200 smsc,irq-active-high;
202 vdd33a-supply = <&ape6evm_fixed_3v3>;
203 vddvario-supply = <&ape6evm_fixed_1v8>;
212 scifa0_pins: scifa0 {
213 groups = "scifa0_data";
218 groups = "mmc0_data8", "mmc0_ctrl";
223 groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
228 groups = "sdhi1_data4", "sdhi1_ctrl";
232 keyboard_pins: keyboard {
233 pins = "PORT324", "PORT325", "PORT326", "PORT327", "PORT328",
240 vmmc-supply = <&vcc_mmc0>;
243 pinctrl-names = "default";
244 pinctrl-0 = <&mmc0_pins>;
249 pinctrl-0 = <&scifa0_pins>;
250 pinctrl-names = "default";
256 vmmc-supply = <&vcc_sdhi0>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&sdhi0_pins>;
265 vmmc-supply = <&ape6evm_fixed_3v3>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&sdhi1_pins>;