Lines Matching +full:function +full:- +full:off

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 {
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 {
72 function = LED_FUNCTION_STATUS;
76 default-state = "off";
79 led-1 {
80 function = LED_FUNCTION_STATUS;
84 default-state = "off";
87 led-2 {
88 function = LED_FUNCTION_STATUS;
92 default-state = "off";
95 led-3 {
96 function = LED_FUNCTION_STATUS;
100 default-state = "off";
103 led-4 {
104 function = LED_FUNCTION_STATUS;
108 default-state = "off";
111 led-5 {
112 function = LED_FUNCTION_STATUS;
116 default-state = "off";
119 led-6 {
120 function = LED_FUNCTION_STATUS;
124 default-state = "off";
127 led-7 {
128 function = LED_FUNCTION_STATUS;
132 default-state = "off";
135 led-8 {
136 function = LED_FUNCTION_STATUS;
140 default-state = "off";
143 led-9 {
144 function = LED_FUNCTION_STATUS;
148 default-state = "off";
151 led-10 {
152 function = LED_FUNCTION_STATUS;
156 default-state = "off";
159 led-11 {
160 function = LED_FUNCTION_STATUS;
164 default-state = "off";
167 led-12 {
168 function = LED_FUNCTION_STATUS;
172 default-state = "off";
175 led-13 {
176 function = LED_FUNCTION_STATUS;
180 default-state = "off";
183 led-14 {
184 function = LED_FUNCTION_STATUS;
188 default-state = "off";
191 led-15 {
192 function = LED_FUNCTION_STATUS;
196 default-state = "off";
199 led-16 {
200 function = LED_FUNCTION_STATUS;
204 default-state = "off";
207 led-17 {
208 function = LED_FUNCTION_STATUS;
212 default-state = "off";
215 led-18 {
216 function = LED_FUNCTION_STATUS;
220 default-state = "off";
223 led-19 {
224 function = LED_FUNCTION_STATUS;
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 = <&ethphy0>;
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>;
333 #address-cells = <1>;
334 #size-cells = <0>;
337 compatible = "gw,gsc-adc";
338 #address-cells = <1>;
339 #size-cells = <0>;
351 gw,voltage-divider-ohms = <22100 1000>;
352 gw,voltage-offset-microvolt = <700000>;
359 gw,voltage-divider-ohms = <10000 10000>;
366 gw,voltage-divider-ohms = <10000 10000>;
403 gw,voltage-divider-ohms = <10000 10000>;
411 gpio-controller;
412 #gpio-cells = <2>;
413 interrupt-parent = <&gsc>;
448 clock-frequency = <400000>;
449 pinctrl-names = "default", "gpio";
450 pinctrl-0 = <&pinctrl_i2c2>;
451 pinctrl-1 = <&pinctrl_i2c2_gpio>;
452 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
453 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&pinctrl_pmic>;
461 interrupt-parent = <&gpio3>;
463 rohm,reset-snvs-powered;
464 #clock-cells = <0>;
466 clock-output-names = "clk-32k-out";
469 /* vdd_soc: 0.805-0.900V (typ=0.8V) */
471 regulator-name = "buck1";
472 regulator-min-microvolt = <700000>;
473 regulator-max-microvolt = <1300000>;
474 regulator-boot-on;
475 regulator-always-on;
476 regulator-ramp-delay = <1250>;
479 /* vdd_arm: 0.805-1.0V (typ=0.9V) */
481 regulator-name = "buck2";
482 regulator-min-microvolt = <700000>;
483 regulator-max-microvolt = <1300000>;
484 regulator-boot-on;
485 regulator-always-on;
486 regulator-ramp-delay = <1250>;
487 rohm,dvs-run-voltage = <1000000>;
488 rohm,dvs-idle-voltage = <900000>;
491 /* vdd_0p9: 0.805-1.0V (typ=0.9V) */
493 regulator-name = "buck3";
494 regulator-min-microvolt = <700000>;
495 regulator-max-microvolt = <1350000>;
496 regulator-boot-on;
497 regulator-always-on;
502 regulator-name = "buck4";
503 regulator-min-microvolt = <3000000>;
504 regulator-max-microvolt = <3300000>;
505 regulator-boot-on;
506 regulator-always-on;
511 regulator-name = "buck5";
512 regulator-min-microvolt = <1605000>;
513 regulator-max-microvolt = <1995000>;
514 regulator-boot-on;
515 regulator-always-on;
520 regulator-name = "buck6";
521 regulator-min-microvolt = <800000>;
522 regulator-max-microvolt = <1400000>;
523 regulator-boot-on;
524 regulator-always-on;
529 regulator-name = "ldo1";
530 regulator-min-microvolt = <1600000>;
531 regulator-max-microvolt = <1900000>;
532 regulator-boot-on;
533 regulator-always-on;
538 regulator-name = "ldo2";
539 regulator-min-microvolt = <800000>;
540 regulator-max-microvolt = <900000>;
541 regulator-boot-on;
542 regulator-always-on;
547 regulator-name = "ldo3";
548 regulator-min-microvolt = <1800000>;
549 regulator-max-microvolt = <3300000>;
550 regulator-boot-on;
551 regulator-always-on;
555 regulator-name = "ldo4";
556 regulator-min-microvolt = <900000>;
557 regulator-max-microvolt = <1800000>;
558 regulator-boot-on;
559 regulator-always-on;
563 regulator-name = "ldo6";
564 regulator-min-microvolt = <900000>;
565 regulator-max-microvolt = <1800000>;
566 regulator-boot-on;
567 regulator-always-on;
574 clock-frequency = <400000>;
575 pinctrl-names = "default", "gpio";
576 pinctrl-0 = <&pinctrl_i2c3>;
577 pinctrl-1 = <&pinctrl_i2c3_gpio>;
578 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
579 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
583 pinctrl-names = "default";
584 pinctrl-0 = <&pinctrl_accel>;
587 st,drdy-int-pin = <1>;
588 interrupt-parent = <&gpio1>;
594 clock-frequency = <400000>;
595 pinctrl-names = "default", "gpio";
596 pinctrl-0 = <&pinctrl_i2c4>;
597 pinctrl-1 = <&pinctrl_i2c4_gpio>;
598 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
599 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
605 gpio-controller;
606 #gpio-cells = <2>;
611 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
612 fsl,clkreq-unsupported;
614 clock-names = "ref";
619 pinctrl-names = "default";
620 pinctrl-0 = <&pinctrl_pcie0>;
621 reset-gpio = <&gpio5 11 GPIO_ACTIVE_LOW>;
624 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
626 assigned-clock-rates = <10000000>, <250000000>;
627 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
640 /* off-board RS232 */
642 pinctrl-names = "default";
643 pinctrl-0 = <&pinctrl_uart1>;
644 cts-gpios = <&gpio5 26 GPIO_ACTIVE_LOW>;
645 rts-gpios = <&gpio5 27 GPIO_ACTIVE_LOW>;
651 pinctrl-names = "default";
652 pinctrl-0 = <&pinctrl_uart2>;
658 disable-over-current;
664 pinctrl-names = "default", "state_100mhz", "state_200mhz";
665 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
666 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
667 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
668 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
669 bus-width = <4>;
670 vmmc-supply = <&reg_3p3v>;
676 pinctrl-names = "default", "state_100mhz", "state_200mhz";
677 pinctrl-0 = <&pinctrl_usdhc3>;
678 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
679 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
680 bus-width = <8>;
681 non-removable;
686 pinctrl-names = "default";
687 pinctrl-0 = <&pinctrl_wdog>;
688 fsl,ext-reset-output;
693 pinctrl-names = "default";
694 pinctrl-0 = <&pinctrl_hog>;
840 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
851 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
862 pinctrl_usdhc2_gpio: usdhc2-gpiogrp {
885 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
901 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {