2 * This file is dual-licensed: you can use it either under the terms
3 * of the GPL or the X11 license, at your option. Note that this dual
4 * licensing only applies to this file, and not this project as a
7 * a) This file is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
12 * This file is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
19 * b) Permission is hereby granted, free of charge, to any person
20 * obtaining a copy of this software and associated documentation
21 * files (the "Software"), to deal in the Software without
22 * restriction, including without limitation the rights to use,
23 * copy, modify, merge, publish, distribute, sublicense, and/or
24 * sell copies of the Software, and to permit persons to whom the
25 * Software is furnished to do so, subject to the following
28 * The above copyright notice and this permission notice shall be
29 * included in all copies or substantial portions of the Software.
31 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
33 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
35 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
36 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
37 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
38 * OTHER DEALINGS IN THE SOFTWARE.
41 #include <dt-bindings/pwm/pwm.h>
42 #include "rk3288.dtsi"
46 reg = <0x0 0x80000000>;
47 device_type = "memory";
50 emmc_pwrseq: emmc-pwrseq {
51 compatible = "mmc-pwrseq-emmc";
52 pinctrl-0 = <&emmc_reset>;
53 pinctrl-names = "default";
54 reset-gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
57 ext_gmac: external-gmac-clock {
58 compatible = "fixed-clock";
60 clock-frequency = <125000000>;
61 clock-output-names = "ext_gmac";
64 vcc_sys: vsys-regulator {
65 compatible = "regulator-fixed";
66 regulator-name = "vcc_sys";
67 regulator-min-microvolt = <5000000>;
68 regulator-max-microvolt = <5000000>;
75 cpu0-supply = <&vdd_cpu>;
84 mmc-pwrseq = <&emmc_pwrseq>;
85 pinctrl-names = "default";
86 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
87 vmmc-supply = <&vcc_io>;
92 assigned-clocks = <&cru SCLK_MAC>;
93 assigned-clock-parents = <&ext_gmac>;
94 clock_in_out = "input";
96 phy-supply = <&vccio_pmu>;
97 pinctrl-names = "default";
98 pinctrl-0 = <&rgmii_pins &phy_rst>;
99 snps,reset-gpio = <&gpio4 8 GPIO_ACTIVE_LOW>;
100 snps,reset-active-low;
101 snps,reset-delays-us = <0 10000 30000>;
109 act8846: act8846@5a {
110 compatible = "active-semi,act8846";
112 system-power-controller;
113 inl1-supply = <&vcc_io>;
114 inl2-supply = <&vcc_sys>;
115 inl3-supply = <&vcc_20>;
116 vp1-supply = <&vcc_sys>;
117 vp2-supply = <&vcc_sys>;
118 vp3-supply = <&vcc_sys>;
119 vp4-supply = <&vcc_sys>;
123 regulator-name = "VCC_DDR";
124 regulator-min-microvolt = <1200000>;
125 regulator-max-microvolt = <1200000>;
130 regulator-name = "VCC_IO";
131 regulator-min-microvolt = <3300000>;
132 regulator-max-microvolt = <3300000>;
137 regulator-name = "VDD_LOG";
138 regulator-min-microvolt = <1000000>;
139 regulator-max-microvolt = <1000000>;
144 regulator-name = "VCC_20";
145 regulator-min-microvolt = <2000000>;
146 regulator-max-microvolt = <2000000>;
151 regulator-name = "VCCIO_SD";
152 regulator-min-microvolt = <3300000>;
153 regulator-max-microvolt = <3300000>;
158 regulator-name = "VDD10_LCD";
159 regulator-min-microvolt = <1000000>;
160 regulator-max-microvolt = <1000000>;
165 regulator-name = "VCCA_CODEC";
166 regulator-min-microvolt = <3300000>;
167 regulator-max-microvolt = <3300000>;
172 regulator-name = "VCCA_TP";
173 regulator-min-microvolt = <3300000>;
174 regulator-max-microvolt = <3300000>;
179 regulator-name = "VCCIO_PMU";
180 regulator-min-microvolt = <3300000>;
181 regulator-max-microvolt = <3300000>;
186 regulator-name = "VDD_10";
187 regulator-min-microvolt = <1000000>;
188 regulator-max-microvolt = <1000000>;
193 regulator-name = "VCC_18";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
200 regulator-name = "VCC18_LCD";
201 regulator-min-microvolt = <1800000>;
202 regulator-max-microvolt = <1800000>;
209 compatible = "silergy,syr827";
211 fcs,suspend-voltage-selector = <1>;
214 regulator-enable-ramp-delay = <300>;
215 regulator-name = "vdd_cpu";
216 regulator-min-microvolt = <850000>;
217 regulator-max-microvolt = <1350000>;
218 regulator-ramp-delay = <8000>;
219 vin-supply = <&vcc_sys>;
223 compatible = "silergy,syr828";
225 fcs,suspend-voltage-selector = <1>;
227 regulator-enable-ramp-delay = <300>;
228 regulator-min-microvolt = <850000>;
229 regulator-max-microvolt = <1350000>;
230 regulator-name = "vdd_gpu";
231 regulator-ramp-delay = <8000>;
232 vin-supply = <&vcc_sys>;
237 pcfg_output_high: pcfg-output-high {
242 emmc_reset: emmc-reset {
243 rockchip,pins = <3 9 RK_FUNC_GPIO &pcfg_pull_none>;
249 rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>;
255 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
256 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */