2 * Device Tree Source for the APE6EVM board
4 * Copyright (C) 2013 Renesas Solutions Corp.
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
12 #include "r8a73a4.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
18 compatible = "renesas,ape6evm", "renesas,r8a73a4";
25 bootargs = "ignore_loglevel root=/dev/nfs ip=dhcp rw";
26 stdout-path = "serial0:115200n8";
30 device_type = "memory";
31 reg = <0 0x40000000 0 0x40000000>;
35 device_type = "memory";
36 reg = <2 0x00000000 0 0x40000000>;
39 vcc_mmc0: regulator@0 {
40 compatible = "regulator-fixed";
41 regulator-name = "MMC0 Vcc";
42 regulator-min-microvolt = <2800000>;
43 regulator-max-microvolt = <2800000>;
47 vcc_sdhi0: regulator@1 {
48 compatible = "regulator-fixed";
50 regulator-name = "SDHI0 Vcc";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
54 gpio = <&pfc 76 GPIO_ACTIVE_HIGH>;
58 /* Common 1.8V and 3.3V rails, used by several devices on APE6EVM */
59 ape6evm_fixed_1v8: regulator@2 {
60 compatible = "regulator-fixed";
61 regulator-name = "1V8";
62 regulator-min-microvolt = <1800000>;
63 regulator-max-microvolt = <1800000>;
67 ape6evm_fixed_3v3: regulator@3 {
68 compatible = "regulator-fixed";
69 regulator-name = "3V3";
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
76 compatible = "gpio-leds";
78 gpios = <&pfc 28 GPIO_ACTIVE_HIGH>;
82 gpios = <&pfc 126 GPIO_ACTIVE_HIGH>;
86 gpios = <&pfc 132 GPIO_ACTIVE_HIGH>;
90 gpios = <&pfc 232 GPIO_ACTIVE_HIGH>;
94 gpios = <&pfc 250 GPIO_ACTIVE_HIGH>;
98 gpios = <&pfc 288 GPIO_ACTIVE_HIGH>;
104 compatible = "gpio-keys";
106 pinctrl-names = "default";
107 pinctrl-0 = <&keyboard_pins>;
110 gpios = <&pfc 324 GPIO_ACTIVE_LOW>;
111 linux,code = <KEY_0>;
117 gpios = <&pfc 325 GPIO_ACTIVE_LOW>;
118 linux,code = <KEY_MENU>;
123 gpios = <&pfc 326 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_HOME>;
129 gpios = <&pfc 327 GPIO_ACTIVE_LOW>;
130 linux,code = <KEY_BACK>;
135 gpios = <&pfc 328 GPIO_ACTIVE_LOW>;
136 linux,code = <KEY_VOLUMEUP>;
141 gpios = <&pfc 329 GPIO_ACTIVE_LOW>;
142 linux,code = <KEY_VOLUMEDOWN>;
150 vdd_dvfs: regulator@1b {
151 compatible = "maxim,max8973";
154 regulator-min-microvolt = <935000>;
155 regulator-max-microvolt = <1200000>;
162 cpu0-supply = <&vdd_dvfs>;
168 voltage-tolerance = <1>; /* 1% */
173 compatible = "smsc,lan9220", "smsc,lan9115";
174 reg = <0x08000000 0x1000>;
175 interrupt-parent = <&irqc1>;
176 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
179 smsc,irq-active-high;
181 vdd33a-supply = <&ape6evm_fixed_3v3>;
182 vddvario-supply = <&ape6evm_fixed_1v8>;
191 scifa0_pins: serial0 {
192 renesas,groups = "scifa0_data";
193 renesas,function = "scifa0";
197 renesas,groups = "mmc0_data8", "mmc0_ctrl";
198 renesas,function = "mmc0";
202 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
203 renesas,function = "sdhi0";
207 renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
208 renesas,function = "sdhi1";
211 keyboard_pins: keyboard {
212 renesas,pins = "PORT324", "PORT325", "PORT326", "PORT327",
213 "PORT328", "PORT329";
219 vmmc-supply = <&vcc_mmc0>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&mmc0_pins>;
228 pinctrl-0 = <&scifa0_pins>;
229 pinctrl-names = "default";
235 vmmc-supply = <&vcc_sdhi0>;
237 toshiba,mmc-wrprotect-disable;
238 pinctrl-names = "default";
239 pinctrl-0 = <&sdhi0_pins>;
244 vmmc-supply = <&ape6evm_fixed_3v3>;
247 toshiba,mmc-wrprotect-disable;
248 pinctrl-names = "default";
249 pinctrl-0 = <&sdhi1_pins>;