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 = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
26 stdout-path = &scifa0;
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 = "simple-bus";
79 ranges = <0 0 0 0x20000000>;
82 compatible = "smsc,lan9220", "smsc,lan9115";
83 reg = <0x08000000 0x1000>;
84 interrupt-parent = <&irqc1>;
85 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
90 vdd33a-supply = <&ape6evm_fixed_3v3>;
91 vddvario-supply = <&ape6evm_fixed_1v8>;
96 compatible = "gpio-leds";
98 gpios = <&pfc 28 GPIO_ACTIVE_LOW>;
102 gpios = <&pfc 126 GPIO_ACTIVE_LOW>;
106 gpios = <&pfc 132 GPIO_ACTIVE_LOW>;
110 gpios = <&pfc 232 GPIO_ACTIVE_LOW>;
114 gpios = <&pfc 250 GPIO_ACTIVE_LOW>;
118 gpios = <&pfc 288 GPIO_ACTIVE_LOW>;
119 label = "BBRESETOUT";
124 compatible = "gpio-keys";
127 gpios = <&pfc 324 GPIO_ACTIVE_LOW>;
128 linux,code = <KEY_0>;
133 gpios = <&pfc 325 GPIO_ACTIVE_LOW>;
134 linux,code = <KEY_MENU>;
139 gpios = <&pfc 326 GPIO_ACTIVE_LOW>;
140 linux,code = <KEY_HOME>;
145 gpios = <&pfc 327 GPIO_ACTIVE_LOW>;
146 linux,code = <KEY_BACK>;
151 gpios = <&pfc 328 GPIO_ACTIVE_LOW>;
152 linux,code = <KEY_VOLUMEUP>;
157 gpios = <&pfc 329 GPIO_ACTIVE_LOW>;
158 linux,code = <KEY_VOLUMEDOWN>;
166 vdd_dvfs: max8973@1b {
167 compatible = "maxim,max8973";
170 regulator-min-microvolt = <935000>;
171 regulator-max-microvolt = <1200000>;
178 cpu0-supply = <&vdd_dvfs>;
184 voltage-tolerance = <1>; /* 1% */
192 scifa0_pins: serial0 {
193 renesas,groups = "scifa0_data";
194 renesas,function = "scifa0";
198 renesas,groups = "mmc0_data8", "mmc0_ctrl";
199 renesas,function = "mmc0";
203 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
204 renesas,function = "sdhi0";
208 renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
209 renesas,function = "sdhi1";
214 vmmc-supply = <&vcc_mmc0>;
217 pinctrl-names = "default";
218 pinctrl-0 = <&mmc0_pins>;
223 pinctrl-0 = <&scifa0_pins>;
224 pinctrl-names = "default";
230 vmmc-supply = <&vcc_sdhi0>;
232 toshiba,mmc-wrprotect-disable;
233 pinctrl-names = "default";
234 pinctrl-0 = <&sdhi0_pins>;
239 vmmc-supply = <&ape6evm_fixed_3v3>;
242 toshiba,mmc-wrprotect-disable;
243 pinctrl-names = "default";
244 pinctrl-0 = <&sdhi1_pins>;