Lines Matching +full:drive +full:- +full:push +full:- +full:pull

1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) Ultratronik GmbH 2024-2025 - All Rights Reserved
6 /dts-v1/;
9 #include "stm32mp15-pinctrl.dtsi"
10 #include "stm32mp15xxac-pinctrl.dtsi"
11 #include <dt-bindings/pinctrl/stm32-pinfunc.h>
12 #include <dt-bindings/mfd/st,stpmic1.h>
13 #include <dt-bindings/gpio/gpio.h>
17 compatible = "ultratronik,stm32mp157c-ultra-fly-sbc", "st,stm32mp157";
28 stdout-path = "serial0:115200n8";
36 usb_otg_vbus: regulator-0 {
37 compatible = "regulator-fixed";
38 regulator-name = "usb_otg_vbus";
39 regulator-min-microvolt = <5000000>;
40 regulator-max-microvolt = <5000000>;
42 enable-active-high;
45 reserved-memory {
46 #address-cells = <1>;
47 #size-cells = <1>;
51 compatible = "shared-dma-pool";
53 no-map;
57 compatible = "shared-dma-pool";
59 no-map;
63 compatible = "shared-dma-pool";
65 no-map;
69 compatible = "shared-dma-pool";
71 no-map;
75 compatible = "shared-dma-pool";
77 no-map;
81 compatible = "shared-dma-pool";
83 no-map;
88 no-map;
93 compatible = "gpio-leds";
98 default-state = "off";
99 linux,default-trigger = "none";
105 default-state = "off";
111 default-state = "off";
117 default-state = "off";
121 gpio_keys: gpio-keys {
122 compatible = "gpio-keys";
124 key-1 {
127 wakeup-source;
131 key-2 {
134 wakeup-source;
141 pinctrl-names = "default";
142 pinctrl-0 = <&adc1_ux_ain_pins_a>;
143 vdd-supply = <&vdd>;
144 vdda-supply = <&vdd>;
145 vref-supply = <&vrefbuf>;
149 st,min-sample-time-nsecs = <5000>;
150 st,adc-channels = <0 1 6 13>; /* ANA0 ANA1 PF12 PC3 */
155 st,adc-channels = <0 1 12>; /* ANA0 ANA1 INT_TEMP*/
156 st,min-sample-time-nsecs = <10000>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&dac_ux_ch1_pins_a &dac_ux_ch2_pins_a>;
169 vref-supply = <&vrefbuf>;
182 compatible = "st,stm32-thermal";
188 pinctrl-0 = <&ethernet0_ux_rgmii_pins_a>;
189 pinctrl-1 = <&ethernet0_ux_rgmii_pins_sleep_a>;
190 pinctrl-names = "default", "sleep";
191 phy-mode = "rgmii-id";
192 phy-handle = <&phy1>;
195 #address-cells = <1>;
196 #size-cells = <0>;
197 compatible = "snps,dwmac-mdio";
198 phy1: ethernet-phy@1 {
205 gpio-line-names =
211 gpio-line-names =
217 gpio-line-names =
223 gpio-line-names =
229 gpio-line-names =
235 gpio-line-names =
241 gpio-line-names =
247 gpio-line-names =
253 gpio-line-names =
259 gpio-line-names =
265 gpio-line-names =
271 gpio-line-names =
281 pinctrl-names = "default", "sleep";
282 pinctrl-0 = <&i2c1_ux_pins_a>;
283 pinctrl-1 = <&i2c1_ux_pins_sleep_a>;
284 i2c-scl-rising-time-ns = <100>;
285 i2c-scl-falling-time-ns = <7>;
287 /delete-property/dmas;
288 /delete-property/dma-names;
293 epson,vdet-disable;
294 trickle-diode-disable;
299 pinctrl-names = "default", "sleep";
300 pinctrl-0 = <&i2c4_ux_pins_a>;
301 pinctrl-1 = <&i2c4_ux_pins_sleep_a>;
302 i2c-scl-rising-time-ns = <185>;
303 i2c-scl-falling-time-ns = <20>;
305 /delete-property/dmas;
306 /delete-property/dma-names;
311 interrupts-extended = <&exti 0 IRQ_TYPE_EDGE_FALLING>;
312 interrupt-controller;
313 #interrupt-cells = <2>;
316 compatible = "st,stpmic1-regulators";
318 ldo1-supply = <&v3v3>;
319 ldo3-supply = <&vdd_ddr>;
320 ldo6-supply = <&v3v3>;
321 pwr_sw1-supply = <&bst_out>;
322 pwr_sw2-supply = <&bst_out>;
325 regulator-name = "vddcore";
326 regulator-min-microvolt = <1250000>;
327 regulator-max-microvolt = <1350000>;
328 regulator-always-on;
329 regulator-initial-mode = <0>;
330 regulator-over-current-protection;
334 regulator-name = "vdd_ddr";
335 regulator-min-microvolt = <1350000>;
336 regulator-max-microvolt = <1350000>;
337 regulator-always-on;
338 regulator-initial-mode = <0>;
339 regulator-over-current-protection;
343 regulator-name = "vdd";
344 regulator-min-microvolt = <3300000>;
345 regulator-max-microvolt = <3300000>;
346 regulator-always-on;
347 st,mask-reset;
348 regulator-initial-mode = <0>;
349 regulator-over-current-protection;
353 regulator-name = "v3v3";
354 regulator-min-microvolt = <3300000>;
355 regulator-max-microvolt = <3300000>;
356 regulator-always-on;
357 regulator-over-current-protection;
358 regulator-initial-mode = <0>;
362 regulator-name = "vtt_ddr";
363 regulator-min-microvolt = <500000>;
364 regulator-max-microvolt = <750000>;
365 regulator-always-on;
366 regulator-over-current-protection;
370 regulator-name = "vdd_usb";
371 regulator-min-microvolt = <3300000>;
372 regulator-max-microvolt = <3300000>;
373 regulator-always-on;
378 regulator-name = "v1v8";
379 regulator-min-microvolt = <1600000>;/* offset +200 mv ??? */
380 regulator-max-microvolt = <1600000>;/* real 1800000 */
381 regulator-always-on;
386 regulator-name = "vref_ddr";
387 regulator-always-on;
391 regulator-name = "bst_out";
396 regulator-name = "vbus_otg";
398 regulator-active-discharge = <1>;
402 regulator-name = "vbus_sw";
404 regulator-active-discharge = <1>;
411 timeout-sec = <32>;
416 pinctrl-names = "default", "sleep";
417 pinctrl-0 = <&m_can2_ux_pins_a>;
418 pinctrl-1 = <&m_can2_ux_sleep_pins_a>;
424 adc1_ux_ain_pins_a: adc1-ux-ain-0 {
431 dac_ux_ch1_pins_a: dac-ux-ch1-0 {
437 dac_ux_ch2_pins_a: dac-ux-ch2-0 {
443 ethernet0_ux_rgmii_pins_a: rgmii-ux-0 {
452 bias-disable;
453 drive-push-pull;
454 slew-rate = <2>;
463 bias-disable;
467 bias-disable;
468 drive-push-pull;
469 slew-rate = <0>;
473 bias-disable;
474 drive-open-drain;
475 slew-rate = <0>;
479 ethernet0_ux_rgmii_pins_sleep_a: rgmii-ux-sleep-0 {
499 i2c1_ux_pins_a: i2c1-0 {
503 bias-disable;
504 drive-open-drain;
505 slew-rate = <0>;
509 i2c1_ux_pins_sleep_a: i2c1-1 {
516 m_can2_ux_pins_a: m-can2-ux-0 {
519 slew-rate = <0>;
520 drive-push-pull;
521 bias-disable;
526 bias-disable;
530 m_can2_ux_sleep_pins_a: m-can2-ux-sleep-0 {
536 pwm1_ux_pins_a: pwm1-0 {
540 bias-pull-down;
541 drive-push-pull;
542 slew-rate = <0>;
546 pwm1_ux_sleep_pins_a: pwm1-sleep-0 {
553 pwm4_ux_pins_a: pwm4-0 {
557 bias-disable;
561 pwm4_ux_sleep_pins_a: pwm4-sleep-0 {
568 pwm5_ux_pins_a: pwm5-0 {
571 bias-pull-down;
572 drive-push-pull;
573 slew-rate = <0>;
577 pwm5_ux_sleep_pins_a: pwm5-sleep-0 {
583 pwm17_ux_pins_a: pwm17-0 {
586 bias-pull-down;
587 drive-push-pull;
588 slew-rate = <0>;
592 pwm17_ux_sleep_pins_a: pwm17-sleep-0 {
598 qspi_bk1_ux_pins_a: qspi-bk1-ux-0 {
604 bias-disable;
605 drive-push-pull;
606 slew-rate = <1>;
611 bias-pull-up;
612 drive-push-pull;
613 slew-rate = <1>;
617 qspi_bk1_ux_sleep_pins_a: qspi-bk1-ux-sleep-0 {
627 qspi_clk_ux_pins_a: qspi-clk_ux-0 {
630 bias-disable;
631 drive-push-pull;
632 slew-rate = <3>;
636 qspi_clk_ux_sleep_pins_a: qspi-clk-ux-sleep-0 {
642 sai2a_ux_pins_a: sai2a-0 {
648 slew-rate = <0>;
649 drive-push-pull;
650 bias-disable;
654 sai2a_ux_sleep_pins_a: sai2a-1 {
663 sdmmc1_ux_b4_pins_a: sdmmc1-ux-b4-0 {
670 slew-rate = <1>;
671 drive-push-pull;
672 bias-disable;
676 slew-rate = <2>;
677 drive-push-pull;
678 bias-disable;
682 sdmmc1_ux_b4_od_pins_a: sdmmc1-b4-od-0 {
688 slew-rate = <1>;
689 drive-push-pull;
690 bias-disable;
694 slew-rate = <2>;
695 drive-push-pull;
696 bias-disable;
700 slew-rate = <1>;
701 drive-open-drain;
702 bias-disable;
706 sdmmc1_ux_b4_sleep_pins_a: sdmmc1-b4-sleep-0 {
717 sdmmc2_ux_b4_pins_a: sdmmc2-ux-b4-0 {
724 slew-rate = <1>;
725 drive-push-pull;
726 bias-pull-up;
730 slew-rate = <2>;
731 drive-push-pull;
732 bias-pull-up;
736 sdmmc2_ux_b4_od_pins_a: sdmmc2-ux-b4-od-0 {
742 slew-rate = <1>;
743 drive-push-pull;
744 bias-pull-up;
748 slew-rate = <2>;
749 drive-push-pull;
750 bias-pull-up;
754 slew-rate = <1>;
755 drive-open-drain;
756 bias-pull-up;
760 sdmmc2_ux_b4_sleep_pins_a: sdmmc2-ux-b4-sleep-0 {
771 sdmmc2_ux_d47_pins_a: sdmmc2-ux-d47-0 {
777 slew-rate = <1>;
778 drive-push-pull;
779 bias-pull-up;
783 sdmmc2_ux_d47_sleep_pins_a: sdmmc2-ux-d47-sleep-0 {
792 uart4_ux_pins_a: uart4-ux-0 {
795 bias-disable;
796 drive-push-pull;
797 slew-rate = <0>;
801 bias-disable;
805 uart4_ux_idle_pins_a: uart4-ux-idle-0 {
811 bias-disable;
815 uart4_ux_sleep_pins_a: uart4-ux-sleep-0 {
822 uart5_ux_pins_a: uart5-0 {
825 bias-disable;
826 drive-push-pull;
827 slew-rate = <0>;
831 bias-disable;
835 uart5_ux_idle_pins_a: uart5-idle-0 {
841 bias-disable;
845 uart5_ux_sleep_pins_a: uart5-sleep-0 {
852 uart7_ux_pins_a: uart7-0 {
855 bias-pull-up;
856 drive-push-pull;
857 slew-rate = <0>;
862 bias-pull-up;
869 uart7_ux_idle_pins_a: uart7-idle-0 {
876 bias-disable;
880 uart7_ux_sleep_pins_a: uart7-sleep-0 {
891 i2c4_ux_pins_a: i2c4-ux-0 {
895 bias-disable;
896 drive-open-drain;
897 slew-rate = <0>;
901 i2c4_ux_pins_sleep_a: i2c4-1 {
908 spi1_ux_pins_a: spi1-ux-0 {
912 bias-disable;
913 drive-push-pull;
914 slew-rate = <1>;
919 bias-disable;
923 spi1_ux_sleep_pins_a: spi1-ux-sleep-0 {
933 vdd-supply = <&vdd>;
934 vdd_3v3_usbfs-supply = <&vdd_usb>;
938 pinctrl-names = "default", "sleep";
939 pinctrl-0 = <&qspi_clk_ux_pins_a &qspi_bk1_ux_pins_a>;
940 pinctrl-1 = <&qspi_clk_ux_sleep_pins_a &qspi_bk1_ux_sleep_pins_a>;
942 #address-cells = <1>;
943 #size-cells = <0>;
947 compatible = "jedec,spi-nor";
949 spi-rx-bus-width = <4>;
950 spi-max-frequency = <133000000>;
951 #address-cells = <1>;
952 #size-cells = <1>;
957 pinctrl-names = "default", "opendrain", "sleep";
958 pinctrl-0 = <&sdmmc1_ux_b4_pins_a>;
959 pinctrl-1 = <&sdmmc1_ux_b4_od_pins_a>;
960 pinctrl-2 = <&sdmmc1_ux_b4_sleep_pins_a>;
961 broken-cd;
962 st,neg-edge;
963 bus-width = <4>;
964 vmmc-supply = <&v3v3>;
965 no-1-8-v;
970 pinctrl-names = "default", "opendrain", "sleep";
971 pinctrl-0 = <&sdmmc2_ux_b4_pins_a &sdmmc2_ux_d47_pins_a>;
972 pinctrl-1 = <&sdmmc2_ux_b4_od_pins_a &sdmmc2_ux_d47_pins_a>;
973 pinctrl-2 = <&sdmmc2_ux_b4_sleep_pins_a &sdmmc2_ux_d47_sleep_pins_a>;
974 non-removable;
975 no-sd;
976 no-sdio;
977 st,neg-edge;
978 bus-width = <8>;
979 vmmc-supply = <&v3v3>;
980 vqmmc-supply = <&v3v3>;
981 mmc-ddr-3_3v;
986 pinctrl-names = "default", "sleep";
987 pinctrl-0 = <&spi1_ux_pins_a>;
988 pinctrl-1 = <&spi1_ux_sleep_pins_a>;
990 cs-gpios = <&gpioi 8 0>, <&gpioi 11 0>, <&gpioz 3 0>;
993 #address-cells = <1>;
994 #size-cells = <1>;
995 compatible = "jedec,spi-nor";
996 spi-max-frequency = <20000000>;
1003 /delete-property/dmas;
1004 /delete-property/dma-names;
1008 pinctrl-0 = <&pwm1_ux_pins_a>;
1009 pinctrl-1 = <&pwm1_ux_sleep_pins_a>;
1010 pinctrl-names = "default", "sleep";
1021 dma-names = "ch3";
1025 pinctrl-0 = <&pwm4_ux_pins_a>;
1026 pinctrl-1 = <&pwm4_ux_sleep_pins_a>;
1027 pinctrl-names = "default", "sleep";
1033 /delete-property/dmas;
1034 /delete-property/dma-names;
1038 pinctrl-0 = <&pwm5_ux_pins_a>;
1039 pinctrl-1 = <&pwm5_ux_sleep_pins_a>;
1040 pinctrl-names = "default", "sleep";
1050 /delete-property/dmas;
1051 /delete-property/dma-names;
1055 pinctrl-0 = <&pwm17_ux_pins_a>;
1056 pinctrl-1 = <&pwm17_ux_sleep_pins_a>;
1057 pinctrl-names = "default", "sleep";
1067 /delete-property/dmas;
1068 /delete-property/dma-names;
1069 pinctrl-names = "default", "sleep", "idle", "no_console_suspend";
1070 pinctrl-0 = <&uart4_ux_pins_a>;
1071 pinctrl-1 = <&uart4_ux_sleep_pins_a>;
1072 pinctrl-2 = <&uart4_ux_idle_pins_a>;
1073 pinctrl-3 = <&uart4_ux_pins_a>;
1078 pinctrl-names = "default", "sleep", "idle";
1079 pinctrl-0 = <&uart5_ux_pins_a>;
1080 pinctrl-1 = <&uart5_ux_sleep_pins_a>;
1081 pinctrl-2 = <&uart5_ux_idle_pins_a>;
1086 /delete-property/dmas;
1087 /delete-property/dma-names;
1088 pinctrl-names = "default", "sleep", "idle";
1089 pinctrl-0 = <&uart7_ux_pins_a>;
1090 pinctrl-1 = <&uart7_ux_sleep_pins_a>;
1091 pinctrl-2 = <&uart7_ux_idle_pins_a>;
1102 phy-names = "usb";
1108 phy-names = "usb";
1114 phy-names = "usb2-phy";
1115 vbus-supply = <&usb_otg_vbus>;
1124 phy-supply = <&vdd_usb>;
1125 st,tune-hs-dc-level = <2>;
1126 st,enable-fs-rftime-tuning;
1127 st,enable-hs-rftime-reduction;
1128 st,trim-hs-current = <15>;
1129 st,trim-hs-impedance = <1>;
1130 st,tune-squelch-level = <3>;
1131 st,tune-hs-rx-offset = <2>;
1132 st,no-lsfs-sc;
1136 phy-supply = <&vdd_usb>;
1137 st,tune-hs-dc-level = <2>;
1138 st,enable-fs-rftime-tuning;
1139 st,enable-hs-rftime-reduction;
1140 st,trim-hs-current = <15>;
1141 st,trim-hs-impedance = <1>;
1142 st,tune-squelch-level = <3>;
1143 st,tune-hs-rx-offset = <2>;
1144 st,no-lsfs-sc;
1148 regulator-min-microvolt = <2500000>;
1149 regulator-max-microvolt = <2500000>;
1150 vdda-supply = <&vdd>;