ARM: dts: Enable PWM backlight on rk3288-evb
[deliverable/linux.git] / arch / arm / boot / dts / rk3188-radxarock.dts
CommitLineData
6bcf60f8
HS
1/*
2 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
3 *
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.
8 *
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.
13 */
14
15/dts-v1/;
16#include "rk3188.dtsi"
17
18/ {
19 model = "Radxa Rock";
ac4eba8e 20 compatible = "radxa,rock", "rockchip,rk3188";
6bcf60f8
HS
21
22 memory {
23 reg = <0x60000000 0x80000000>;
24 };
25
c3030d30
HS
26 gpio-keys {
27 compatible = "gpio-keys";
28 #address-cells = <1>;
29 #size-cells = <0>;
30 autorepeat;
6bcf60f8 31
c3030d30
HS
32 button@0 {
33 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
34 linux,code = <116>;
35 label = "GPIO Key Power";
36 linux,input-type = <1>;
37 gpio-key,wakeup = <1>;
38 debounce-interval = <100>;
6bcf60f8 39 };
c3030d30 40 };
6bcf60f8 41
c3030d30
HS
42 gpio-leds {
43 compatible = "gpio-leds";
6bcf60f8 44
c3030d30
HS
45 green {
46 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
47 default-state = "off";
48 };
6bcf60f8 49
c3030d30
HS
50 yellow {
51 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
52 default-state = "off";
6bcf60f8
HS
53 };
54
c3030d30
HS
55 sleep {
56 gpios = <&gpio0 15 0>;
57 default-state = "off";
58 };
6bcf60f8 59 };
b09e35a3 60
08567053
BG
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>;
66 };
67
b09e35a3
HS
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>;
76 };
6bcf60f8 77};
fcbbf965 78
fe2c89af
BG
79&i2c1 {
80 status = "okay";
81 clock-frequency = <400000>;
82
83 act8846: act8846@5a {
84 compatible = "active-semi,act8846";
85 reg = <0x5a>;
86 status = "okay";
87
88 pinctrl-names = "default";
89 pinctrl-0 = <&act8846_dvs0_ctl>;
90
91 regulators {
92 vcc_ddr: REG1 {
93 regulator-name = "VCC_DDR";
94 regulator-min-microvolt = <1200000>;
95 regulator-max-microvolt = <1200000>;
96 regulator-always-on;
97 };
98
99 vdd_log: REG2 {
100 regulator-name = "VDD_LOG";
101 regulator-min-microvolt = <1000000>;
102 regulator-max-microvolt = <1000000>;
103 regulator-always-on;
104 };
105
106 vdd_arm: REG3 {
107 regulator-name = "VDD_ARM";
108 regulator-min-microvolt = <875000>;
109 regulator-max-microvolt = <1300000>;
110 regulator-always-on;
111 };
112
113 vcc_io: REG4 {
114 regulator-name = "VCC_IO";
115 regulator-min-microvolt = <3300000>;
116 regulator-max-microvolt = <3300000>;
117 regulator-always-on;
118 };
119
120 vdd_10: REG5 {
121 regulator-name = "VDD_10";
122 regulator-min-microvolt = <1000000>;
123 regulator-max-microvolt = <1000000>;
124 regulator-always-on;
125 };
126
127 vdd_hdmi: REG6 {
128 regulator-name = "VDD_HDMI";
129 regulator-min-microvolt = <2500000>;
130 regulator-max-microvolt = <2500000>;
131 regulator-always-on;
132 };
133
134 vcc18: REG7 {
135 regulator-name = "VCC_18";
136 regulator-min-microvolt = <1800000>;
137 regulator-max-microvolt = <1800000>;
138 regulator-always-on;
139 };
140
141 vcca_33: REG8 {
142 regulator-name = "VCCA_33";
143 regulator-min-microvolt = <3300000>;
144 regulator-max-microvolt = <3300000>;
145 regulator-always-on;
146 };
147
148 vcc_rmii: REG9 {
149 regulator-name = "VCC_RMII";
150 regulator-min-microvolt = <3300000>;
151 regulator-max-microvolt = <3300000>;
152 regulator-always-on;
153 };
154
155 vccio_wl: REG10 {
156 regulator-name = "VCCIO_WL";
157 regulator-min-microvolt = <3300000>;
158 regulator-max-microvolt = <3300000>;
159 regulator-always-on;
160 };
161
162 vcc_18: REG11 {
163 regulator-name = "VCC18_IO";
164 regulator-min-microvolt = <1800000>;
165 regulator-max-microvolt = <1800000>;
166 regulator-always-on;
167 };
168
169 vcc28: REG12 {
170 regulator-name = "VCC_28";
171 regulator-min-microvolt = <2800000>;
172 regulator-max-microvolt = <2800000>;
173 regulator-always-on;
174 };
175 };
176 };
177};
178
b09e35a3
HS
179&mmc0 {
180 num-slots = <1>;
181 status = "okay";
182 vmmc-supply = <&vcc_sd0>;
183
356649ab
JC
184 bus-width = <4>;
185 disable-wp;
b09e35a3
HS
186};
187
fe2c89af
BG
188&pinctrl {
189 pcfg_output_low: pcfg-output-low {
190 output-low;
191 };
192
193 act8846 {
194 act8846_dvs0_ctl: act8846-dvs0-ctl {
195 rockchip,pins = <RK_GPIO3 27 RK_FUNC_GPIO &pcfg_output_low>;
196 };
197 };
08567053
BG
198
199 ir-receiver {
200 ir_recv_pin: ir-recv-pin {
201 rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>;
202 };
203 };
fe2c89af
BG
204};
205
fcbbf965
HS
206&uart0 {
207 status = "okay";
208};
209
210&uart1 {
211 status = "okay";
212};
213
214&uart2 {
fcbbf965
HS
215 status = "okay";
216};
217
218&uart3 {
219 status = "okay";
220};
eb2b9d47
HS
221
222&wdt {
223 status = "okay";
224};
This page took 0.080711 seconds and 5 git commands to generate.