2 * Copyright (c) 2013 MundoReader S.L.
3 * Author: Heiko Stuebner <heiko@sntech.de>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
17 #include "rk3066a.dtsi"
21 compatible = "mundoreader,bq-curie2", "rockchip,rk3066a";
24 reg = <0x60000000 0x40000000>;
27 vcc_sd0: fixed-regulator {
28 compatible = "regulator-fixed";
29 regulator-name = "sdmmc-supply";
30 regulator-min-microvolt = <3000000>;
31 regulator-max-microvolt = <3000000>;
32 gpio = <&gpio3 7 GPIO_ACTIVE_LOW>;
33 startup-delay-us = <100000>;
34 vin-supply = <&vcc_io>;
38 compatible = "gpio-keys";
44 gpios = <&gpio6 2 GPIO_ACTIVE_LOW>; /* GPIO6_A2 */
46 label = "GPIO Key Power";
47 linux,input-type = <1>;
48 gpio-key,wakeup = <1>;
49 debounce-interval = <100>;
52 gpios = <&gpio4 21 GPIO_ACTIVE_LOW>; /* GPIO4_C5 */
54 label = "GPIO Key Vol-";
55 linux,input-type = <1>;
56 gpio-key,wakeup = <0>;
57 debounce-interval = <100>;
59 /* VOL+ comes somehow thru the ADC */
64 cpu0-supply = <&vdd_arm>;
69 clock-frequency = <400000>;
74 interrupt-parent = <&gpio6>;
75 interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
77 vcc5-supply = <&vcc_io>;
78 vcc6-supply = <&vcc_io>;
81 vcc_rtc: regulator@0 {
82 regulator-name = "vcc_rtc";
87 regulator-name = "vcc_io";
91 vdd_arm: regulator@2 {
92 regulator-name = "vdd_arm";
93 regulator-min-microvolt = <600000>;
94 regulator-max-microvolt = <1500000>;
99 vcc_ddr: regulator@3 {
100 regulator-name = "vcc_ddr";
101 regulator-min-microvolt = <600000>;
102 regulator-max-microvolt = <1500000>;
107 vcc18_cif: regulator@5 {
108 regulator-name = "vcc18_cif";
112 vdd_11: regulator@6 {
113 regulator-name = "vdd_11";
117 vcc_25: regulator@7 {
118 regulator-name = "vcc_25";
122 vcc_18: regulator@8 {
123 regulator-name = "vcc_18";
127 vcc25_hdmi: regulator@9 {
128 regulator-name = "vcc25_hdmi";
132 vcca_33: regulator@10 {
133 regulator-name = "vcca_33";
137 vcc_tp: regulator@11 {
138 regulator-name = "vcc_tp";
142 vcc28_cif: regulator@12 {
143 regulator-name = "vcc28_cif";
150 /* must be included after &tps gets defined */
151 #include "tps65910.dtsi"
156 pinctrl-names = "default";
157 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
158 vmmc-supply = <&vcc_sd0>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>;