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";
16 device_type = "memory";
17 reg = <0x60000000 0x40000000>;
21 compatible = "pwm-regulator";
22 pwms = <&pwm3 0 1000>;
23 regulator-name = "vdd_log";
24 regulator-min-microvolt = <1200000>;
25 regulator-max-microvolt = <1200000>;
27 voltage-table = <1000000 100>,
32 vcc_sd0: fixed-regulator {
33 compatible = "regulator-fixed";
34 regulator-name = "sdmmc-supply";
35 regulator-min-microvolt = <3000000>;
36 regulator-max-microvolt = <3000000>;
37 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
38 startup-delay-us = <100000>;
39 vin-supply = <&vcc_io>;
43 compatible = "gpio-keys";
47 gpios = <&gpio6 RK_PA2 GPIO_ACTIVE_LOW>; /* GPIO6_A2 */
48 linux,code = <KEY_POWER>;
49 label = "GPIO Key Power";
50 linux,input-type = <1>;
52 debounce-interval = <100>;
55 gpios = <&gpio4 RK_PC5 GPIO_ACTIVE_LOW>; /* GPIO4_C5 */
56 linux,code = <KEY_VOLUMEDOWN>;
57 label = "GPIO Key Vol-";
58 linux,input-type = <1>;
59 debounce-interval = <100>;
61 /* VOL+ comes somehow thru the ADC */
66 cpu0-supply = <&vdd_arm>;
71 clock-frequency = <400000>;
76 interrupt-parent = <&gpio6>;
77 interrupts = <RK_PA6 IRQ_TYPE_LEVEL_LOW>;
79 vcc5-supply = <&vcc_io>;
80 vcc6-supply = <&vcc_io>;
83 vcc_rtc: regulator@0 {
84 regulator-name = "vcc_rtc";
89 regulator-name = "vcc_io";
93 vdd_arm: regulator@2 {
94 regulator-name = "vdd_arm";
95 regulator-min-microvolt = <600000>;
96 regulator-max-microvolt = <1500000>;
101 vcc_ddr: regulator@3 {
102 regulator-name = "vcc_ddr";
103 regulator-min-microvolt = <600000>;
104 regulator-max-microvolt = <1500000>;
109 vcc18_cif: regulator@5 {
110 regulator-name = "vcc18_cif";
114 vdd_11: regulator@6 {
115 regulator-name = "vdd_11";
119 vcc_25: regulator@7 {
120 regulator-name = "vcc_25";
124 vcc_18: regulator@8 {
125 regulator-name = "vcc_18";
129 vcc25_hdmi: regulator@9 {
130 regulator-name = "vcc25_hdmi";
134 vcca_33: regulator@10 {
135 regulator-name = "vcca_33";
139 vcc_tp: regulator@11 {
140 regulator-name = "vcc_tp";
144 vcc28_cif: regulator@12 {
145 regulator-name = "vcc28_cif";
152 /* must be included after &tps gets defined */
153 #include "tps65910.dtsi"
157 pinctrl-names = "default";
158 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
159 vmmc-supply = <&vcc_sd0>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>;