1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 model = "Rockchip RK3036 KylinBoard";
9 compatible = "rockchip,rk3036-kylin", "rockchip,rk3036";
12 device_type = "memory";
13 reg = <0x60000000 0x20000000>;
17 compatible = "gpio-leds";
20 gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
21 label = "kylin:red:led";
22 pinctrl-names = "default";
23 pinctrl-0 = <&led_ctl>;
27 sdio_pwrseq: sdio-pwrseq {
28 compatible = "mmc-pwrseq-simple";
29 pinctrl-names = "default";
30 pinctrl-0 = <&bt_wake_h>;
33 * On the module itself this is one of these (depending
34 * on the actual card populated):
35 * - SDIO_RESET_L_WL_REG_ON
36 * - SDIO_RESET_L_WL_RST
37 * - SDIO_RESET_L_BT_EN
39 reset-gpios = <&gpio0 RK_PD2 GPIO_ACTIVE_LOW>, /* WL_REG_ON */
40 <&gpio0 RK_PD3 GPIO_ACTIVE_LOW>, /* WL_RST */
41 <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>; /* BT_EN */
45 compatible = "simple-audio-card";
46 simple-audio-card,format = "i2s";
47 simple-audio-card,name = "rockchip,rt5616-codec";
48 simple-audio-card,mclk-fs = <512>;
49 simple-audio-card,widgets =
50 "Microphone", "Microphone Jack",
51 "Headphone", "Headphone Jack";
52 simple-audio-card,routing =
53 "MIC1", "Microphone Jack",
54 "MIC2", "Microphone Jack",
55 "Microphone Jack", "micbias1",
56 "Headphone Jack", "HPOL",
57 "Headphone Jack", "HPOR";
59 simple-audio-card,cpu {
63 simple-audio-card,codec {
64 sound-dai = <&rt5616>;
68 vcc_sys: vsys-regulator {
69 compatible = "regulator-fixed";
70 regulator-name = "vcc_sys";
71 regulator-min-microvolt = <5000000>;
72 regulator-max-microvolt = <5000000>;
84 phy-reset-duration = <10>; /* millisecond */
85 phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */
86 pinctrl-names = "default";
87 pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
94 phy0: ethernet-phy@0 {
105 mali-supply = <&vdd_gpu>;
114 clock-frequency = <400000>;
119 compatible = "rockchip,rk808";
121 interrupt-parent = <&gpio2>;
122 interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&pmic_int &global_pwroff>;
125 rockchip,system-power-controller;
128 clock-output-names = "xin32k", "rk808-clkout2";
130 vcc1-supply = <&vcc_sys>;
131 vcc2-supply = <&vcc_sys>;
132 vcc3-supply = <&vcc_sys>;
133 vcc4-supply = <&vcc_sys>;
134 vcc6-supply = <&vcc_sys>;
135 vcc7-supply = <&vcc_sys>;
136 vcc8-supply = <&vcc_18>;
137 vcc9-supply = <&vcc_io>;
138 vcc10-supply = <&vcc_io>;
139 vcc11-supply = <&vcc_sys>;
140 vcc12-supply = <&vcc_io>;
141 vddio-supply = <&vccio_pmu>;
147 regulator-min-microvolt = <750000>;
148 regulator-max-microvolt = <1350000>;
149 regulator-name = "vdd_arm";
150 regulator-state-mem {
151 regulator-off-in-suspend;
158 regulator-min-microvolt = <850000>;
159 regulator-max-microvolt = <1250000>;
160 regulator-name = "vdd_gpu";
161 regulator-state-mem {
162 regulator-on-in-suspend;
163 regulator-suspend-microvolt = <1000000>;
170 regulator-name = "vcc_ddr";
171 regulator-state-mem {
172 regulator-on-in-suspend;
179 regulator-min-microvolt = <3300000>;
180 regulator-max-microvolt = <3300000>;
181 regulator-name = "vcc_io";
182 regulator-state-mem {
183 regulator-on-in-suspend;
184 regulator-suspend-microvolt = <3300000>;
188 vccio_pmu: LDO_REG1 {
191 regulator-min-microvolt = <3300000>;
192 regulator-max-microvolt = <3300000>;
193 regulator-name = "vccio_pmu";
194 regulator-state-mem {
195 regulator-on-in-suspend;
196 regulator-suspend-microvolt = <3300000>;
203 regulator-min-microvolt = <3300000>;
204 regulator-max-microvolt = <3300000>;
205 regulator-name = "vcc_tp";
206 regulator-state-mem {
207 regulator-off-in-suspend;
214 regulator-min-microvolt = <1000000>;
215 regulator-max-microvolt = <1000000>;
216 regulator-name = "vdd_10";
217 regulator-state-mem {
218 regulator-on-in-suspend;
219 regulator-suspend-microvolt = <1000000>;
223 vcc18_lcd: LDO_REG4 {
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
228 regulator-name = "vcc18_lcd";
229 regulator-state-mem {
230 regulator-on-in-suspend;
231 regulator-suspend-microvolt = <1800000>;
238 regulator-min-microvolt = <1800000>;
239 regulator-max-microvolt = <3300000>;
240 regulator-name = "vccio_sd";
241 regulator-state-mem {
242 regulator-on-in-suspend;
243 regulator-suspend-microvolt = <3300000>;
250 regulator-min-microvolt = <1800000>;
251 regulator-max-microvolt = <2500000>;
252 regulator-name = "vout5";
253 regulator-state-mem {
254 regulator-on-in-suspend;
255 regulator-suspend-microvolt = <1800000>;
262 regulator-min-microvolt = <1800000>;
263 regulator-max-microvolt = <1800000>;
264 regulator-name = "vcc_18";
265 regulator-state-mem {
266 regulator-on-in-suspend;
267 regulator-suspend-microvolt = <1800000>;
271 vcca_codec: LDO_REG8 {
274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <1800000>;
276 regulator-name = "vcca_codec";
277 regulator-state-mem {
278 regulator-on-in-suspend;
279 regulator-suspend-microvolt = <1800000>;
283 vcc_wl: SWITCH_REG1 {
286 regulator-name = "vcc_wl";
287 regulator-state-mem {
288 regulator-on-in-suspend;
292 vcc_lcd: SWITCH_REG2 {
295 regulator-name = "vcc_lcd";
296 regulator-state-mem {
297 regulator-on-in-suspend;
308 compatible = "rt5616";
310 clocks = <&cru SCLK_I2S_OUT>;
311 clock-names = "mclk";
312 #sound-dai-cells = <0>;
326 rockchip,default-sample-phase = <90>;
327 keep-power-in-suspend;
328 mmc-pwrseq = <&sdio_pwrseq>;
330 pinctrl-names = "default";
331 pinctrl-0 = <&sdio_clk &sdio_cmd &sdio_bus4>;
342 card-detect-delay = <200>;
344 pinctrl-names = "default";
345 pinctrl-0 = <&sdmmc_clk>, <&sdmmc_cmd>, <&sdmmc_cd>, <&sdmmc_bus4>;
375 rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
381 rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_default>;
386 bt_wake_h: bt-wake-h {
387 rockchip,pins = <2 RK_PB0 RK_FUNC_GPIO &pcfg_pull_default>;
392 sdmmc_pwr: sdmmc-pwr {
393 rockchip,pins = <2 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
398 global_pwroff: global-pwroff {
399 rockchip,pins = <2 RK_PA7 1 &pcfg_pull_none>;