Lines Matching +full:input +full:- +full:schmitt +full:- +full:enable
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-v1", "sophgo,sg2042";
16 stdout-path = "serial0";
19 gpio-power {
20 compatible = "gpio-keys";
22 key-power {
26 linux,input-type = <EV_KEY>;
27 debounce-interval = <100>;
31 pwmfan: pwm-fan {
32 compatible = "pwm-fan";
33 cooling-levels = <103 128 179 230 255>;
35 #cooling-cells = <2>;
38 thermal-zones {
39 soc-thermal {
40 polling-delay-passive = <1000>;
41 polling-delay = <1000>;
42 thermal-sensors = <&mcu 0>;
45 soc_active1: soc-active1 {
51 soc_active2: soc-active2 {
57 soc_active3: soc-active3 {
63 soc_hot: soc-hot {
70 cooling-maps {
73 cooling-device = <&pwmfan 0 1>;
78 cooling-device = <&pwmfan 1 2>;
83 cooling-device = <&pwmfan 2 3>;
88 cooling-device = <&pwmfan 3 4>;
93 board-thermal {
94 polling-delay-passive = <1000>;
95 polling-delay = <1000>;
96 thermal-sensors = <&mcu 1>;
99 board_active: board-active {
106 cooling-maps {
109 cooling-device = <&pwmfan 3 4>;
117 clock-frequency = <25000000>;
121 clock-frequency = <25000000>;
125 clock-frequency = <25000000>;
129 pinctrl-0 = <&emmc_cfg>;
130 pinctrl-names = "default";
131 bus-width = <4>;
132 no-sdio;
133 no-sd;
134 non-removable;
135 wp-inverted;
140 pinctrl-0 = <&i2c1_cfg>;
141 pinctrl-names = "default";
145 compatible = "sophgo,sg2042-hwmon-mcu";
147 #thermal-sensor-cells = <1>;
152 phy-handle = <&phy0>;
153 phy-mode = "rgmii-id";
158 compatible = "ethernet-phy-ieee802.3-c22";
160 reset-gpios = <&port0a 27 GPIO_ACTIVE_LOW>;
161 reset-assert-us = <100000>;
162 reset-deassert-us = <100000>;
168 emmc_cfg: sdhci-emmc-cfg {
169 sdhci-emmc-wp-pins {
171 bias-disable;
172 drive-strength-microamp = <26800>;
173 input-schmitt-disable;
176 sdhci-emmc-cd-pins {
178 bias-pull-up;
179 drive-strength-microamp = <26800>;
180 input-schmitt-enable;
183 sdhci-emmc-rst-pwr-pins {
186 bias-disable;
187 drive-strength-microamp = <26800>;
188 input-schmitt-disable;
192 i2c1_cfg: i2c1-cfg {
193 i2c1-pins {
196 bias-pull-up;
197 drive-strength-microamp = <26800>;
198 input-schmitt-enable;
202 sd_cfg: sdhci-sd-cfg {
203 sdhci-sd-cd-wp-pins {
206 bias-pull-up;
207 drive-strength-microamp = <26800>;
208 input-schmitt-enable;
211 sdhci-sd-rst-pwr-pins {
214 bias-disable;
215 drive-strength-microamp = <26800>;
216 input-schmitt-disable;
220 uart0_cfg: uart0-cfg {
221 uart0-rx-pins {
224 bias-pull-up;
225 drive-strength-microamp = <26800>;
226 input-schmitt-enable;
232 pinctrl-0 = <&sd_cfg>;
233 pinctrl-names = "default";
234 bus-width = <4>;
235 no-sdio;
236 no-mmc;
237 wp-inverted;
242 pinctrl-0 = <&uart0_cfg>;
243 pinctrl-names = "default";