mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol
[linux/fpc-iii.git] / arch / arm / boot / dts / rk3288-fennec.dts
blob29af26e6d442e224145f4a5d9476c207ed0f4386
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include "rk3288.dtsi"
7 / {
8         model = "Rockchip RK3288 Fennec Board";
9         compatible = "rockchip,rk3288-fennec", "rockchip,rk3288";
11         memory@0 {
12                 reg = <0x0 0x0 0x0 0x80000000>;
13                 device_type = "memory";
14         };
16         ext_gmac: external-gmac-clock {
17                 compatible = "fixed-clock";
18                 #clock-cells = <0>;
19                 clock-frequency = <125000000>;
20                 clock-output-names = "ext_gmac";
21         };
23         vcc_sys: vsys-regulator {
24                 compatible = "regulator-fixed";
25                 regulator-name = "vcc_sys";
26                 regulator-min-microvolt = <5000000>;
27                 regulator-max-microvolt = <5000000>;
28                 regulator-always-on;
29                 regulator-boot-on;
30         };
33 &cpu0 {
34         cpu0-supply = <&vdd_cpu>;
37 &emmc {
38         bus-width = <8>;
39         cap-mmc-highspeed;
40         non-removable;
41         pinctrl-names = "default";
42         pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
43         status = "okay";
46 &gmac {
47         assigned-clocks = <&cru SCLK_MAC>;
48         assigned-clock-parents = <&ext_gmac>;
49         clock_in_out = "input";
50         pinctrl-names = "default";
51         pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
52         phy-supply = <&vcc_lan>;
53         phy-mode = "rgmii";
54         snps,reset-active-low;
55         snps,reset-delays-us = <0 10000 1000000>;
56         snps,reset-gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_LOW>;
57         tx_delay = <0x30>;
58         rx_delay = <0x10>;
59         status = "okay";
62 &gpu {
63         mali-supply = <&vdd_gpu>;
64         status = "okay";
67 &hdmi {
68         status = "okay";
71 &i2c0 {
72         status = "okay";
73         clock-frequency = <400000>;
75         rk808: pmic@1b {
76                 compatible = "rockchip,rk808";
77                 reg = <0x1b>;
78                 interrupt-parent = <&gpio0>;
79                 interrupts = <RK_PA4 IRQ_TYPE_LEVEL_LOW>;
80                 #clock-cells = <1>;
81                 clock-output-names = "xin32k", "rk808-clkout2";
82                 pinctrl-names = "default";
83                 pinctrl-0 = <&pmic_int &global_pwroff>;
84                 rockchip,system-power-controller;
85                 wakeup-source;
87                 vcc1-supply = <&vcc_sys>;
88                 vcc2-supply = <&vcc_sys>;
89                 vcc3-supply = <&vcc_sys>;
90                 vcc4-supply = <&vcc_sys>;
91                 vcc6-supply = <&vcc_sys>;
92                 vcc7-supply = <&vcc_sys>;
93                 vcc8-supply = <&vcc_io>;
94                 vcc9-supply = <&vcc_io>;
95                 vcc10-supply = <&vcc_io>;
96                 vcc11-supply = <&vcc_io>;
97                 vcc12-supply = <&vcc_io>;
98                 vddio-supply = <&vcc_io>;
100                 regulators {
101                         vdd_cpu: DCDC_REG1 {
102                                 regulator-always-on;
103                                 regulator-boot-on;
104                                 regulator-min-microvolt = <750000>;
105                                 regulator-max-microvolt = <1350000>;
106                                 regulator-name = "vdd_arm";
107                                 regulator-state-mem {
108                                         regulator-off-in-suspend;
109                                 };
110                         };
112                         vdd_gpu: DCDC_REG2 {
113                                 regulator-always-on;
114                                 regulator-boot-on;
115                                 regulator-min-microvolt = <850000>;
116                                 regulator-max-microvolt = <1250000>;
117                                 regulator-name = "vdd_gpu";
118                                 regulator-state-mem {
119                                         regulator-on-in-suspend;
120                                         regulator-suspend-microvolt = <1000000>;
121                                 };
122                         };
124                         vcc_ddr: DCDC_REG3 {
125                                 regulator-always-on;
126                                 regulator-boot-on;
127                                 regulator-name = "vcc_ddr";
128                                 regulator-state-mem {
129                                         regulator-on-in-suspend;
130                                 };
131                         };
133                         vcc_io: DCDC_REG4 {
134                                 regulator-always-on;
135                                 regulator-boot-on;
136                                 regulator-min-microvolt = <3300000>;
137                                 regulator-max-microvolt = <3300000>;
138                                 regulator-name = "vcc_io";
139                                 regulator-state-mem {
140                                         regulator-on-in-suspend;
141                                         regulator-suspend-microvolt = <3300000>;
142                                 };
143                         };
145                         vccio_pmu: LDO_REG1 {
146                                 regulator-always-on;
147                                 regulator-boot-on;
148                                 regulator-min-microvolt = <3300000>;
149                                 regulator-max-microvolt = <3300000>;
150                                 regulator-name = "vccio_pmu";
151                                 regulator-state-mem {
152                                         regulator-on-in-suspend;
153                                         regulator-suspend-microvolt = <3300000>;
154                                 };
155                         };
157                         vcca_33: LDO_REG2 {
158                                 regulator-always-on;
159                                 regulator-boot-on;
160                                 regulator-min-microvolt = <3300000>;
161                                 regulator-max-microvolt = <3300000>;
162                                 regulator-name = "vcca_33";
163                                 regulator-state-mem {
164                                         regulator-off-in-suspend;
165                                 };
166                         };
168                         vdd_10: LDO_REG3 {
169                                 regulator-always-on;
170                                 regulator-boot-on;
171                                 regulator-min-microvolt = <1000000>;
172                                 regulator-max-microvolt = <1000000>;
173                                 regulator-name = "vdd_10";
174                                 regulator-state-mem {
175                                         regulator-on-in-suspend;
176                                         regulator-suspend-microvolt = <1000000>;
177                                 };
178                         };
180                         vcc_wl: LDO_REG4 {
181                                 regulator-always-on;
182                                 regulator-boot-on;
183                                 regulator-min-microvolt = <1800000>;
184                                 regulator-max-microvolt = <1800000>;
185                                 regulator-name = "vcc_wl";
186                                 regulator-state-mem {
187                                         regulator-on-in-suspend;
188                                         regulator-suspend-microvolt = <1800000>;
189                                 };
190                         };
192                         vccio_sd: LDO_REG5 {
193                                 regulator-always-on;
194                                 regulator-boot-on;
195                                 regulator-min-microvolt = <1800000>;
196                                 regulator-max-microvolt = <3300000>;
197                                 regulator-name = "vccio_sd";
198                                 regulator-state-mem {
199                                         regulator-on-in-suspend;
200                                         regulator-suspend-microvolt = <3300000>;
201                                 };
202                         };
204                         vdd10_lcd: LDO_REG6 {
205                                 regulator-always-on;
206                                 regulator-boot-on;
207                                 regulator-min-microvolt = <1000000>;
208                                 regulator-max-microvolt = <1000000>;
209                                 regulator-name = "vdd10_lcd";
210                                 regulator-state-mem {
211                                         regulator-on-in-suspend;
212                                         regulator-suspend-microvolt = <1000000>;
213                                 };
214                         };
216                         vcc_18: LDO_REG7 {
217                                 regulator-always-on;
218                                 regulator-boot-on;
219                                 regulator-min-microvolt = <1800000>;
220                                 regulator-max-microvolt = <1800000>;
221                                 regulator-name = "vcc_18";
222                                 regulator-state-mem {
223                                         regulator-on-in-suspend;
224                                         regulator-suspend-microvolt = <1800000>;
225                                 };
226                         };
228                         vcc18_lcd: LDO_REG8 {
229                                 regulator-always-on;
230                                 regulator-boot-on;
231                                 regulator-min-microvolt = <1800000>;
232                                 regulator-max-microvolt = <1800000>;
233                                 regulator-name = "vcc18_lcd";
234                                 regulator-state-mem {
235                                         regulator-on-in-suspend;
236                                         regulator-suspend-microvolt = <1800000>;
237                                 };
238                         };
240                         vcc_sd: SWITCH_REG1 {
241                                 regulator-always-on;
242                                 regulator-boot-on;
243                                 regulator-name = "vcc_sd";
244                                 regulator-state-mem {
245                                         regulator-on-in-suspend;
246                                 };
247                         };
249                         vcc_lan: SWITCH_REG2 {
250                                 regulator-always-on;
251                                 regulator-boot-on;
252                                 regulator-name = "vcc_lan";
253                                 regulator-state-mem {
254                                         regulator-on-in-suspend;
255                                 };
256                         };
257                 };
258         };
261 &pinctrl {
262         pcfg_output_high: pcfg-output-high {
263                 output-high;
264         };
266         pcfg_output_low: pcfg-output-low {
267                 output-low;
268         };
270         pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
271                 drive-strength = <8>;
272         };
274         pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
275                 bias-pull-up;
276                 drive-strength = <8>;
277         };
279         gmac {
280                 phy_int: phy-int {
281                         rockchip,pins = <0 9 RK_FUNC_GPIO &pcfg_pull_up>;
282                 };
284                 phy_pmeb: phy-pmeb {
285                         rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_up>;
286                 };
288                 phy_rst: phy-rst {
289                         rockchip,pins = <4 8 RK_FUNC_GPIO &pcfg_output_high>;
290                 };
291         };
293         pmic {
294                 pmic_int: pmic-int {
295                         rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>;
296                 };
297         };
299         usbphy {
300                 host_drv: host-drv {
301                         rockchip,pins = <0 14 RK_FUNC_GPIO &pcfg_pull_none>;
302                 };
303         };
306 &uart2 {
307         status = "okay";
310 &usbphy {
311         pinctrl-names = "default";
312         pinctrl-0 = <&host_drv>;
313         vbus_drv-gpios = <&gpio0 RK_PB6 GPIO_ACTIVE_HIGH>;
314         status = "okay";
317 &usb_host0_ehci {
318         status = "okay";
321 &usb_host1 {
322         status = "okay";
325 &usb_otg {
326         status = "okay";
329 &usb_hsic {
330         status = "okay";
333 &vopb {
334         status = "okay";
337 &vopb_mmu {
338         status = "okay";
341 &vopl {
342         status = "okay";
345 &vopl_mmu {
346         status = "okay";