2 * Reference Device Tree Source for the armadillo 800 eva board
4 * Copyright (C) 2012 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 "r8a7740.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/pwm/pwm.h>
19 model = "armadillo 800 eva reference";
20 compatible = "renesas,armadillo800eva-reference", "renesas,r8a7740";
23 bootargs = "console=tty0 console=ttySC1,115200 earlyprintk=sh-sci.1,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
27 device_type = "memory";
28 reg = <0x40000000 0x20000000>;
31 reg_3p3v: regulator@0 {
32 compatible = "regulator-fixed";
33 regulator-name = "fixed-3.3V";
34 regulator-min-microvolt = <3300000>;
35 regulator-max-microvolt = <3300000>;
40 vcc_sdhi0: regulator@1 {
41 compatible = "regulator-fixed";
43 regulator-name = "SDHI0 Vcc";
44 regulator-min-microvolt = <3300000>;
45 regulator-max-microvolt = <3300000>;
47 gpio = <&pfc 75 GPIO_ACTIVE_HIGH>;
51 vccq_sdhi0: regulator@2 {
52 compatible = "regulator-gpio";
54 regulator-name = "SDHI0 VccQ";
55 regulator-min-microvolt = <1800000>;
56 regulator-max-microvolt = <3300000>;
57 vin-supply = <&vcc_sdhi0>;
59 enable-gpio = <&pfc 74 GPIO_ACTIVE_HIGH>;
60 gpios = <&pfc 17 GPIO_ACTIVE_HIGH>;
67 reg_5p0v: regulator@3 {
68 compatible = "regulator-fixed";
69 regulator-name = "fixed-5.0V";
70 regulator-min-microvolt = <5000000>;
71 regulator-max-microvolt = <5000000>;
77 compatible = "gpio-keys";
80 gpios = <&pfc 99 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_POWER>;
87 gpios = <&pfc 100 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_BACK>;
93 gpios = <&pfc 97 GPIO_ACTIVE_LOW>;
94 linux,code = <KEY_MENU>;
99 gpios = <&pfc 98 GPIO_ACTIVE_LOW>;
100 linux,code = <KEY_HOME>;
106 compatible = "gpio-leds";
108 gpios = <&pfc 102 GPIO_ACTIVE_HIGH>;
111 gpios = <&pfc 111 GPIO_ACTIVE_HIGH>;
114 gpios = <&pfc 110 GPIO_ACTIVE_HIGH>;
117 gpios = <&pfc 177 GPIO_ACTIVE_HIGH>;
122 #address-cells = <1>;
124 compatible = "i2c-gpio";
125 gpios = <&pfc 208 GPIO_ACTIVE_HIGH /* sda */
126 &pfc 91 GPIO_ACTIVE_HIGH /* scl */
128 i2c-gpio,delay-us = <5>;
132 compatible = "pwm-backlight";
133 pwms = <&tpu 2 33333 PWM_POLARITY_INVERTED>;
134 brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
135 default-brightness-level = <9>;
136 pinctrl-0 = <&backlight_pins>;
137 pinctrl-names = "default";
138 power-supply = <®_5p0v>;
139 enable-gpios = <&pfc 61 GPIO_ACTIVE_HIGH>;
143 compatible = "simple-audio-card";
145 simple-audio-card,format = "i2s";
147 simple-audio-card,cpu {
148 sound-dai = <&sh_fsi2 0>;
152 simple-audio-card,codec {
153 sound-dai = <&wm8978>;
156 system-clock-frequency = <12288000>;
162 pinctrl-0 = <ðer_pins>;
163 pinctrl-names = "default";
165 phy-handle = <&phy0>;
168 phy0: ethernet-phy@0 {
176 compatible = "sitronix,st1232";
178 interrupt-parent = <&irqpin1>;
179 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
180 pinctrl-0 = <&st1232_pins>;
181 pinctrl-names = "default";
182 gpios = <&pfc 166 GPIO_ACTIVE_LOW>;
186 #sound-dai-cells = <0>;
187 compatible = "wlf,wm8978";
195 compatible = "sii,s35390a";
201 pinctrl-0 = <&scifa1_pins>;
202 pinctrl-names = "default";
205 renesas,groups = "gether_mii", "gether_int";
206 renesas,function = "gether";
209 scifa1_pins: serial1 {
210 renesas,groups = "scifa1_data";
211 renesas,function = "scifa1";
214 st1232_pins: touchscreen {
215 renesas,groups = "intc_irq10";
216 renesas,function = "intc";
219 backlight_pins: backlight {
220 renesas,groups = "tpu0_to2_1";
221 renesas,function = "tpu0";
225 renesas,groups = "mmc0_data8_1", "mmc0_ctrl_1";
226 renesas,function = "mmc0";
230 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_wp";
231 renesas,function = "sdhi0";
235 renesas,groups = "fsia_sclk_in", "fsia_mclk_out",
236 "fsia_data_in_1", "fsia_data_out_0";
237 renesas,function = "fsia";
246 pinctrl-0 = <&mmc0_pins>;
247 pinctrl-names = "default";
249 vmmc-supply = <®_3p3v>;
256 pinctrl-0 = <&sdhi0_pins>;
257 pinctrl-names = "default";
259 vmmc-supply = <&vcc_sdhi0>;
260 vqmmc-supply = <&vccq_sdhi0>;
262 cd-gpios = <&pfc 167 GPIO_ACTIVE_LOW>;
267 pinctrl-0 = <&fsia_pins>;
268 pinctrl-names = "default";