mtd: nand: omap: Fix comment in platform data using wrong Kconfig symbol
[linux/fpc-iii.git] / arch / arm / boot / dts / rk3066a-mk808.dts
blob9d2216d71f707262611eedb934e49942a309efef
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * Copyright (c) 2016 PaweÅ‚ Jarosz <paweljarosz3691@gmail.com>
4  */
6 /dts-v1/;
7 #include "rk3066a.dtsi"
9 / {
10         model = "Rikomagic MK808";
11         compatible = "rikomagic,mk808", "rockchip,rk3066a";
13         chosen {
14                 stdout-path = "serial2:115200n8";
15         };
17         memory@60000000 {
18                 reg = <0x60000000 0x40000000>;
19                 device_type = "memory";
20         };
22         gpio-leds {
23                 compatible = "gpio-leds";
25                 blue {
26                         label = "mk808:blue:power";
27                         gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
28                         default-state = "off";
29                         linux,default-trigger = "default-on";
30                 };
31         };
33         vcc_io: vcc-io {
34                 compatible = "regulator-fixed";
35                 regulator-name = "vcc_io";
36                 regulator-min-microvolt = <3300000>;
37                 regulator-max-microvolt = <3300000>;
38         };
40         vcc_host: usb-host-regulator {
41                 compatible = "regulator-fixed";
42                 enable-active-high;
43                 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
44                 pinctrl-0 = <&host_drv>;
45                 pinctrl-names = "default";
46                 regulator-always-on;
47                 regulator-name = "host-pwr";
48                 regulator-min-microvolt = <5000000>;
49                 regulator-max-microvolt = <5000000>;
50                 startup-delay-us = <100000>;
51                 vin-supply = <&vcc_io>;
52         };
54         vcc_otg: usb-otg-regulator {
55                 compatible = "regulator-fixed";
56                 enable-active-high;
57                 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
58                 pinctrl-0 = <&otg_drv>;
59                 pinctrl-names = "default";
60                 regulator-always-on;
61                 regulator-name = "vcc_otg";
62                 regulator-min-microvolt = <5000000>;
63                 regulator-max-microvolt = <5000000>;
64                 startup-delay-us = <100000>;
65                 vin-supply = <&vcc_io>;
66         };
68         vcc_sd: sdmmc-regulator {
69                 compatible = "regulator-fixed";
70                 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
71                 pinctrl-0 = <&sdmmc_pwr>;
72                 pinctrl-names = "default";
73                 regulator-name = "vcc_sd";
74                 regulator-min-microvolt = <3300000>;
75                 regulator-max-microvolt = <3300000>;
76                 startup-delay-us = <100000>;
77                 vin-supply = <&vcc_io>;
78         };
80         vcc_wifi: sdio-regulator {
81                 compatible = "regulator-fixed";
82                 enable-active-high;
83                 gpio = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
84                 pinctrl-0 = <&wifi_pwr>;
85                 pinctrl-names = "default";
86                 regulator-name = "vcc_wifi";
87                 regulator-min-microvolt = <3300000>;
88                 regulator-max-microvolt = <3300000>;
89                 startup-delay-us = <100000>;
90                 vin-supply = <&vcc_io>;
91         };
94 &mmc0 {
95         bus-width = <4>;
96         cap-mmc-highspeed;
97         cap-sd-highspeed;
98         vmmc-supply = <&vcc_sd>;
99         status = "okay";
102 &mmc1 {
103         bus-width = <4>;
104         non-removable;
105         pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>;
106         pinctrl-names = "default";
107         vmmc-supply = <&vcc_wifi>;
108         status = "okay";
111 &pinctrl {
112         usb-host {
113                 host_drv: host-drv {
114                         rockchip,pins = <RK_GPIO0 6 RK_FUNC_GPIO &pcfg_pull_default>;
115                 };
116         };
118         usb-otg {
119                 otg_drv: otg-drv {
120                         rockchip,pins = <RK_GPIO0 5 RK_FUNC_GPIO &pcfg_pull_default>;
121                 };
122         };
124         sdmmc {
125                 sdmmc_pwr: sdmmc-pwr {
126                         rockchip,pins = <RK_GPIO3 7 RK_FUNC_GPIO &pcfg_pull_default>;
127                 };
128         };
130         sdio {
131                 wifi_pwr: wifi-pwr {
132                         rockchip,pins = <RK_GPIO3 24 RK_FUNC_GPIO &pcfg_pull_none>;
133                 };
134         };
137 &uart2 {
138         status = "okay";
141 &usb_host {
142         status = "okay";
145 &usb_otg {
146         status = "okay";
149 &usbphy {
150         status = "okay";
153 &wdt {
154         status = "okay";