Lines Matching +full:strobe +full:- +full:gpios +full:- +full:polarity

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * RK3399-based FriendlyElec boards device tree source
14 /dts-v1/;
15 #include <dt-bindings/input/linux-event-codes.h>
27 stdout-path = "serial2:1500000n8";
30 clkin_gmac: external-gmac-clock {
31 compatible = "fixed-clock";
32 clock-frequency = <125000000>;
33 clock-output-names = "clkin_gmac";
34 #clock-cells = <0>;
37 vcc3v3_sys: vcc3v3-sys {
38 compatible = "regulator-fixed";
39 regulator-always-on;
40 regulator-boot-on;
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
43 regulator-name = "vcc3v3_sys";
46 vcc5v0_sys: vcc5v0-sys {
47 compatible = "regulator-fixed";
48 regulator-always-on;
49 regulator-boot-on;
50 regulator-min-microvolt = <5000000>;
51 regulator-max-microvolt = <5000000>;
52 regulator-name = "vcc5v0_sys";
53 vin-supply = <&vdd_5v>;
57 vcc1v8_s3: vcc1v8-s3 {
58 compatible = "regulator-fixed";
59 regulator-always-on;
60 regulator-boot-on;
61 regulator-min-microvolt = <1800000>;
62 regulator-max-microvolt = <1800000>;
63 regulator-name = "vcc1v8_s3";
64 vin-supply = <&vcc_1v8>;
67 vcc3v0_sd: vcc3v0-sd {
68 compatible = "regulator-fixed";
69 enable-active-high;
71 pinctrl-names = "default";
72 pinctrl-0 = <&sdmmc0_pwr_h>;
73 regulator-always-on;
74 regulator-min-microvolt = <3000000>;
75 regulator-max-microvolt = <3000000>;
76 regulator-name = "vcc3v0_sd";
77 vin-supply = <&vcc3v3_sys>;
84 vcca0v9_s3: vcca0v9-s3 {
85 compatible = "regulator-fixed";
86 regulator-min-microvolt = <900000>;
87 regulator-max-microvolt = <900000>;
88 regulator-name = "vcca0v9_s3";
89 vin-supply = <&vcc1v8_s3>;
93 vcca1v8_s3: vcca1v8-s3 {
94 compatible = "regulator-fixed";
95 regulator-min-microvolt = <1800000>;
96 regulator-max-microvolt = <1800000>;
97 regulator-name = "vcca1v8_s3";
98 vin-supply = <&vcc1v8_s3>;
101 vbus_typec: vbus-typec {
102 compatible = "regulator-fixed";
103 regulator-min-microvolt = <5000000>;
104 regulator-max-microvolt = <5000000>;
105 regulator-name = "vbus_typec";
108 gpio-keys {
109 compatible = "gpio-keys";
111 pinctrl-names = "default";
112 pinctrl-0 = <&power_key>;
114 key-power {
115 debounce-interval = <100>;
116 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
119 wakeup-source;
123 leds: gpio-leds {
124 compatible = "gpio-leds";
125 pinctrl-names = "default";
126 pinctrl-0 = <&status_led_pin>;
128 status_led: led-0 {
129 gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
131 linux,default-trigger = "heartbeat";
135 sdio_pwrseq: sdio-pwrseq {
136 compatible = "mmc-pwrseq-simple";
138 clock-names = "ext_clock";
139 pinctrl-names = "default";
140 pinctrl-0 = <&wifi_reg_on_h>;
141 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
146 cpu-supply = <&vdd_cpu_b>;
150 cpu-supply = <&vdd_cpu_b>;
154 cpu-supply = <&vdd_cpu_l>;
158 cpu-supply = <&vdd_cpu_l>;
162 cpu-supply = <&vdd_cpu_l>;
166 cpu-supply = <&vdd_cpu_l>;
170 rockchip,enable-strobe-pulldown;
175 assigned-clock-parents = <&clkin_gmac>;
176 assigned-clocks = <&cru SCLK_RMII_SRC>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&rgmii_pins>, <&phy_intb>, <&phy_rstb>;
180 phy-handle = <&rtl8211e>;
181 phy-mode = "rgmii";
182 phy-supply = <&vcc3v3_s3>;
188 compatible = "snps,dwmac-mdio";
189 #address-cells = <1>;
190 #size-cells = <0>;
192 rtl8211e: ethernet-phy@1 {
194 interrupt-parent = <&gpio3>;
196 reset-assert-us = <10000>;
197 reset-deassert-us = <30000>;
198 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
204 mali-supply = <&vdd_gpu>;
209 ddc-i2c-bus = <&i2c7>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&hdmi_cec>;
220 clock-frequency = <400000>;
221 i2c-scl-rising-time-ns = <160>;
222 i2c-scl-falling-time-ns = <30>;
228 fcs,suspend-voltage-selector = <1>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&cpu_b_sleep>;
231 regulator-always-on;
232 regulator-boot-on;
233 regulator-min-microvolt = <712500>;
234 regulator-max-microvolt = <1500000>;
235 regulator-name = "vdd_cpu_b";
236 regulator-ramp-delay = <1000>;
237 vin-supply = <&vcc3v3_sys>;
239 regulator-state-mem {
240 regulator-off-in-suspend;
247 fcs,suspend-voltage-selector = <1>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&gpu_sleep>;
250 regulator-always-on;
251 regulator-boot-on;
252 regulator-min-microvolt = <712500>;
253 regulator-max-microvolt = <1500000>;
254 regulator-name = "vdd_gpu";
255 regulator-ramp-delay = <1000>;
256 vin-supply = <&vcc3v3_sys>;
258 regulator-state-mem {
259 regulator-off-in-suspend;
266 clock-output-names = "xin32k", "rtc_clko_wifi";
267 #clock-cells = <1>;
268 interrupt-parent = <&gpio1>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&pmic_int_l>, <&ap_pwroff>, <&clk_32k>;
272 rockchip,system-power-controller;
273 wakeup-source;
275 vcc1-supply = <&vcc3v3_sys>;
276 vcc2-supply = <&vcc3v3_sys>;
277 vcc3-supply = <&vcc3v3_sys>;
278 vcc4-supply = <&vcc3v3_sys>;
279 vcc6-supply = <&vcc3v3_sys>;
280 vcc7-supply = <&vcc3v3_sys>;
281 vcc8-supply = <&vcc3v3_sys>;
282 vcc9-supply = <&vcc3v3_sys>;
283 vcc10-supply = <&vcc3v3_sys>;
284 vcc11-supply = <&vcc3v3_sys>;
285 vcc12-supply = <&vcc3v3_sys>;
286 vddio-supply = <&vcc_3v0>;
290 regulator-always-on;
291 regulator-boot-on;
292 regulator-min-microvolt = <750000>;
293 regulator-max-microvolt = <1350000>;
294 regulator-name = "vdd_center";
295 regulator-ramp-delay = <6001>;
297 regulator-state-mem {
298 regulator-off-in-suspend;
303 regulator-always-on;
304 regulator-boot-on;
305 regulator-min-microvolt = <750000>;
306 regulator-max-microvolt = <1350000>;
307 regulator-name = "vdd_cpu_l";
308 regulator-ramp-delay = <6001>;
310 regulator-state-mem {
311 regulator-off-in-suspend;
316 regulator-always-on;
317 regulator-boot-on;
318 regulator-name = "vcc_ddr";
320 regulator-state-mem {
321 regulator-on-in-suspend;
326 regulator-always-on;
327 regulator-boot-on;
328 regulator-min-microvolt = <1800000>;
329 regulator-max-microvolt = <1800000>;
330 regulator-name = "vcc_1v8";
332 regulator-state-mem {
333 regulator-on-in-suspend;
334 regulator-suspend-microvolt = <1800000>;
339 regulator-always-on;
340 regulator-boot-on;
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <1800000>;
343 regulator-name = "vcc1v8_cam";
345 regulator-state-mem {
346 regulator-off-in-suspend;
351 regulator-always-on;
352 regulator-boot-on;
353 regulator-min-microvolt = <3000000>;
354 regulator-max-microvolt = <3000000>;
355 regulator-name = "vcc3v0_touch";
357 regulator-state-mem {
358 regulator-off-in-suspend;
363 regulator-always-on;
364 regulator-boot-on;
365 regulator-min-microvolt = <1800000>;
366 regulator-max-microvolt = <1800000>;
367 regulator-name = "vcc1v8_pmupll";
369 regulator-state-mem {
370 regulator-on-in-suspend;
371 regulator-suspend-microvolt = <1800000>;
376 regulator-always-on;
377 regulator-boot-on;
378 regulator-min-microvolt = <1800000>;
379 regulator-max-microvolt = <3300000>;
380 regulator-name = "vcc_sdio";
382 regulator-state-mem {
383 regulator-on-in-suspend;
384 regulator-suspend-microvolt = <3000000>;
389 regulator-always-on;
390 regulator-boot-on;
391 regulator-min-microvolt = <3000000>;
392 regulator-max-microvolt = <3000000>;
393 regulator-name = "vcca3v0_codec";
395 regulator-state-mem {
396 regulator-off-in-suspend;
401 regulator-always-on;
402 regulator-boot-on;
403 regulator-min-microvolt = <1500000>;
404 regulator-max-microvolt = <1500000>;
405 regulator-name = "vcc_1v5";
407 regulator-state-mem {
408 regulator-on-in-suspend;
409 regulator-suspend-microvolt = <1500000>;
414 regulator-always-on;
415 regulator-boot-on;
416 regulator-min-microvolt = <1800000>;
417 regulator-max-microvolt = <1800000>;
418 regulator-name = "vcca1v8_codec";
420 regulator-state-mem {
421 regulator-off-in-suspend;
426 regulator-always-on;
427 regulator-boot-on;
428 regulator-min-microvolt = <3000000>;
429 regulator-max-microvolt = <3000000>;
430 regulator-name = "vcc_3v0";
432 regulator-state-mem {
433 regulator-on-in-suspend;
434 regulator-suspend-microvolt = <3000000>;
439 regulator-always-on;
440 regulator-boot-on;
441 regulator-name = "vcc3v3_s3";
443 regulator-state-mem {
444 regulator-off-in-suspend;
449 regulator-always-on;
450 regulator-boot-on;
451 regulator-name = "vcc3v3_s0";
453 regulator-state-mem {
454 regulator-off-in-suspend;
462 clock-frequency = <200000>;
463 i2c-scl-rising-time-ns = <150>;
464 i2c-scl-falling-time-ns = <30>;
473 clock-frequency = <400000>;
474 i2c-scl-rising-time-ns = <160>;
475 i2c-scl-falling-time-ns = <30>;
478 fusb0: typec-portc@22 {
481 interrupt-parent = <&gpio1>;
483 pinctrl-names = "default";
484 pinctrl-0 = <&fusb0_int>;
485 vbus-supply = <&vbus_typec>;
498 bt656-supply = <&vcc_1v8>;
499 audio-supply = <&vcca1v8_codec>;
500 sdmmc-supply = <&vcc_sdio>;
501 gpio1830-supply = <&vcc_3v0>;
506 assigned-clock-parents = <&cru SCLK_PCIEPHY_REF100M>;
507 assigned-clock-rates = <100000000>;
508 assigned-clocks = <&cru SCLK_PCIEPHY_REF>;
513 num-lanes = <2>;
514 vpcie0v9-supply = <&vcca0v9_s3>;
515 vpcie1v8-supply = <&vcca1v8_s3>;
521 fusb0_int: fusb0-int {
526 gpio-leds {
527 status_led_pin: status-led-pin {
533 phy_intb: phy-intb {
537 phy_rstb: phy-rstb {
543 cpu_b_sleep: cpu-b-sleep {
547 gpu_sleep: gpu-sleep {
551 pmic_int_l: pmic-int-l {
556 rockchip-key {
557 power_key: power-key {
563 bt_host_wake_l: bt-host-wake-l {
567 bt_reg_on_h: bt-reg-on-h {
572 bt_wake_l: bt-wake-l {
576 wifi_reg_on_h: wifi-reg_on-h {
582 sdmmc0_det_l: sdmmc0-det-l {
586 sdmmc0_pwr_h: sdmmc0-pwr-h {
593 pmu1830-supply = <&vcc_3v0>;
606 pinctrl-names = "active";
607 pinctrl-0 = <&pwm2_pin_pull_down>;
612 vref-supply = <&vcca1v8_s3>;
617 bus-width = <8>;
618 mmc-hs200-1_8v;
619 non-removable;
624 bus-width = <4>;
625 cap-sd-highspeed;
626 cap-sdio-irq;
627 keep-power-in-suspend;
628 mmc-pwrseq = <&sdio_pwrseq>;
629 non-removable;
630 pinctrl-names = "default";
631 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
632 sd-uhs-sdr104;
637 bus-width = <4>;
638 cap-sd-highspeed;
639 cap-mmc-highspeed;
640 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
641 disable-wp;
642 pinctrl-names = "default";
643 pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd &sdmmc0_det_l>;
644 sd-uhs-sdr104;
645 vmmc-supply = <&vcc3v0_sd>;
646 vqmmc-supply = <&vcc_sdio>;
660 rockchip,hw-tshut-mode = <1>;
661 /* tshut polarity 0:LOW 1:HIGH */
662 rockchip,hw-tshut-polarity = <1>;
691 pinctrl-names = "default";
692 pinctrl-0 = <&uart0_xfer &uart0_rts &uart0_cts>;
696 compatible = "brcm,bcm43438-bt";
698 clock-names = "lpo";
699 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
700 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
701 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
702 max-speed = <4000000>;
703 pinctrl-names = "default";
704 pinctrl-0 = <&bt_reg_on_h &bt_host_wake_l &bt_wake_l>;
705 vbat-supply = <&vcc3v3_sys>;
706 vddio-supply = <&vcc_1v8>;