Merge tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[deliverable/linux.git] / arch / arm / boot / dts / rk3066a-bqcurie2.dts
CommitLineData
95866096
HS
1/*
2 * Copyright (c) 2013 MundoReader S.L.
3 * Author: Heiko Stuebner <heiko@sntech.de>
4 *
38fed860
HS
5 * This file is dual-licensed: you can use it either under the terms
6 * of the GPL or the X11 license, at your option. Note that this dual
7 * licensing only applies to this file, and not this project as a
8 * whole.
95866096 9 *
38fed860
HS
10 * a) This file is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; either version 2 of the
13 * License, or (at your option) any later version.
14 *
15 * This file is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * Or, alternatively,
21 *
22 * b) Permission is hereby granted, free of charge, to any person
23 * obtaining a copy of this software and associated documentation
24 * files (the "Software"), to deal in the Software without
25 * restriction, including without limitation the rights to use,
26 * copy, modify, merge, publish, distribute, sublicense, and/or
27 * sell copies of the Software, and to permit persons to whom the
28 * Software is furnished to do so, subject to the following
29 * conditions:
30 *
31 * The above copyright notice and this permission notice shall be
32 * included in all copies or substantial portions of the Software.
33 *
34 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
35 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
36 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
37 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
39 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
40 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41 * OTHER DEALINGS IN THE SOFTWARE.
95866096
HS
42 */
43
44/dts-v1/;
45#include "rk3066a.dtsi"
46
47/ {
48 model = "bq Curie 2";
ac4eba8e 49 compatible = "mundoreader,bq-curie2", "rockchip,rk3066a";
95866096
HS
50
51 memory {
52 reg = <0x60000000 0x40000000>;
53 };
54
c3030d30
HS
55 vcc_sd0: fixed-regulator {
56 compatible = "regulator-fixed";
57 regulator-name = "sdmmc-supply";
58 regulator-min-microvolt = <3000000>;
59 regulator-max-microvolt = <3000000>;
60 gpio = <&gpio3 7 GPIO_ACTIVE_LOW>;
61 startup-delay-us = <100000>;
a953a6c7 62 vin-supply = <&vcc_io>;
c3030d30 63 };
95866096 64
c3030d30
HS
65 gpio-keys {
66 compatible = "gpio-keys";
67 #address-cells = <1>;
68 #size-cells = <0>;
69 autorepeat;
70
71 button@0 {
72 gpios = <&gpio6 2 GPIO_ACTIVE_LOW>; /* GPIO6_A2 */
73 linux,code = <116>;
74 label = "GPIO Key Power";
75 linux,input-type = <1>;
76 gpio-key,wakeup = <1>;
77 debounce-interval = <100>;
78 };
79 button@1 {
80 gpios = <&gpio4 21 GPIO_ACTIVE_LOW>; /* GPIO4_C5 */
81 linux,code = <104>;
82 label = "GPIO Key Vol-";
83 linux,input-type = <1>;
84 gpio-key,wakeup = <0>;
85 debounce-interval = <100>;
95866096 86 };
c3030d30 87 /* VOL+ comes somehow thru the ADC */
95866096
HS
88 };
89};
fcbbf965 90
3adb1327
HS
91&cpu0 {
92 cpu0-supply = <&vdd_arm>;
93};
94
a953a6c7
HS
95&i2c1 {
96 status = "okay";
97 clock-frequency = <400000>;
98
99 tps: tps@2d {
100 reg = <0x2d>;
101
102 interrupt-parent = <&gpio6>;
103 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
104
105 vcc5-supply = <&vcc_io>;
106 vcc6-supply = <&vcc_io>;
107
108 regulators {
109 vcc_rtc: regulator@0 {
110 regulator-name = "vcc_rtc";
111 regulator-always-on;
112 };
113
114 vcc_io: regulator@1 {
115 regulator-name = "vcc_io";
116 regulator-always-on;
117 };
118
119 vdd_arm: regulator@2 {
120 regulator-name = "vdd_arm";
121 regulator-min-microvolt = <600000>;
122 regulator-max-microvolt = <1500000>;
123 regulator-boot-on;
124 regulator-always-on;
125 };
126
127 vcc_ddr: regulator@3 {
128 regulator-name = "vcc_ddr";
129 regulator-min-microvolt = <600000>;
130 regulator-max-microvolt = <1500000>;
131 regulator-boot-on;
132 regulator-always-on;
133 };
134
135 vcc18_cif: regulator@5 {
136 regulator-name = "vcc18_cif";
137 regulator-always-on;
138 };
139
140 vdd_11: regulator@6 {
141 regulator-name = "vdd_11";
142 regulator-always-on;
143 };
144
145 vcc_25: regulator@7 {
146 regulator-name = "vcc_25";
147 regulator-always-on;
148 };
149
150 vcc_18: regulator@8 {
151 regulator-name = "vcc_18";
152 regulator-always-on;
153 };
154
155 vcc25_hdmi: regulator@9 {
156 regulator-name = "vcc25_hdmi";
157 regulator-always-on;
158 };
159
160 vcca_33: regulator@10 {
161 regulator-name = "vcca_33";
162 regulator-always-on;
163 };
164
165 vcc_tp: regulator@11 {
166 regulator-name = "vcc_tp";
167 regulator-always-on;
168 };
169
170 vcc28_cif: regulator@12 {
171 regulator-name = "vcc28_cif";
172 regulator-always-on;
173 };
174 };
175 };
176};
177
178/* must be included after &tps gets defined */
179#include "tps65910.dtsi"
180
fcbbf965
HS
181&mmc0 { /* sdmmc */
182 num-slots = <1>;
183 status = "okay";
1302d32c
HS
184 pinctrl-names = "default";
185 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
fcbbf965 186 vmmc-supply = <&vcc_sd0>;
356649ab
JC
187 bus-width = <4>;
188 disable-wp;
fcbbf965
HS
189};
190
191&mmc1 { /* wifi */
192 num-slots = <1>;
193 status = "okay";
194 non-removable;
195
196 pinctrl-names = "default";
197 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>;
198
356649ab
JC
199 bus-width = <4>;
200 disable-wp;
fcbbf965
HS
201};
202
203&uart0 {
204 status = "okay";
205};
206
207&uart1 {
208 status = "okay";
209};
210
211&uart2 {
212 status = "okay";
213};
214
215&uart3 {
216 status = "okay";
217};
eb2b9d47
HS
218
219&wdt {
220 status = "okay";
221};
This page took 0.177244 seconds and 5 git commands to generate.