2 * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
16 #include "rk3188.dtsi"
20 compatible = "radxa,rock", "rockchip,rk3188";
23 reg = <0x60000000 0x80000000>;
27 compatible = "gpio-keys";
33 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
35 label = "GPIO Key Power";
36 linux,input-type = <1>;
37 gpio-key,wakeup = <1>;
38 debounce-interval = <100>;
43 compatible = "gpio-leds";
46 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
47 default-state = "off";
51 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
52 default-state = "off";
56 gpios = <&gpio0 15 0>;
57 default-state = "off";
61 ir_recv: gpio-ir-receiver {
62 compatible = "gpio-ir-receiver";
63 gpios = <&gpio0 10 1>;
64 pinctrl-names = "default";
65 pinctrl-0 = <&ir_recv_pin>;
68 vcc_sd0: sdmmc-regulator {
69 compatible = "regulator-fixed";
70 regulator-name = "sdmmc-supply";
71 regulator-min-microvolt = <3300000>;
72 regulator-max-microvolt = <3300000>;
73 gpio = <&gpio3 1 GPIO_ACTIVE_LOW>;
74 startup-delay-us = <100000>;
75 vin-supply = <&vcc_io>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&emac_xfer>, <&emac_mdio>, <&phy_int>;
86 phy-supply = <&vcc_rmii>;
88 phy0: ethernet-phy@0 {
90 interrupt-parent = <&gpio3>;
91 interrupts = <26 IRQ_TYPE_LEVEL_LOW>;
97 clock-frequency = <400000>;
100 compatible = "active-semi,act8846";
104 pinctrl-names = "default";
105 pinctrl-0 = <&act8846_dvs0_ctl>;
109 regulator-name = "VCC_DDR";
110 regulator-min-microvolt = <1200000>;
111 regulator-max-microvolt = <1200000>;
116 regulator-name = "VDD_LOG";
117 regulator-min-microvolt = <1000000>;
118 regulator-max-microvolt = <1000000>;
123 regulator-name = "VDD_ARM";
124 regulator-min-microvolt = <875000>;
125 regulator-max-microvolt = <1300000>;
130 regulator-name = "VCC_IO";
131 regulator-min-microvolt = <3300000>;
132 regulator-max-microvolt = <3300000>;
137 regulator-name = "VDD_10";
138 regulator-min-microvolt = <1000000>;
139 regulator-max-microvolt = <1000000>;
144 regulator-name = "VDD_HDMI";
145 regulator-min-microvolt = <2500000>;
146 regulator-max-microvolt = <2500000>;
151 regulator-name = "VCC_18";
152 regulator-min-microvolt = <1800000>;
153 regulator-max-microvolt = <1800000>;
158 regulator-name = "VCCA_33";
159 regulator-min-microvolt = <3300000>;
160 regulator-max-microvolt = <3300000>;
165 regulator-name = "VCC_RMII";
166 regulator-min-microvolt = <3300000>;
167 regulator-max-microvolt = <3300000>;
172 regulator-name = "VCCIO_WL";
173 regulator-min-microvolt = <3300000>;
174 regulator-max-microvolt = <3300000>;
179 regulator-name = "VCC18_IO";
180 regulator-min-microvolt = <1800000>;
181 regulator-max-microvolt = <1800000>;
186 regulator-name = "VCC_28";
187 regulator-min-microvolt = <2800000>;
188 regulator-max-microvolt = <2800000>;
198 pinctrl-names = "default";
199 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_cd>, <&sd0_bus4>;
200 vmmc-supply = <&vcc_sd0>;
210 pcfg_output_low: pcfg-output-low {
215 act8846_dvs0_ctl: act8846-dvs0-ctl {
216 rockchip,pins = <RK_GPIO3 27 RK_FUNC_GPIO &pcfg_output_low>;
222 rockchip,pins = <RK_GPIO3 26 RK_FUNC_GPIO &pcfg_pull_up>;
227 ir_recv_pin: ir-recv-pin {
228 rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>;