1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Paweł Jarosz <paweljarosz3691@gmail.com>
7 #include "rk3066a.dtsi"
10 model = "Rikomagic MK808";
11 compatible = "rikomagic,mk808", "rockchip,rk3066a";
19 stdout-path = "serial2:115200n8";
23 reg = <0x60000000 0x40000000>;
24 device_type = "memory";
28 compatible = "gpio-leds";
31 label = "mk808:blue:power";
32 gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
33 default-state = "off";
34 linux,default-trigger = "default-on";
39 compatible = "hdmi-connector";
43 hdmi_con_in: endpoint {
44 remote-endpoint = <&hdmi_out_con>;
50 compatible = "regulator-fixed";
51 regulator-name = "vcc_io";
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
56 vcc_host: usb-host-regulator {
57 compatible = "regulator-fixed";
59 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
60 pinctrl-0 = <&host_drv>;
61 pinctrl-names = "default";
63 regulator-name = "host-pwr";
64 regulator-min-microvolt = <5000000>;
65 regulator-max-microvolt = <5000000>;
66 startup-delay-us = <100000>;
67 vin-supply = <&vcc_io>;
70 vcc_otg: usb-otg-regulator {
71 compatible = "regulator-fixed";
73 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
74 pinctrl-0 = <&otg_drv>;
75 pinctrl-names = "default";
77 regulator-name = "vcc_otg";
78 regulator-min-microvolt = <5000000>;
79 regulator-max-microvolt = <5000000>;
80 startup-delay-us = <100000>;
81 vin-supply = <&vcc_io>;
84 vcc_sd: sdmmc-regulator {
85 compatible = "regulator-fixed";
86 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
87 pinctrl-0 = <&sdmmc_pwr>;
88 pinctrl-names = "default";
89 regulator-name = "vcc_sd";
90 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>;
92 startup-delay-us = <100000>;
93 vin-supply = <&vcc_io>;
96 vcc_wifi: sdio-regulator {
97 compatible = "regulator-fixed";
99 gpio = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
100 pinctrl-0 = <&wifi_pwr>;
101 pinctrl-names = "default";
102 regulator-name = "vcc_wifi";
103 regulator-min-microvolt = <3300000>;
104 regulator-max-microvolt = <3300000>;
105 startup-delay-us = <100000>;
106 vin-supply = <&vcc_io>;
119 hdmi_out_con: endpoint {
120 remote-endpoint = <&hdmi_con_in>;
128 vmmc-supply = <&vcc_sd>;
135 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>;
136 pinctrl-names = "default";
137 vmmc-supply = <&vcc_wifi>;
144 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_default>;
150 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_default>;
155 sdmmc_pwr: sdmmc-pwr {
156 rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_default>;
162 rockchip,pins = <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;