1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2013 MundoReader S.L.
4 * Author: Heiko Stuebner <heiko@sntech.de>
8 #include <dt-bindings/input/input.h>
9 #include "rk3066a.dtsi"
13 compatible = "mundoreader,bq-curie2", "rockchip,rk3066a";
21 device_type = "memory";
22 reg = <0x60000000 0x40000000>;
26 compatible = "pwm-regulator";
27 pwms = <&pwm3 0 1000>;
28 regulator-name = "vdd_log";
29 regulator-min-microvolt = <1200000>;
30 regulator-max-microvolt = <1200000>;
32 voltage-table = <1000000 100>,
37 vcc_sd0: fixed-regulator {
38 compatible = "regulator-fixed";
39 regulator-name = "sdmmc-supply";
40 regulator-min-microvolt = <3000000>;
41 regulator-max-microvolt = <3000000>;
42 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
43 startup-delay-us = <100000>;
44 vin-supply = <&vcc_io>;
48 compatible = "gpio-keys";
52 gpios = <&gpio6 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO6_A2 */
53 linux,code = <KEY_POWER>;
54 label = "GPIO Key Power";
55 linux,input-type = <1>;
57 debounce-interval = <100>;
60 gpios = <&gpio4 RK_PC5 GPIO_ACTIVE_LOW>; /* GPIO4_C5 */
61 linux,code = <KEY_VOLUMEDOWN>;
62 label = "GPIO Key Vol-";
63 linux,input-type = <1>;
64 debounce-interval = <100>;
66 /* VOL+ comes somehow thru the ADC */
71 cpu-supply = <&vdd_arm>;
75 cpu-supply = <&vdd_arm>;
80 clock-frequency = <400000>;
85 interrupt-parent = <&gpio6>;
86 interrupts = <RK_PA6 IRQ_TYPE_LEVEL_LOW>;
88 vcc5-supply = <&vcc_io>;
89 vcc6-supply = <&vcc_io>;
92 vcc_rtc: regulator@0 {
93 regulator-name = "vcc_rtc";
98 regulator-name = "vcc_io";
102 vdd_arm: regulator@2 {
103 regulator-name = "vdd_arm";
104 regulator-min-microvolt = <600000>;
105 regulator-max-microvolt = <1500000>;
110 vcc_ddr: regulator@3 {
111 regulator-name = "vcc_ddr";
112 regulator-min-microvolt = <600000>;
113 regulator-max-microvolt = <1500000>;
118 vcc18_cif: regulator@5 {
119 regulator-name = "vcc18_cif";
123 vdd_11: regulator@6 {
124 regulator-name = "vdd_11";
128 vcc_25: regulator@7 {
129 regulator-name = "vcc_25";
133 vcc_18: regulator@8 {
134 regulator-name = "vcc_18";
138 vcc25_hdmi: regulator@9 {
139 regulator-name = "vcc25_hdmi";
143 vcca_33: regulator@10 {
144 regulator-name = "vcca_33";
148 vcc_tp: regulator@11 {
149 regulator-name = "vcc_tp";
153 vcc28_cif: regulator@12 {
154 regulator-name = "vcc28_cif";
161 /* must be included after &tps gets defined */
162 #include "tps65910.dtsi"
166 pinctrl-names = "default";
167 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
168 vmmc-supply = <&vcc_sd0>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>;