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_HIGH>;
102 gpios = <&pfc 126 GPIO_ACTIVE_HIGH>;
106 gpios = <&pfc 132 GPIO_ACTIVE_HIGH>;
110 gpios = <&pfc 232 GPIO_ACTIVE_HIGH>;
114 gpios = <&pfc 250 GPIO_ACTIVE_HIGH>;
118 gpios = <&pfc 288 GPIO_ACTIVE_HIGH>;
119 label = "BBRESETOUT";
124 compatible = "gpio-keys";
126 pinctrl-names = "default";
127 pinctrl-0 = <&keyboard_pins>;
130 gpios = <&pfc 324 GPIO_ACTIVE_LOW>;
131 linux,code = <KEY_0>;
137 gpios = <&pfc 325 GPIO_ACTIVE_LOW>;
138 linux,code = <KEY_MENU>;
143 gpios = <&pfc 326 GPIO_ACTIVE_LOW>;
144 linux,code = <KEY_HOME>;
149 gpios = <&pfc 327 GPIO_ACTIVE_LOW>;
150 linux,code = <KEY_BACK>;
155 gpios = <&pfc 328 GPIO_ACTIVE_LOW>;
156 linux,code = <KEY_VOLUMEUP>;
161 gpios = <&pfc 329 GPIO_ACTIVE_LOW>;
162 linux,code = <KEY_VOLUMEDOWN>;
170 vdd_dvfs: max8973@1b {
171 compatible = "maxim,max8973";
174 regulator-min-microvolt = <935000>;
175 regulator-max-microvolt = <1200000>;
182 cpu0-supply = <&vdd_dvfs>;
188 voltage-tolerance = <1>; /* 1% */
196 scifa0_pins: serial0 {
197 renesas,groups = "scifa0_data";
198 renesas,function = "scifa0";
202 renesas,groups = "mmc0_data8", "mmc0_ctrl";
203 renesas,function = "mmc0";
207 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
208 renesas,function = "sdhi0";
212 renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
213 renesas,function = "sdhi1";
216 keyboard_pins: keyboard {
217 renesas,pins = "PORT324", "PORT325", "PORT326", "PORT327",
218 "PORT328", "PORT329";
224 vmmc-supply = <&vcc_mmc0>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&mmc0_pins>;
233 pinctrl-0 = <&scifa0_pins>;
234 pinctrl-names = "default";
240 vmmc-supply = <&vcc_sdhi0>;
242 toshiba,mmc-wrprotect-disable;
243 pinctrl-names = "default";
244 pinctrl-0 = <&sdhi0_pins>;
249 vmmc-supply = <&ape6evm_fixed_3v3>;
252 toshiba,mmc-wrprotect-disable;
253 pinctrl-names = "default";
254 pinctrl-0 = <&sdhi1_pins>;