ARM: dts: add i2c and regulator nodes to rk3188-radxarock
[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
HS
59 };
60};
fcbbf965 61
fe2c89af
BG
62&i2c1 {
63 status = "okay";
64 clock-frequency = <400000>;
65
66 act8846: act8846@5a {
67 compatible = "active-semi,act8846";
68 reg = <0x5a>;
69 status = "okay";
70
71 pinctrl-names = "default";
72 pinctrl-0 = <&act8846_dvs0_ctl>;
73
74 regulators {
75 vcc_ddr: REG1 {
76 regulator-name = "VCC_DDR";
77 regulator-min-microvolt = <1200000>;
78 regulator-max-microvolt = <1200000>;
79 regulator-always-on;
80 };
81
82 vdd_log: REG2 {
83 regulator-name = "VDD_LOG";
84 regulator-min-microvolt = <1000000>;
85 regulator-max-microvolt = <1000000>;
86 regulator-always-on;
87 };
88
89 vdd_arm: REG3 {
90 regulator-name = "VDD_ARM";
91 regulator-min-microvolt = <875000>;
92 regulator-max-microvolt = <1300000>;
93 regulator-always-on;
94 };
95
96 vcc_io: REG4 {
97 regulator-name = "VCC_IO";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
100 regulator-always-on;
101 };
102
103 vdd_10: REG5 {
104 regulator-name = "VDD_10";
105 regulator-min-microvolt = <1000000>;
106 regulator-max-microvolt = <1000000>;
107 regulator-always-on;
108 };
109
110 vdd_hdmi: REG6 {
111 regulator-name = "VDD_HDMI";
112 regulator-min-microvolt = <2500000>;
113 regulator-max-microvolt = <2500000>;
114 regulator-always-on;
115 };
116
117 vcc18: REG7 {
118 regulator-name = "VCC_18";
119 regulator-min-microvolt = <1800000>;
120 regulator-max-microvolt = <1800000>;
121 regulator-always-on;
122 };
123
124 vcca_33: REG8 {
125 regulator-name = "VCCA_33";
126 regulator-min-microvolt = <3300000>;
127 regulator-max-microvolt = <3300000>;
128 regulator-always-on;
129 };
130
131 vcc_rmii: REG9 {
132 regulator-name = "VCC_RMII";
133 regulator-min-microvolt = <3300000>;
134 regulator-max-microvolt = <3300000>;
135 regulator-always-on;
136 };
137
138 vccio_wl: REG10 {
139 regulator-name = "VCCIO_WL";
140 regulator-min-microvolt = <3300000>;
141 regulator-max-microvolt = <3300000>;
142 regulator-always-on;
143 };
144
145 vcc_18: REG11 {
146 regulator-name = "VCC18_IO";
147 regulator-min-microvolt = <1800000>;
148 regulator-max-microvolt = <1800000>;
149 regulator-always-on;
150 };
151
152 vcc28: REG12 {
153 regulator-name = "VCC_28";
154 regulator-min-microvolt = <2800000>;
155 regulator-max-microvolt = <2800000>;
156 regulator-always-on;
157 };
158 };
159 };
160};
161
162&pinctrl {
163 pcfg_output_low: pcfg-output-low {
164 output-low;
165 };
166
167 act8846 {
168 act8846_dvs0_ctl: act8846-dvs0-ctl {
169 rockchip,pins = <RK_GPIO3 27 RK_FUNC_GPIO &pcfg_output_low>;
170 };
171 };
172};
173
fcbbf965
HS
174&uart0 {
175 status = "okay";
176};
177
178&uart1 {
179 status = "okay";
180};
181
182&uart2 {
183 pinctrl-names = "default";
184 pinctrl-0 = <&uart2_xfer>;
185 status = "okay";
186};
187
188&uart3 {
189 status = "okay";
190};
This page took 0.075256 seconds and 5 git commands to generate.