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 = "gateworks,imx8mm-gw7904", "fsl,imx8mm";
20 stdout-path = &uart2;
28 gpio-keys {
29 compatible = "gpio-keys";
31 key-0 {
33 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
37 key-1 {
40 interrupt-parent = <&gsc>;
44 key-2 {
47 interrupt-parent = <&gsc>;
51 key-3 {
54 interrupt-parent = <&gsc>;
58 key-4 {
61 interrupt-parent = <&gsc>;
66 led-controller {
67 compatible = "gpio-leds";
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_gpio_leds>;
71 led-0 {
75 gpios = <&gpioled 0 GPIO_ACTIVE_LOW>;
76 default-state = "off";
79 led-1 {
83 gpios = <&gpioled 1 GPIO_ACTIVE_LOW>;
84 default-state = "off";
87 led-2 {
91 gpios = <&gpioled 2 GPIO_ACTIVE_LOW>;
92 default-state = "off";
95 led-3 {
99 gpios = <&gpioled 3 GPIO_ACTIVE_LOW>;
100 default-state = "off";
103 led-4 {
107 gpios = <&gpioled 4 GPIO_ACTIVE_LOW>;
108 default-state = "off";
111 led-5 {
115 gpios = <&gpioled 5 GPIO_ACTIVE_LOW>;
116 default-state = "off";
119 led-6 {
123 gpios = <&gpioled 6 GPIO_ACTIVE_LOW>;
124 default-state = "off";
127 led-7 {
131 gpios = <&gpioled 7 GPIO_ACTIVE_LOW>;
132 default-state = "off";
135 led-8 {
139 gpios = <&gpioled 8 GPIO_ACTIVE_LOW>;
140 default-state = "off";
143 led-9 {
147 gpios = <&gpioled 9 GPIO_ACTIVE_LOW>;
148 default-state = "off";
151 led-10 {
155 gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
156 default-state = "off";
159 led-11 {
163 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
164 default-state = "off";
167 led-12 {
171 gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
172 default-state = "off";
175 led-13 {
179 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
180 default-state = "off";
183 led-14 {
187 gpios = <&gpioled 10 GPIO_ACTIVE_LOW>;
188 default-state = "off";
191 led-15 {
195 gpios = <&gpioled 11 GPIO_ACTIVE_LOW>;
196 default-state = "off";
199 led-16 {
203 gpios = <&gpioled 12 GPIO_ACTIVE_LOW>;
204 default-state = "off";
207 led-17 {
211 gpios = <&gpioled 13 GPIO_ACTIVE_LOW>;
212 default-state = "off";
215 led-18 {
219 gpios = <&gpioled 14 GPIO_ACTIVE_LOW>;
220 default-state = "off";
223 led-19 {
227 gpios = <&gpioled 15 GPIO_ACTIVE_LOW>;
228 default-state = "off";
232 pcie0_refclk: pcie0-refclk {
233 compatible = "fixed-clock";
234 #clock-cells = <0>;
235 clock-frequency = <100000000>;
238 reg_3p3v: regulator-3p3v {
239 compatible = "regulator-fixed";
240 regulator-name = "3P3V";
241 regulator-min-microvolt = <3300000>;
242 regulator-max-microvolt = <3300000>;
243 regulator-always-on;
248 cpu-supply = <&buck2>;
252 cpu-supply = <&buck2>;
256 cpu-supply = <&buck2>;
260 cpu-supply = <&buck2>;
264 operating-points-v2 = <&ddrc_opp_table>;
266 ddrc_opp_table: opp-table {
267 compatible = "operating-points-v2";
269 opp-25000000 {
270 opp-hz = /bits/ 64 <25000000>;
273 opp-100000000 {
274 opp-hz = /bits/ 64 <100000000>;
277 opp-750000000 {
278 opp-hz = /bits/ 64 <750000000>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_fec1>;
286 phy-mode = "rgmii-id";
287 phy-handle = <ðphy0>;
288 local-mac-address = [00 00 00 00 00 00];
292 #address-cells = <1>;
293 #size-cells = <0>;
295 ethphy0: ethernet-phy@0 {
296 compatible = "ethernet-phy-ieee802.3-c22";
303 gpio-line-names = "", "", "", "", "", "", "", "",
310 gpio-line-names = "", "", "", "", "", "", "", "",
317 clock-frequency = <100000>;
318 pinctrl-names = "default", "gpio";
319 pinctrl-0 = <&pinctrl_i2c1>;
320 pinctrl-1 = <&pinctrl_i2c1_gpio>;
321 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
322 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
328 pinctrl-0 = <&pinctrl_gsc>;
329 interrupt-parent = <&gpio4>;
331 interrupt-controller;
332 #interrupt-cells = <1>;
335 compatible = "gw,gsc-adc";
336 #address-cells = <1>;
337 #size-cells = <0>;
340 gw,mode = <0>;
346 gw,mode = <2>;
349 gw,voltage-divider-ohms = <22100 1000>;
350 gw,voltage-offset-microvolt = <700000>;
354 gw,mode = <2>;
357 gw,voltage-divider-ohms = <10000 10000>;
361 gw,mode = <2>;
364 gw,voltage-divider-ohms = <10000 10000>;
368 gw,mode = <2>;
374 gw,mode = <2>;
380 gw,mode = <2>;
386 gw,mode = <2>;
392 gw,mode = <2>;
398 gw,mode = <2>;
401 gw,voltage-divider-ohms = <10000 10000>;
409 gpio-controller;
410 #gpio-cells = <2>;
411 interrupt-parent = <&gsc>;
446 clock-frequency = <400000>;
447 pinctrl-names = "default", "gpio";
448 pinctrl-0 = <&pinctrl_i2c2>;
449 pinctrl-1 = <&pinctrl_i2c2_gpio>;
450 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
451 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
457 pinctrl-names = "default";
458 pinctrl-0 = <&pinctrl_pmic>;
459 interrupt-parent = <&gpio3>;
461 rohm,reset-snvs-powered;
462 #clock-cells = <0>;
464 clock-output-names = "clk-32k-out";
467 /* vdd_soc: 0.805-0.900V (typ=0.8V) */
469 regulator-name = "buck1";
470 regulator-min-microvolt = <700000>;
471 regulator-max-microvolt = <1300000>;
472 regulator-boot-on;
473 regulator-always-on;
474 regulator-ramp-delay = <1250>;
477 /* vdd_arm: 0.805-1.0V (typ=0.9V) */
479 regulator-name = "buck2";
480 regulator-min-microvolt = <700000>;
481 regulator-max-microvolt = <1300000>;
482 regulator-boot-on;
483 regulator-always-on;
484 regulator-ramp-delay = <1250>;
485 rohm,dvs-run-voltage = <1000000>;
486 rohm,dvs-idle-voltage = <900000>;
489 /* vdd_0p9: 0.805-1.0V (typ=0.9V) */
491 regulator-name = "buck3";
492 regulator-min-microvolt = <700000>;
493 regulator-max-microvolt = <1350000>;
494 regulator-boot-on;
495 regulator-always-on;
500 regulator-name = "buck4";
501 regulator-min-microvolt = <3000000>;
502 regulator-max-microvolt = <3300000>;
503 regulator-boot-on;
504 regulator-always-on;
509 regulator-name = "buck5";
510 regulator-min-microvolt = <1605000>;
511 regulator-max-microvolt = <1995000>;
512 regulator-boot-on;
513 regulator-always-on;
518 regulator-name = "buck6";
519 regulator-min-microvolt = <800000>;
520 regulator-max-microvolt = <1400000>;
521 regulator-boot-on;
522 regulator-always-on;
527 regulator-name = "ldo1";
528 regulator-min-microvolt = <1600000>;
529 regulator-max-microvolt = <1900000>;
530 regulator-boot-on;
531 regulator-always-on;
536 regulator-name = "ldo2";
537 regulator-min-microvolt = <800000>;
538 regulator-max-microvolt = <900000>;
539 regulator-boot-on;
540 regulator-always-on;
545 regulator-name = "ldo3";
546 regulator-min-microvolt = <1800000>;
547 regulator-max-microvolt = <3300000>;
548 regulator-boot-on;
549 regulator-always-on;
553 regulator-name = "ldo4";
554 regulator-min-microvolt = <900000>;
555 regulator-max-microvolt = <1800000>;
556 regulator-boot-on;
557 regulator-always-on;
561 regulator-name = "ldo6";
562 regulator-min-microvolt = <900000>;
563 regulator-max-microvolt = <1800000>;
564 regulator-boot-on;
565 regulator-always-on;
572 clock-frequency = <400000>;
573 pinctrl-names = "default", "gpio";
574 pinctrl-0 = <&pinctrl_i2c3>;
575 pinctrl-1 = <&pinctrl_i2c3_gpio>;
576 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
577 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
581 pinctrl-names = "default";
582 pinctrl-0 = <&pinctrl_accel>;
585 st,drdy-int-pin = <1>;
586 interrupt-parent = <&gpio1>;
588 interrupt-names = "INT1";
593 clock-frequency = <400000>;
594 pinctrl-names = "default", "gpio";
595 pinctrl-0 = <&pinctrl_i2c4>;
596 pinctrl-1 = <&pinctrl_i2c4_gpio>;
597 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
598 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
604 gpio-controller;
605 #gpio-cells = <2>;
610 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
611 fsl,clkreq-unsupported;
613 clock-names = "ref";
618 pinctrl-names = "default";
619 pinctrl-0 = <&pinctrl_pcie0>;
620 reset-gpio = <&gpio5 11 GPIO_ACTIVE_LOW>;
623 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
625 assigned-clock-rates = <10000000>, <250000000>;
626 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
639 /* off-board RS232 */
641 pinctrl-names = "default";
642 pinctrl-0 = <&pinctrl_uart1>;
643 cts-gpios = <&gpio5 26 GPIO_ACTIVE_LOW>;
644 rts-gpios = <&gpio5 27 GPIO_ACTIVE_LOW>;
650 pinctrl-names = "default";
651 pinctrl-0 = <&pinctrl_uart2>;
657 disable-over-current;
663 pinctrl-names = "default", "state_100mhz", "state_200mhz";
664 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
665 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
666 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
667 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
668 bus-width = <4>;
669 vmmc-supply = <®_3p3v>;
675 pinctrl-names = "default", "state_100mhz", "state_200mhz";
676 pinctrl-0 = <&pinctrl_usdhc3>;
677 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
678 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
679 bus-width = <8>;
680 non-removable;
685 pinctrl-names = "default";
686 pinctrl-0 = <&pinctrl_wdog>;
687 fsl,ext-reset-output;
692 pinctrl-names = "default";
693 pinctrl-0 = <&pinctrl_hog>;
839 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
850 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
861 pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
884 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
900 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {