2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
14 #include "rk3288-evb.dtsi"
17 compatible = "rockchip,rk3288-evb-rk808", "rockchip,rk3288";
19 ext_gmac: external-gmac-clock {
20 compatible = "fixed-clock";
21 clock-frequency = <125000000>;
22 clock-output-names = "ext_gmac";
28 cpu0-supply = <&vdd_cpu>;
32 clock-frequency = <400000>;
35 compatible = "rockchip,rk808";
37 interrupt-parent = <&gpio0>;
38 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
39 pinctrl-names = "default";
40 pinctrl-0 = <&pmic_int &global_pwroff>;
41 rockchip,system-power-controller;
44 clock-output-names = "xin32k", "rk808-clkout2";
46 vcc8-supply = <&vcc_18>;
47 vcc9-supply = <&vcc_io>;
48 vcc10-supply = <&vcc_io>;
49 vcc12-supply = <&vcc_io>;
50 vddio-supply = <&vccio_pmu>;
56 regulator-min-microvolt = <750000>;
57 regulator-max-microvolt = <1350000>;
58 regulator-name = "vdd_arm";
60 regulator-off-in-suspend;
67 regulator-min-microvolt = <850000>;
68 regulator-max-microvolt = <1250000>;
69 regulator-name = "vdd_gpu";
71 regulator-on-in-suspend;
72 regulator-suspend-microvolt = <1000000>;
79 regulator-name = "vcc_ddr";
81 regulator-on-in-suspend;
88 regulator-min-microvolt = <3300000>;
89 regulator-max-microvolt = <3300000>;
90 regulator-name = "vcc_io";
92 regulator-on-in-suspend;
93 regulator-suspend-microvolt = <3300000>;
100 regulator-min-microvolt = <3300000>;
101 regulator-max-microvolt = <3300000>;
102 regulator-name = "vccio_pmu";
103 regulator-state-mem {
104 regulator-on-in-suspend;
105 regulator-suspend-microvolt = <3300000>;
112 regulator-min-microvolt = <3300000>;
113 regulator-max-microvolt = <3300000>;
114 regulator-name = "vcc_tp";
115 regulator-state-mem {
116 regulator-off-in-suspend;
123 regulator-min-microvolt = <1000000>;
124 regulator-max-microvolt = <1000000>;
125 regulator-name = "vdd_10";
126 regulator-state-mem {
127 regulator-on-in-suspend;
128 regulator-suspend-microvolt = <1000000>;
132 vcc18_lcd: LDO_REG4 {
135 regulator-min-microvolt = <1800000>;
136 regulator-max-microvolt = <1800000>;
137 regulator-name = "vcc18_lcd";
138 regulator-state-mem {
139 regulator-on-in-suspend;
140 regulator-suspend-microvolt = <1800000>;
147 regulator-min-microvolt = <1800000>;
148 regulator-max-microvolt = <3300000>;
149 regulator-name = "vccio_sd";
150 regulator-state-mem {
151 regulator-on-in-suspend;
152 regulator-suspend-microvolt = <3300000>;
156 vdd10_lcd: LDO_REG6 {
159 regulator-min-microvolt = <1000000>;
160 regulator-max-microvolt = <1000000>;
161 regulator-name = "vdd10_lcd";
162 regulator-state-mem {
163 regulator-on-in-suspend;
164 regulator-suspend-microvolt = <1000000>;
171 regulator-min-microvolt = <1800000>;
172 regulator-max-microvolt = <1800000>;
173 regulator-name = "vcc_18";
174 regulator-state-mem {
175 regulator-on-in-suspend;
176 regulator-suspend-microvolt = <1800000>;
180 vcca_codec: LDO_REG8 {
183 regulator-min-microvolt = <3300000>;
184 regulator-max-microvolt = <3300000>;
185 regulator-name = "vcca_codec";
186 regulator-state-mem {
187 regulator-on-in-suspend;
188 regulator-suspend-microvolt = <3300000>;
192 vcc_wl: SWITCH_REG1 {
195 regulator-name = "vcc_wl";
196 regulator-state-mem {
197 regulator-on-in-suspend;
201 vcc_lcd: SWITCH_REG2 {
204 regulator-name = "vcc_lcd";
205 regulator-state-mem {
206 regulator-on-in-suspend;
214 phy-supply = <&vcc_phy>;
216 clock_in_out = "input";
217 snps,reset-gpio = <&gpio4 7 0>;
218 snps,reset-active-low;
219 snps,reset-delays-us = <0 10000 1000000>;
220 assigned-clocks = <&cru SCLK_MAC>;
221 assigned-clock-parents = <&ext_gmac>;
222 pinctrl-names = "default";
223 pinctrl-0 = <&rgmii_pins>;