Merge remote-tracking branch 'regulator/topic/tps65910' into regulator-next
[deliverable/linux.git] / arch / arm / boot / dts / sh73a0-kzm9g-reference.dts
1 /*
2 * Device Tree Source for the KZM-A9-GT board
3 *
4 * Copyright (C) 2012 Horms Solutions Ltd.
5 *
6 * Based on sh73a0-kzm9g.dts
7 * Copyright (C) 2012 Renesas Solutions Corp.
8 *
9 * This file is licensed under the terms of the GNU General Public License
10 * version 2. This program is licensed "as is" without any warranty of any
11 * kind, whether express or implied.
12 */
13
14 /dts-v1/;
15 /include/ "sh73a0.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17
18 / {
19 model = "KZM-A9-GT";
20 compatible = "renesas,kzm9g-reference", "renesas,sh73a0";
21
22 cpus {
23 cpu@0 {
24 cpu0-supply = <&vdd_dvfs>;
25 operating-points = <
26 /* kHz uV */
27 1196000 1315000
28 598000 1175000
29 398667 1065000
30 >;
31 voltage-tolerance = <1>; /* 1% */
32 };
33 };
34
35 chosen {
36 bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200 rw";
37 };
38
39 memory {
40 device_type = "memory";
41 reg = <0x41000000 0x1e800000>;
42 };
43
44 reg_1p8v: regulator@0 {
45 compatible = "regulator-fixed";
46 regulator-name = "fixed-1.8V";
47 regulator-min-microvolt = <1800000>;
48 regulator-max-microvolt = <1800000>;
49 regulator-always-on;
50 regulator-boot-on;
51 };
52
53 reg_3p3v: regulator@1 {
54 compatible = "regulator-fixed";
55 regulator-name = "fixed-3.3V";
56 regulator-min-microvolt = <3300000>;
57 regulator-max-microvolt = <3300000>;
58 regulator-always-on;
59 regulator-boot-on;
60 };
61
62 vmmc_sdhi0: regulator@2 {
63 compatible = "regulator-fixed";
64 regulator-name = "SDHI0 Vcc";
65 regulator-min-microvolt = <3300000>;
66 regulator-max-microvolt = <3300000>;
67 gpio = <&pfc 15 GPIO_ACTIVE_HIGH>;
68 enable-active-high;
69 };
70
71 vmmc_sdhi2: regulator@3 {
72 compatible = "regulator-fixed";
73 regulator-name = "SDHI2 Vcc";
74 regulator-min-microvolt = <3300000>;
75 regulator-max-microvolt = <3300000>;
76 gpio = <&pfc 14 GPIO_ACTIVE_HIGH>;
77 enable-active-high;
78 };
79
80 lan9220@10000000 {
81 compatible = "smsc,lan9220", "smsc,lan9115";
82 reg = <0x10000000 0x100>;
83 phy-mode = "mii";
84 interrupt-parent = <&irqpin0>;
85 interrupts = <3 0>; /* active low */
86 reg-io-width = <4>;
87 smsc,irq-push-pull;
88 smsc,save-mac-address;
89 vddvario-supply = <&reg_1p8v>;
90 vdd33a-supply = <&reg_3p3v>;
91 };
92
93 leds {
94 compatible = "gpio-leds";
95 led1 {
96 gpios = <&pfc 20 GPIO_ACTIVE_LOW>;
97 };
98 led2 {
99 gpios = <&pfc 21 GPIO_ACTIVE_LOW>;
100 };
101 led3 {
102 gpios = <&pfc 22 GPIO_ACTIVE_LOW>;
103 };
104 led4 {
105 gpios = <&pfc 23 GPIO_ACTIVE_LOW>;
106 };
107 };
108 };
109
110 &i2c0 {
111 as3711@40 {
112 compatible = "ams,as3711";
113 reg = <0x40>;
114
115 regulators {
116 vdd_dvfs: sd1 {
117 regulator-name = "1.315V CPU";
118 regulator-min-microvolt = <1050000>;
119 regulator-max-microvolt = <1350000>;
120 regulator-always-on;
121 regulator-boot-on;
122 };
123 sd2 {
124 regulator-name = "1.8V";
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
127 regulator-always-on;
128 regulator-boot-on;
129 };
130 sd4 {
131 regulator-name = "1.215V";
132 regulator-min-microvolt = <1215000>;
133 regulator-max-microvolt = <1235000>;
134 regulator-always-on;
135 regulator-boot-on;
136 };
137 ldo2 {
138 regulator-name = "2.8V CPU";
139 regulator-min-microvolt = <2800000>;
140 regulator-max-microvolt = <2800000>;
141 regulator-always-on;
142 regulator-boot-on;
143 };
144 ldo3 {
145 regulator-name = "3.0V CPU";
146 regulator-min-microvolt = <3000000>;
147 regulator-max-microvolt = <3000000>;
148 regulator-always-on;
149 regulator-boot-on;
150 };
151 ldo4 {
152 regulator-name = "2.8V";
153 regulator-min-microvolt = <2800000>;
154 regulator-max-microvolt = <2800000>;
155 regulator-always-on;
156 regulator-boot-on;
157 };
158 ldo5 {
159 regulator-name = "2.8V #2";
160 regulator-min-microvolt = <2800000>;
161 regulator-max-microvolt = <2800000>;
162 regulator-always-on;
163 regulator-boot-on;
164 };
165 ldo7 {
166 regulator-name = "1.15V CPU";
167 regulator-min-microvolt = <1150000>;
168 regulator-max-microvolt = <1150000>;
169 regulator-always-on;
170 regulator-boot-on;
171 };
172 ldo8 {
173 regulator-name = "1.15V CPU #2";
174 regulator-min-microvolt = <1150000>;
175 regulator-max-microvolt = <1150000>;
176 regulator-always-on;
177 regulator-boot-on;
178 };
179 };
180 };
181 };
182
183 &i2c3 {
184 pinctrl-0 = <&i2c3_pins>;
185 pinctrl-names = "default";
186 };
187
188 &mmcif {
189 pinctrl-0 = <&mmcif_pins>;
190 pinctrl-names = "default";
191
192 bus-width = <8>;
193 vmmc-supply = <&reg_1p8v>;
194 status = "okay";
195 };
196
197 &pfc {
198 pinctrl-0 = <&scifa4_pins>;
199 pinctrl-names = "default";
200
201 i2c3_pins: i2c3 {
202 renesas,groups = "i2c3_1";
203 renesas,function = "i2c3";
204 };
205
206 mmcif_pins: mmcif {
207 mux {
208 renesas,groups = "mmc0_data8_0", "mmc0_ctrl_0";
209 renesas,function = "mmc0";
210 };
211 cfg {
212 renesas,groups = "mmc0_data8_0";
213 renesas,pins = "PORT279";
214 bias-pull-up;
215 };
216 };
217
218 scifa4_pins: scifa4 {
219 renesas,groups = "scifa4_data", "scifa4_ctrl";
220 renesas,function = "scifa4";
221 };
222
223 sdhi0_pins: sdhi0 {
224 renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", "sdhi0_wp";
225 renesas,function = "sdhi0";
226 };
227
228 sdhi2_pins: sdhi2 {
229 renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
230 renesas,function = "sdhi2";
231 };
232 };
233
234 &sdhi0 {
235 pinctrl-0 = <&sdhi0_pins>;
236 pinctrl-names = "default";
237
238 vmmc-supply = <&vmmc_sdhi0>;
239 bus-width = <4>;
240 status = "okay";
241 };
242
243 &sdhi2 {
244 pinctrl-0 = <&sdhi2_pins>;
245 pinctrl-names = "default";
246
247 vmmc-supply = <&vmmc_sdhi2>;
248 bus-width = <4>;
249 broken-cd;
250 status = "okay";
251 };
This page took 0.060027 seconds and 5 git commands to generate.