2 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
16 #include "rk3188.dtsi"
20 compatible = "radxa,rock", "rockchip,rk3188";
23 reg = <0x60000000 0x80000000>;
27 compatible = "gpio-keys";
33 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
35 label = "GPIO Key Power";
36 linux,input-type = <1>;
37 gpio-key,wakeup = <1>;
38 debounce-interval = <100>;
43 compatible = "gpio-leds";
46 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
47 default-state = "off";
51 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
52 default-state = "off";
56 gpios = <&gpio0 15 0>;
57 default-state = "off";
61 ir_recv: gpio-ir-receiver {
62 compatible = "gpio-ir-receiver";
63 gpios = <&gpio0 10 1>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&ir_recv_pin>;
68 vcc_sd0: sdmmc-regulator {
69 compatible = "regulator-fixed";
70 regulator-name = "sdmmc-supply";
71 regulator-min-microvolt = <3300000>;
72 regulator-max-microvolt = <3300000>;
73 gpio = <&gpio3 1 GPIO_ACTIVE_LOW>;
74 startup-delay-us = <100000>;
75 vin-supply = <&vcc_io>;
81 clock-frequency = <400000>;
84 compatible = "active-semi,act8846";
88 pinctrl-names = "default";
89 pinctrl-0 = <&act8846_dvs0_ctl>;
93 regulator-name = "VCC_DDR";
94 regulator-min-microvolt = <1200000>;
95 regulator-max-microvolt = <1200000>;
100 regulator-name = "VDD_LOG";
101 regulator-min-microvolt = <1000000>;
102 regulator-max-microvolt = <1000000>;
107 regulator-name = "VDD_ARM";
108 regulator-min-microvolt = <875000>;
109 regulator-max-microvolt = <1300000>;
114 regulator-name = "VCC_IO";
115 regulator-min-microvolt = <3300000>;
116 regulator-max-microvolt = <3300000>;
121 regulator-name = "VDD_10";
122 regulator-min-microvolt = <1000000>;
123 regulator-max-microvolt = <1000000>;
128 regulator-name = "VDD_HDMI";
129 regulator-min-microvolt = <2500000>;
130 regulator-max-microvolt = <2500000>;
135 regulator-name = "VCC_18";
136 regulator-min-microvolt = <1800000>;
137 regulator-max-microvolt = <1800000>;
142 regulator-name = "VCCA_33";
143 regulator-min-microvolt = <3300000>;
144 regulator-max-microvolt = <3300000>;
149 regulator-name = "VCC_RMII";
150 regulator-min-microvolt = <3300000>;
151 regulator-max-microvolt = <3300000>;
156 regulator-name = "VCCIO_WL";
157 regulator-min-microvolt = <3300000>;
158 regulator-max-microvolt = <3300000>;
163 regulator-name = "VCC18_IO";
164 regulator-min-microvolt = <1800000>;
165 regulator-max-microvolt = <1800000>;
170 regulator-name = "VCC_28";
171 regulator-min-microvolt = <2800000>;
172 regulator-max-microvolt = <2800000>;
182 vmmc-supply = <&vcc_sd0>;
192 pcfg_output_low: pcfg-output-low {
197 act8846_dvs0_ctl: act8846-dvs0-ctl {
198 rockchip,pins = <RK_GPIO3 27 RK_FUNC_GPIO &pcfg_output_low>;
203 ir_recv_pin: ir-recv-pin {
204 rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>;
218 pinctrl-names = "default";
219 pinctrl-0 = <&uart2_xfer>;