ARM: shmobile: ape6evm dts: Move Ethernet node to BSC
[deliverable/linux.git] / arch / arm / boot / dts / r8a73a4-ape6evm.dts
1 /*
2 * Device Tree Source for the APE6EVM board
3 *
4 * Copyright (C) 2013 Renesas Solutions Corp.
5 *
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.
9 */
10
11 /dts-v1/;
12 #include "r8a73a4.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15
16 / {
17 model = "APE6EVM";
18 compatible = "renesas,ape6evm", "renesas,r8a73a4";
19
20 aliases {
21 serial0 = &scifa0;
22 };
23
24 chosen {
25 bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw";
26 stdout-path = &scifa0;
27 };
28
29 memory@40000000 {
30 device_type = "memory";
31 reg = <0 0x40000000 0 0x40000000>;
32 };
33
34 memory@200000000 {
35 device_type = "memory";
36 reg = <2 0x00000000 0 0x40000000>;
37 };
38
39 vcc_mmc0: regulator@0 {
40 compatible = "regulator-fixed";
41 regulator-name = "MMC0 Vcc";
42 regulator-min-microvolt = <2800000>;
43 regulator-max-microvolt = <2800000>;
44 regulator-always-on;
45 };
46
47 vcc_sdhi0: regulator@1 {
48 compatible = "regulator-fixed";
49
50 regulator-name = "SDHI0 Vcc";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
53
54 gpio = <&pfc 76 GPIO_ACTIVE_HIGH>;
55 enable-active-high;
56 };
57
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>;
64 regulator-always-on;
65 };
66
67 ape6evm_fixed_3v3: regulator@3 {
68 compatible = "regulator-fixed";
69 regulator-name = "3V3";
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 regulator-always-on;
73 };
74
75 leds {
76 compatible = "gpio-leds";
77 led1 {
78 gpios = <&pfc 28 GPIO_ACTIVE_LOW>;
79 label = "GNSS_EN";
80 };
81 led2 {
82 gpios = <&pfc 126 GPIO_ACTIVE_LOW>;
83 label = "NFC_NRST";
84 };
85 led3 {
86 gpios = <&pfc 132 GPIO_ACTIVE_LOW>;
87 label = "GNSS_NRST";
88 };
89 led4 {
90 gpios = <&pfc 232 GPIO_ACTIVE_LOW>;
91 label = "BT_WAKEUP";
92 };
93 led5 {
94 gpios = <&pfc 250 GPIO_ACTIVE_LOW>;
95 label = "STROBE";
96 };
97 led6 {
98 gpios = <&pfc 288 GPIO_ACTIVE_LOW>;
99 label = "BBRESETOUT";
100 };
101 };
102
103 keyboard {
104 compatible = "gpio-keys";
105
106 zero-key {
107 gpios = <&pfc 324 GPIO_ACTIVE_LOW>;
108 linux,code = <KEY_0>;
109 label = "S16";
110 };
111
112 menu-key {
113 gpios = <&pfc 325 GPIO_ACTIVE_LOW>;
114 linux,code = <KEY_MENU>;
115 label = "S17";
116 };
117
118 home-key {
119 gpios = <&pfc 326 GPIO_ACTIVE_LOW>;
120 linux,code = <KEY_HOME>;
121 label = "S18";
122 };
123
124 back-key {
125 gpios = <&pfc 327 GPIO_ACTIVE_LOW>;
126 linux,code = <KEY_BACK>;
127 label = "S19";
128 };
129
130 volup-key {
131 gpios = <&pfc 328 GPIO_ACTIVE_LOW>;
132 linux,code = <KEY_VOLUMEUP>;
133 label = "S20";
134 };
135
136 voldown-key {
137 gpios = <&pfc 329 GPIO_ACTIVE_LOW>;
138 linux,code = <KEY_VOLUMEDOWN>;
139 label = "S21";
140 };
141 };
142 };
143
144 &i2c5 {
145 status = "okay";
146 vdd_dvfs: max8973@1b {
147 compatible = "maxim,max8973";
148 reg = <0x1b>;
149
150 regulator-min-microvolt = <935000>;
151 regulator-max-microvolt = <1200000>;
152 regulator-boot-on;
153 regulator-always-on;
154 };
155 };
156
157 &cpu0 {
158 cpu0-supply = <&vdd_dvfs>;
159 operating-points = <
160 /* kHz uV */
161 1950000 1115000
162 1462500 995000
163 >;
164 voltage-tolerance = <1>; /* 1% */
165 };
166
167 &bsc {
168 ethernet@8000000 {
169 compatible = "smsc,lan9220", "smsc,lan9115";
170 reg = <0x08000000 0x1000>;
171 interrupt-parent = <&irqc1>;
172 interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
173 phy-mode = "mii";
174 reg-io-width = <4>;
175 smsc,irq-active-high;
176 smsc,irq-push-pull;
177 vdd33a-supply = <&ape6evm_fixed_3v3>;
178 vddvario-supply = <&ape6evm_fixed_1v8>;
179 };
180 };
181
182 &cmt1 {
183 status = "okay";
184 };
185
186 &pfc {
187 scifa0_pins: serial0 {
188 renesas,groups = "scifa0_data";
189 renesas,function = "scifa0";
190 };
191
192 mmc0_pins: mmc {
193 renesas,groups = "mmc0_data8", "mmc0_ctrl";
194 renesas,function = "mmc0";
195 };
196
197 sdhi0_pins: sd0 {
198 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd";
199 renesas,function = "sdhi0";
200 };
201
202 sdhi1_pins: sd1 {
203 renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
204 renesas,function = "sdhi1";
205 };
206 };
207
208 &mmcif0 {
209 vmmc-supply = <&vcc_mmc0>;
210 bus-width = <8>;
211 non-removable;
212 pinctrl-names = "default";
213 pinctrl-0 = <&mmc0_pins>;
214 status = "okay";
215 };
216
217 &scifa0 {
218 pinctrl-0 = <&scifa0_pins>;
219 pinctrl-names = "default";
220
221 status = "okay";
222 };
223
224 &sdhi0 {
225 vmmc-supply = <&vcc_sdhi0>;
226 bus-width = <4>;
227 toshiba,mmc-wrprotect-disable;
228 pinctrl-names = "default";
229 pinctrl-0 = <&sdhi0_pins>;
230 status = "okay";
231 };
232
233 &sdhi1 {
234 vmmc-supply = <&ape6evm_fixed_3v3>;
235 bus-width = <4>;
236 broken-cd;
237 toshiba,mmc-wrprotect-disable;
238 pinctrl-names = "default";
239 pinctrl-0 = <&sdhi1_pins>;
240 status = "okay";
241 };
This page took 0.042625 seconds and 5 git commands to generate.