1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd
10 model = "Firefly ROC-RK3308-CC board";
11 compatible = "firefly,roc-rk3308-cc", "rockchip,rk3308";
13 stdout-path = "serial2:1500000n8";
17 compatible = "gpio-ir-receiver";
18 gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
19 pinctrl-names = "default";
20 pinctrl-0 = <&ir_recv_pin>;
24 compatible = "pwm-ir-tx";
25 pwms = <&pwm5 0 25000 0>;
29 compatible = "gpio-leds";
31 label = "firefly:red:power";
32 linux,default-trigger = "ir-power-click";
34 gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
38 label = "firefly:blue:user";
39 linux,default-trigger = "ir-user-click";
40 default-state = "off";
41 gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>;
45 typec_vcc5v: typec-vcc5v {
46 compatible = "regulator-fixed";
47 regulator-name = "typec_vcc5v";
50 regulator-min-microvolt = <5000000>;
51 regulator-max-microvolt = <5000000>;
54 vcc5v0_sys: vcc5v0-sys {
55 compatible = "regulator-fixed";
56 regulator-name = "vcc5v0_sys";
57 regulator-min-microvolt = <5000000>;
58 regulator-max-microvolt = <5000000>;
61 vin-supply = <&typec_vcc5v>;
65 compatible = "pwm-regulator";
66 pwms = <&pwm0 0 5000 1>;
67 regulator-name = "vdd_core";
68 regulator-min-microvolt = <827000>;
69 regulator-max-microvolt = <1340000>;
70 regulator-init-microvolt = <1015000>;
73 regulator-settling-time-up-us = <250>;
74 pwm-supply = <&vcc5v0_sys>;
78 compatible = "regulator-fixed";
79 regulator-name = "vdd_log";
82 regulator-min-microvolt = <1050000>;
83 regulator-max-microvolt = <1050000>;
84 vin-supply = <&vcc5v0_sys>;
88 compatible = "regulator-fixed";
89 regulator-name = "vcc_io";
90 regulator-min-microvolt = <3300000>;
91 regulator-max-microvolt = <3300000>;
94 vin-supply = <&vcc5v0_sys>;
97 vcc_sdmmc: vcc-sdmmc {
98 compatible = "regulator-gpio";
99 regulator-name = "vcc_sdmmc";
100 regulator-min-microvolt = <1800000>;
101 regulator-max-microvolt = <3300000>;
102 gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_HIGH>;
103 states = <1800000 0x0
105 vin-supply = <&vcc5v0_sys>;
109 compatible = "regulator-fixed";
110 gpio = <&gpio4 RK_PD6 GPIO_ACTIVE_LOW>;
111 regulator-name = "vcc_sd";
112 regulator-min-microvolt = <3300000>;
113 regulator-max-microvolt = <3300000>;
116 vim-supply = <&vcc_io>;
122 cpu-supply = <&vdd_core>;
136 clock-frequency = <400000>;
140 compatible = "nxp,pcf8563";
147 assigned-clocks = <&cru SCLK_MAC>;
148 assigned-clock-parents = <&mac_clkin>;
149 clock_in_out = "input";
150 pinctrl-names = "default";
151 pinctrl-0 = <&rmiim1_pins &macm1_refclk>;
157 pinctrl-names = "active";
158 pinctrl-0 = <&pwm5_pin_pull_down>;
162 pinctrl-names = "default";
163 pinctrl-0 = <&rtc_32k>;
166 ir_recv_pin: ir-recv-pin {
167 rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
173 rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
180 pinctrl-0 = <&pwm0_pin_pull_down>;
188 card-detect-delay = <300>;
192 vmmc-supply = <&vcc_sd>;
193 vqmmc-supply = <&vcc_sdmmc>;