Lines Matching +full:mode +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/linux-event-codes.h>
10 #include <dt-bindings/leds/common.h>
11 #include <dt-bindings/phy/phy-imx8-pcie.h>
17 compatible = "gw,imx8mm-gw7903", "fsl,imx8mm";
25 stdout-path = &uart2;
33 gpio-keys {
34 compatible = "gpio-keys";
36 key-user-pb {
38 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
42 key-user-pb1x {
45 interrupt-parent = <&gsc>;
49 key-erased {
52 interrupt-parent = <&gsc>;
56 key-eeprom-wp {
59 interrupt-parent = <&gsc>;
63 switch-hold {
66 interrupt-parent = <&gsc>;
71 led-controller {
72 compatible = "gpio-leds";
73 pinctrl-names = "default";
74 pinctrl-0 = <&pinctrl_gpio_leds>;
76 led-0 {
80 gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
81 default-state = "off";
84 led-1 {
88 gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
89 default-state = "off";
92 led-2 {
96 gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;
97 default-state = "off";
100 led-3 {
104 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
105 default-state = "off";
108 led-4 {
112 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
113 default-state = "off";
116 led-5 {
120 gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;
121 default-state = "off";
124 led-6 {
128 gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>;
129 default-state = "off";
132 led-7 {
136 gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
137 default-state = "off";
140 led-8 {
144 gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
145 default-state = "off";
148 led-9 {
152 gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>;
153 default-state = "off";
156 led-a {
160 gpios = <&gpio5 4 GPIO_ACTIVE_HIGH>;
161 default-state = "off";
164 led-b {
168 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
169 default-state = "off";
173 pcie0_refclk: pcie0-refclk {
174 compatible = "fixed-clock";
175 #clock-cells = <0>;
176 clock-frequency = <100000000>;
179 reg_3p3v: regulator-3p3v {
180 compatible = "regulator-fixed";
181 regulator-name = "3P3V";
182 regulator-min-microvolt = <3300000>;
183 regulator-max-microvolt = <3300000>;
184 regulator-always-on;
189 cpu-supply = <&buck2>;
193 cpu-supply = <&buck2>;
197 cpu-supply = <&buck2>;
201 cpu-supply = <&buck2>;
205 operating-points-v2 = <&ddrc_opp_table>;
207 ddrc_opp_table: opp-table {
208 compatible = "operating-points-v2";
210 opp-25000000 {
211 opp-hz = /bits/ 64 <25000000>;
214 opp-100000000 {
215 opp-hz = /bits/ 64 <100000000>;
218 opp-750000000 {
219 opp-hz = /bits/ 64 <750000000>;
225 pinctrl-names = "default";
226 pinctrl-0 = <&pinctrl_fec1>;
227 phy-mode = "rgmii-id";
228 phy-handle = <&ethphy0>;
229 local-mac-address = [00 00 00 00 00 00];
233 #address-cells = <1>;
234 #size-cells = <0>;
236 ethphy0: ethernet-phy@0 {
237 compatible = "ethernet-phy-ieee802.3-c22";
239 rx-internal-delay-ps = <2000>;
240 tx-internal-delay-ps = <2500>;
246 gpio-line-names = "", "", "", "", "", "", "", "",
253 gpio-line-names = "dig2_in", "dig2_out#", "dig2_ctl", "", "", "", "dig1_ctl", "",
260 gpio-line-names = "", "", "", "", "", "", "", "sim1_det#",
267 clock-frequency = <100000>;
268 pinctrl-names = "default", "gpio";
269 pinctrl-0 = <&pinctrl_i2c1>;
270 pinctrl-1 = <&pinctrl_i2c1_gpio>;
271 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
272 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
278 pinctrl-0 = <&pinctrl_gsc>;
279 interrupt-parent = <&gpio4>;
281 interrupt-controller;
282 #interrupt-cells = <1>;
285 compatible = "gw,gsc-adc";
286 #address-cells = <1>;
287 #size-cells = <0>;
290 gw,mode = <0>;
296 gw,mode = <3>;
302 gw,mode = <2>;
305 gw,voltage-divider-ohms = <22100 1000>;
306 gw,voltage-offset-microvolt = <700000>;
310 gw,mode = <2>;
313 gw,voltage-divider-ohms = <10000 10000>;
317 gw,mode = <2>;
320 gw,voltage-divider-ohms = <10000 10000>;
324 gw,mode = <2>;
330 gw,mode = <2>;
336 gw,mode = <2>;
342 gw,mode = <2>;
348 gw,mode = <2>;
354 gw,mode = <2>;
357 gw,voltage-divider-ohms = <10000 10000>;
365 gpio-controller;
366 #gpio-cells = <2>;
367 interrupt-parent = <&gsc>;
402 clock-frequency = <400000>;
403 pinctrl-names = "default", "gpio";
404 pinctrl-0 = <&pinctrl_i2c2>;
405 pinctrl-1 = <&pinctrl_i2c2_gpio>;
406 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
407 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
413 pinctrl-names = "default";
414 pinctrl-0 = <&pinctrl_pmic>;
415 interrupt-parent = <&gpio3>;
417 rohm,reset-snvs-powered;
418 #clock-cells = <0>;
420 clock-output-names = "clk-32k-out";
423 /* vdd_soc: 0.805-0.900V (typ=0.8V) */
425 regulator-name = "buck1";
426 regulator-min-microvolt = <700000>;
427 regulator-max-microvolt = <1300000>;
428 regulator-boot-on;
429 regulator-always-on;
430 regulator-ramp-delay = <1250>;
433 /* vdd_arm: 0.805-1.0V (typ=0.9V) */
435 regulator-name = "buck2";
436 regulator-min-microvolt = <700000>;
437 regulator-max-microvolt = <1300000>;
438 regulator-boot-on;
439 regulator-always-on;
440 regulator-ramp-delay = <1250>;
441 rohm,dvs-run-voltage = <1000000>;
442 rohm,dvs-idle-voltage = <900000>;
445 /* vdd_0p9: 0.805-1.0V (typ=0.9V) */
447 regulator-name = "buck3";
448 regulator-min-microvolt = <700000>;
449 regulator-max-microvolt = <1350000>;
450 regulator-boot-on;
451 regulator-always-on;
456 regulator-name = "buck4";
457 regulator-min-microvolt = <3000000>;
458 regulator-max-microvolt = <3300000>;
459 regulator-boot-on;
460 regulator-always-on;
465 regulator-name = "buck5";
466 regulator-min-microvolt = <1605000>;
467 regulator-max-microvolt = <1995000>;
468 regulator-boot-on;
469 regulator-always-on;
474 regulator-name = "buck6";
475 regulator-min-microvolt = <800000>;
476 regulator-max-microvolt = <1400000>;
477 regulator-boot-on;
478 regulator-always-on;
483 regulator-name = "ldo1";
484 regulator-min-microvolt = <1600000>;
485 regulator-max-microvolt = <1900000>;
486 regulator-boot-on;
487 regulator-always-on;
492 regulator-name = "ldo2";
493 regulator-min-microvolt = <800000>;
494 regulator-max-microvolt = <900000>;
495 regulator-boot-on;
496 regulator-always-on;
501 regulator-name = "ldo3";
502 regulator-min-microvolt = <1800000>;
503 regulator-max-microvolt = <3300000>;
504 regulator-boot-on;
505 regulator-always-on;
509 regulator-name = "ldo4";
510 regulator-min-microvolt = <900000>;
511 regulator-max-microvolt = <1800000>;
512 regulator-boot-on;
513 regulator-always-on;
517 regulator-name = "ldo6";
518 regulator-min-microvolt = <900000>;
519 regulator-max-microvolt = <1800000>;
520 regulator-boot-on;
521 regulator-always-on;
528 clock-frequency = <400000>;
529 pinctrl-names = "default", "gpio";
530 pinctrl-0 = <&pinctrl_i2c3>;
531 pinctrl-1 = <&pinctrl_i2c3_gpio>;
532 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
533 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
537 pinctrl-names = "default";
538 pinctrl-0 = <&pinctrl_accel>;
541 st,drdy-int-pin = <1>;
542 interrupt-parent = <&gpio1>;
544 interrupt-names = "INT1";
549 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
550 fsl,clkreq-unsupported;
552 clock-names = "ref";
557 pinctrl-names = "default";
558 pinctrl-0 = <&pinctrl_pcie0>;
559 reset-gpio = <&gpio5 11 GPIO_ACTIVE_LOW>;
562 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
564 assigned-clock-rates = <10000000>, <250000000>;
565 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
578 /* off-board RS232/RS485/RS422 */
580 pinctrl-names = "default";
581 pinctrl-0 = <&pinctrl_uart1>;
582 cts-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
583 rts-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
584 dtr-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
585 dsr-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
586 dcd-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
592 pinctrl-names = "default";
593 pinctrl-0 = <&pinctrl_uart2>;
599 disable-over-current;
605 pinctrl-names = "default", "state_100mhz", "state_200mhz";
606 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
607 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
608 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
609 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
610 bus-width = <4>;
611 vmmc-supply = <&reg_3p3v>;
617 pinctrl-names = "default", "state_100mhz", "state_200mhz";
618 pinctrl-0 = <&pinctrl_usdhc3>;
619 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
620 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
621 bus-width = <8>;
622 non-removable;
627 pinctrl-names = "default";
628 pinctrl-0 = <&pinctrl_wdog>;
629 fsl,ext-reset-output;
634 pinctrl-names = "default";
635 pinctrl-0 = <&pinctrl_hog>;
789 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
800 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
811 pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
834 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
850 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {