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";
14 stdout-path = "serial2:115200n8";
18 reg = <0x60000000 0x40000000>;
19 device_type = "memory";
23 compatible = "gpio-leds";
26 label = "mk808:blue:power";
27 gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>;
28 default-state = "off";
29 linux,default-trigger = "default-on";
34 compatible = "hdmi-connector";
38 hdmi_con_in: endpoint {
39 remote-endpoint = <&hdmi_out_con>;
45 compatible = "regulator-fixed";
46 regulator-name = "vcc_io";
47 regulator-min-microvolt = <3300000>;
48 regulator-max-microvolt = <3300000>;
51 vcc_host: usb-host-regulator {
52 compatible = "regulator-fixed";
54 gpio = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
55 pinctrl-0 = <&host_drv>;
56 pinctrl-names = "default";
58 regulator-name = "host-pwr";
59 regulator-min-microvolt = <5000000>;
60 regulator-max-microvolt = <5000000>;
61 startup-delay-us = <100000>;
62 vin-supply = <&vcc_io>;
65 vcc_otg: usb-otg-regulator {
66 compatible = "regulator-fixed";
68 gpio = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
69 pinctrl-0 = <&otg_drv>;
70 pinctrl-names = "default";
72 regulator-name = "vcc_otg";
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
75 startup-delay-us = <100000>;
76 vin-supply = <&vcc_io>;
79 vcc_sd: sdmmc-regulator {
80 compatible = "regulator-fixed";
81 gpio = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
82 pinctrl-0 = <&sdmmc_pwr>;
83 pinctrl-names = "default";
84 regulator-name = "vcc_sd";
85 regulator-min-microvolt = <3300000>;
86 regulator-max-microvolt = <3300000>;
87 startup-delay-us = <100000>;
88 vin-supply = <&vcc_io>;
91 vcc_wifi: sdio-regulator {
92 compatible = "regulator-fixed";
94 gpio = <&gpio3 RK_PD0 GPIO_ACTIVE_HIGH>;
95 pinctrl-0 = <&wifi_pwr>;
96 pinctrl-names = "default";
97 regulator-name = "vcc_wifi";
98 regulator-min-microvolt = <3300000>;
99 regulator-max-microvolt = <3300000>;
100 startup-delay-us = <100000>;
101 vin-supply = <&vcc_io>;
114 hdmi_out_con: endpoint {
115 remote-endpoint = <&hdmi_con_in>;
123 vmmc-supply = <&vcc_sd>;
130 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4>;
131 pinctrl-names = "default";
132 vmmc-supply = <&vcc_wifi>;
139 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_default>;
145 rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_default>;
150 sdmmc_pwr: sdmmc-pwr {
151 rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_default>;
157 rockchip,pins = <3 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;