Lines Matching +full:polling +full:- +full:delay
1 // SPDX-License-Identifier: GPL-2.0 OR MIT
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
13 compatible = "sophgo,sg2042-evb-v2", "sophgo,sg2042";
16 stdout-path = "serial0";
19 pwmfan: pwm-fan {
20 compatible = "pwm-fan";
21 cooling-levels = <103 128 179 230 255>;
23 #cooling-cells = <2>;
26 thermal-zones {
27 soc-thermal {
28 polling-delay-passive = <1000>;
29 polling-delay = <1000>;
30 thermal-sensors = <&mcu 0>;
33 soc_active1: soc-active1 {
39 soc_active2: soc-active2 {
45 soc_active3: soc-active3 {
51 soc_hot: soc-hot {
58 cooling-maps {
61 cooling-device = <&pwmfan 0 1>;
66 cooling-device = <&pwmfan 1 2>;
71 cooling-device = <&pwmfan 2 3>;
76 cooling-device = <&pwmfan 3 4>;
81 board-thermal {
82 polling-delay-passive = <1000>;
83 polling-delay = <1000>;
84 thermal-sensors = <&mcu 1>;
87 board_active: board-active {
94 cooling-maps {
97 cooling-device = <&pwmfan 3 4>;
105 clock-frequency = <25000000>;
109 clock-frequency = <25000000>;
113 clock-frequency = <25000000>;
117 pinctrl-0 = <&emmc_cfg>;
118 pinctrl-names = "default";
119 bus-width = <4>;
120 no-sdio;
121 no-sd;
122 non-removable;
123 wp-inverted;
128 pinctrl-0 = <&i2c1_cfg>;
129 pinctrl-names = "default";
133 compatible = "sophgo,sg2042-hwmon-mcu";
135 #thermal-sensor-cells = <1>;
140 phy-handle = <&phy0>;
141 phy-mode = "rgmii-id";
146 compatible = "ethernet-phy-ieee802.3-c22";
148 reset-gpios = <&port0a 27 GPIO_ACTIVE_LOW>;
149 reset-assert-us = <100000>;
150 reset-deassert-us = <100000>;
156 emmc_cfg: sdhci-emmc-cfg {
157 sdhci-emmc-wp-pins {
159 bias-disable;
160 drive-strength-microamp = <26800>;
161 input-schmitt-disable;
164 sdhci-emmc-cd-pins {
166 bias-pull-up;
167 drive-strength-microamp = <26800>;
168 input-schmitt-enable;
171 sdhci-emmc-rst-pwr-pins {
174 bias-disable;
175 drive-strength-microamp = <26800>;
176 input-schmitt-disable;
180 i2c1_cfg: i2c1-cfg {
181 i2c1-pins {
184 bias-pull-up;
185 drive-strength-microamp = <26800>;
186 input-schmitt-enable;
190 sd_cfg: sdhci-sd-cfg {
191 sdhci-sd-cd-wp-pins {
194 bias-pull-up;
195 drive-strength-microamp = <26800>;
196 input-schmitt-enable;
199 sdhci-sd-rst-pwr-pins {
202 bias-disable;
203 drive-strength-microamp = <26800>;
204 input-schmitt-disable;
208 uart0_cfg: uart0-cfg {
209 uart0-rx-pins {
212 bias-pull-up;
213 drive-strength-microamp = <26800>;
214 input-schmitt-enable;
220 pinctrl-0 = <&sd_cfg>;
221 pinctrl-names = "default";
222 bus-width = <4>;
223 no-sdio;
224 no-mmc;
225 wp-inverted;
230 pinctrl-0 = <&uart0_cfg>;
231 pinctrl-names = "default";