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

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/pwm/pwm.h>
10 #include "rk3399-opp.dtsi"
13 model = "Firefly-RK3399 Board";
14 compatible = "firefly,firefly-rk3399", "rockchip,rk3399";
17 stdout-path = "serial2:1500000n8";
21 compatible = "pwm-backlight";
22 enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
24 brightness-levels = <
57 default-brightness-level = <200>;
60 clkin_gmac: external-gmac-clock {
61 compatible = "fixed-clock";
62 clock-frequency = <125000000>;
63 clock-output-names = "clkin_gmac";
64 #clock-cells = <0>;
67 dc_12v: dc-12v {
68 compatible = "regulator-fixed";
69 regulator-name = "dc_12v";
70 regulator-always-on;
71 regulator-boot-on;
72 regulator-min-microvolt = <12000000>;
73 regulator-max-microvolt = <12000000>;
76 gpio-keys {
77 compatible = "gpio-keys";
79 pinctrl-names = "default";
80 pinctrl-0 = <&pwrbtn>;
83 debounce-interval = <100>;
87 wakeup-source;
92 compatible = "gpio-leds";
93 pinctrl-names = "default";
94 pinctrl-0 = <&work_led_pin>, <&diy_led_pin>;
96 work_led: led-0 {
98 default-state = "on";
102 diy_led: led-1 {
104 default-state = "off";
109 rt5640-sound {
110 compatible = "simple-audio-card";
111 simple-audio-card,name = "rockchip,rt5640-codec";
112 simple-audio-card,format = "i2s";
113 simple-audio-card,mclk-fs = <256>;
114 simple-audio-card,widgets =
117 simple-audio-card,routing =
123 simple-audio-card,cpu {
124 sound-dai = <&i2s1>;
127 simple-audio-card,codec {
128 sound-dai = <&rt5640>;
132 sdio_pwrseq: sdio-pwrseq {
133 compatible = "mmc-pwrseq-simple";
135 clock-names = "ext_clock";
136 pinctrl-names = "default";
137 pinctrl-0 = <&wifi_enable_h>;
142 * - SDIO_RESET_L_WL_REG_ON
143 * - PDN (power down when low)
145 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
149 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
150 compatible = "regulator-fixed";
151 regulator-name = "vcc1v8_s3";
152 regulator-always-on;
153 regulator-boot-on;
154 regulator-min-microvolt = <1800000>;
155 regulator-max-microvolt = <1800000>;
156 vin-supply = <&vcc_1v8>;
159 vcc3v3_pcie: vcc3v3-pcie-regulator {
160 compatible = "regulator-fixed";
161 enable-active-high;
163 pinctrl-names = "default";
164 pinctrl-0 = <&pcie_pwr_en>;
165 regulator-name = "vcc3v3_pcie";
166 regulator-always-on;
167 regulator-boot-on;
168 vin-supply = <&dc_12v>;
171 vcc3v3_sys: vcc3v3-sys {
172 compatible = "regulator-fixed";
173 regulator-name = "vcc3v3_sys";
174 regulator-always-on;
175 regulator-boot-on;
176 regulator-min-microvolt = <3300000>;
177 regulator-max-microvolt = <3300000>;
178 vin-supply = <&vcc_sys>;
182 vcc5v0_host: vcc5v0-host-regulator {
183 compatible = "regulator-fixed";
184 enable-active-high;
186 pinctrl-names = "default";
187 pinctrl-0 = <&vcc5v0_host_en>;
188 regulator-name = "vcc5v0_host";
189 regulator-always-on;
190 vin-supply = <&vcc_sys>;
193 vcc_sys: vcc-sys {
194 compatible = "regulator-fixed";
195 regulator-name = "vcc_sys";
196 regulator-always-on;
197 regulator-boot-on;
198 regulator-min-microvolt = <5000000>;
199 regulator-max-microvolt = <5000000>;
200 vin-supply = <&dc_12v>;
203 vdd_log: vdd-log {
204 compatible = "pwm-regulator";
206 regulator-name = "vdd_log";
207 regulator-always-on;
208 regulator-boot-on;
209 regulator-min-microvolt = <430000>;
210 regulator-max-microvolt = <1400000>;
211 vin-supply = <&vcc_sys>;
216 cpu-supply = <&vdd_cpu_l>;
220 cpu-supply = <&vdd_cpu_l>;
224 cpu-supply = <&vdd_cpu_l>;
228 cpu-supply = <&vdd_cpu_l>;
232 cpu-supply = <&vdd_cpu_b>;
236 cpu-supply = <&vdd_cpu_b>;
244 assigned-clocks = <&cru SCLK_RMII_SRC>;
245 assigned-clock-parents = <&clkin_gmac>;
247 phy-supply = <&vcc_lan>;
248 phy-mode = "rgmii";
249 pinctrl-names = "default";
250 pinctrl-0 = <&rgmii_pins>;
251 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
252 snps,reset-active-low;
253 snps,reset-delays-us = <0 10000 50000>;
260 ddc-i2c-bus = <&i2c3>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&hdmi_cec>;
267 clock-frequency = <400000>;
268 i2c-scl-rising-time-ns = <168>;
269 i2c-scl-falling-time-ns = <4>;
275 interrupt-parent = <&gpio1>;
277 #clock-cells = <1>;
278 clock-output-names = "xin32k", "rk808-clkout2";
279 pinctrl-names = "default";
280 pinctrl-0 = <&pmic_int_l>;
281 rockchip,system-power-controller;
282 wakeup-source;
284 vcc1-supply = <&vcc_sys>;
285 vcc2-supply = <&vcc_sys>;
286 vcc3-supply = <&vcc_sys>;
287 vcc4-supply = <&vcc_sys>;
288 vcc6-supply = <&vcc_sys>;
289 vcc7-supply = <&vcc_sys>;
290 vcc8-supply = <&vcc3v3_sys>;
291 vcc9-supply = <&vcc_sys>;
292 vcc10-supply = <&vcc_sys>;
293 vcc11-supply = <&vcc_sys>;
294 vcc12-supply = <&vcc3v3_sys>;
295 vddio-supply = <&vcc1v8_pmu>;
299 regulator-name = "vdd_center";
300 regulator-always-on;
301 regulator-boot-on;
302 regulator-min-microvolt = <750000>;
303 regulator-max-microvolt = <1350000>;
304 regulator-ramp-delay = <6001>;
305 regulator-state-mem {
306 regulator-off-in-suspend;
311 regulator-name = "vdd_cpu_l";
312 regulator-always-on;
313 regulator-boot-on;
314 regulator-min-microvolt = <750000>;
315 regulator-max-microvolt = <1350000>;
316 regulator-ramp-delay = <6001>;
317 regulator-state-mem {
318 regulator-off-in-suspend;
323 regulator-name = "vcc_ddr";
324 regulator-always-on;
325 regulator-boot-on;
326 regulator-state-mem {
327 regulator-on-in-suspend;
332 regulator-name = "vcc_1v8";
333 regulator-always-on;
334 regulator-boot-on;
335 regulator-min-microvolt = <1800000>;
336 regulator-max-microvolt = <1800000>;
337 regulator-state-mem {
338 regulator-on-in-suspend;
339 regulator-suspend-microvolt = <1800000>;
344 regulator-name = "vcc1v8_dvp";
345 regulator-always-on;
346 regulator-boot-on;
347 regulator-min-microvolt = <1800000>;
348 regulator-max-microvolt = <1800000>;
349 regulator-state-mem {
350 regulator-off-in-suspend;
355 regulator-name = "vcc2v8_dvp";
356 regulator-always-on;
357 regulator-boot-on;
358 regulator-min-microvolt = <2800000>;
359 regulator-max-microvolt = <2800000>;
360 regulator-state-mem {
361 regulator-off-in-suspend;
366 regulator-name = "vcc1v8_pmu";
367 regulator-always-on;
368 regulator-boot-on;
369 regulator-min-microvolt = <1800000>;
370 regulator-max-microvolt = <1800000>;
371 regulator-state-mem {
372 regulator-on-in-suspend;
373 regulator-suspend-microvolt = <1800000>;
378 regulator-name = "vcc_sdio";
379 regulator-always-on;
380 regulator-boot-on;
381 regulator-min-microvolt = <1800000>;
382 regulator-max-microvolt = <3000000>;
383 regulator-state-mem {
384 regulator-on-in-suspend;
385 regulator-suspend-microvolt = <3000000>;
390 regulator-name = "vcca3v0_codec";
391 regulator-always-on;
392 regulator-boot-on;
393 regulator-min-microvolt = <3000000>;
394 regulator-max-microvolt = <3000000>;
395 regulator-state-mem {
396 regulator-off-in-suspend;
401 regulator-name = "vcc_1v5";
402 regulator-always-on;
403 regulator-boot-on;
404 regulator-min-microvolt = <1500000>;
405 regulator-max-microvolt = <1500000>;
406 regulator-state-mem {
407 regulator-on-in-suspend;
408 regulator-suspend-microvolt = <1500000>;
413 regulator-name = "vcca1v8_codec";
414 regulator-always-on;
415 regulator-boot-on;
416 regulator-min-microvolt = <1800000>;
417 regulator-max-microvolt = <1800000>;
418 regulator-state-mem {
419 regulator-off-in-suspend;
424 regulator-name = "vcc_3v0";
425 regulator-always-on;
426 regulator-boot-on;
427 regulator-min-microvolt = <3000000>;
428 regulator-max-microvolt = <3000000>;
429 regulator-state-mem {
430 regulator-on-in-suspend;
431 regulator-suspend-microvolt = <3000000>;
436 regulator-name = "vcc3v3_s3";
437 regulator-always-on;
438 regulator-boot-on;
439 regulator-state-mem {
440 regulator-off-in-suspend;
445 regulator-name = "vcc3v3_s0";
446 regulator-always-on;
447 regulator-boot-on;
448 regulator-state-mem {
449 regulator-off-in-suspend;
458 fcs,suspend-voltage-selector = <0>;
459 regulator-name = "vdd_cpu_b";
460 regulator-min-microvolt = <712500>;
461 regulator-max-microvolt = <1500000>;
462 regulator-ramp-delay = <1000>;
463 regulator-always-on;
464 regulator-boot-on;
465 vin-supply = <&vcc_sys>;
467 regulator-state-mem {
468 regulator-off-in-suspend;
475 fcs,suspend-voltage-selector = <1>;
476 regulator-name = "vdd_gpu";
477 regulator-min-microvolt = <712500>;
478 regulator-max-microvolt = <1500000>;
479 regulator-ramp-delay = <1000>;
480 regulator-always-on;
481 regulator-boot-on;
482 vin-supply = <&vcc_sys>;
484 regulator-state-mem {
485 regulator-off-in-suspend;
491 i2c-scl-rising-time-ns = <300>;
492 i2c-scl-falling-time-ns = <15>;
499 clock-names = "mclk";
500 realtek,in1-differential;
501 #sound-dai-cells = <0>;
502 pinctrl-names = "default";
503 pinctrl-0 = <&rt5640_hpcon>;
508 i2c-scl-rising-time-ns = <450>;
509 i2c-scl-falling-time-ns = <15>;
514 i2c-scl-rising-time-ns = <600>;
515 i2c-scl-falling-time-ns = <20>;
521 interrupt-parent = <&gpio1>;
527 rockchip,playback-channels = <8>;
528 rockchip,capture-channels = <8>;
533 rockchip,playback-channels = <2>;
534 rockchip,capture-channels = <2>;
545 bt656-supply = <&vcc1v8_dvp>;
546 audio-supply = <&vcca1v8_codec>;
547 sdmmc-supply = <&vcc_sdio>;
548 gpio1830-supply = <&vcc_3v0>;
556 ep-gpios = <&gpio4 RK_PD1 GPIO_ACTIVE_HIGH>;
557 num-lanes = <4>;
558 pinctrl-names = "default";
559 pinctrl-0 = <&pcie_clkreqn_cpm>;
564 pmu1830-supply = <&vcc_3v0>;
575 lcd-panel {
576 lcd_panel_reset: lcd-panel-reset {
582 pcie_pwr_en: pcie-pwr-en {
586 pcie_3g_drv: pcie-3g-drv {
592 vsel1_pin: vsel1-pin {
596 vsel2_pin: vsel2-pin {
601 sdio-pwrseq {
602 wifi_enable_h: wifi-enable-h {
608 rt5640_hpcon: rt5640-hpcon {
614 pmic_int_l: pmic-int-l {
620 vcc5v0_host_en: vcc5v0-host-en {
626 wifi_host_wake_l: wifi-host-wake-l {
632 work_led_pin: work-led-pin {
636 diy_led_pin: diy-led-pin {
651 vref-supply = <&vcca1v8_s3>;
657 bus-width = <4>;
658 cap-sdio-irq;
659 cap-sd-highspeed;
660 keep-power-in-suspend;
661 mmc-pwrseq = <&sdio_pwrseq>;
662 non-removable;
663 pinctrl-names = "default";
664 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
665 sd-uhs-sdr104;
668 vqmmc-supply = &vcc1v8_s3; /* IO line */
669 vmmc-supply = &vcc_sdio; /* card's power */
671 #address-cells = <1>;
672 #size-cells = <0>;
677 compatible = "brcm,bcm4329-fmac";
678 interrupt-parent = <&gpio0>;
680 interrupt-names = "host-wake";
681 brcm,drive-strength = <5>;
682 pinctrl-names = "default";
683 pinctrl-0 = <&wifi_host_wake_l>;
688 bus-width = <4>;
689 cap-mmc-highspeed;
690 cap-sd-highspeed;
691 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
692 disable-wp;
693 max-frequency = <150000000>;
694 pinctrl-names = "default";
695 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
700 bus-width = <8>;
701 mmc-hs400-1_8v;
702 mmc-hs400-enhanced-strobe;
703 non-removable;
717 rockchip,hw-tshut-mode = <1>;
718 /* tshut polarity 0:LOW 1:HIGH */
719 rockchip,hw-tshut-polarity = <1>;
726 u2phy0_otg: otg-port {
730 u2phy0_host: host-port {
731 phy-supply = <&vcc5v0_host>;
739 u2phy1_otg: otg-port {
743 u2phy1_host: host-port {
744 phy-supply = <&vcc5v0_host>;
750 pinctrl-names = "default";
751 pinctrl-0 = <&uart0_xfer &uart0_cts>;