Lines Matching +full:gsc +full:- +full:fan
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,imx8mp-gw74xx", "fsl,imx8mp";
30 stdout-path = &uart2;
38 gpio-keys {
39 compatible = "gpio-keys";
41 key-0 {
47 key-1 {
50 interrupt-parent = <&gsc>;
54 key-2 {
57 interrupt-parent = <&gsc>;
61 key-3 {
64 interrupt-parent = <&gsc>;
68 key-4 {
71 interrupt-parent = <&gsc>;
75 key-5 {
78 interrupt-parent = <&gsc>;
83 led-controller {
84 compatible = "gpio-leds";
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_gpio_leds>;
88 led-0 {
92 default-state = "on";
93 linux,default-trigger = "heartbeat";
96 led-1 {
100 default-state = "off";
104 pcie0_refclk: pcie0-refclk {
105 compatible = "fixed-clock";
106 #clock-cells = <0>;
107 clock-frequency = <100000000>;
111 compatible = "pps-gpio";
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_pps>;
117 reg_usb2_vbus: regulator-usb2 {
118 pinctrl-names = "default";
119 pinctrl-0 = <&pinctrl_reg_usb2>;
120 compatible = "regulator-fixed";
121 regulator-name = "usb_usb2_vbus";
123 enable-active-high;
124 regulator-min-microvolt = <5000000>;
125 regulator-max-microvolt = <5000000>;
128 reg_can1_stby: regulator-can1-stby {
129 compatible = "regulator-fixed";
130 pinctrl-names = "default";
131 pinctrl-0 = <&pinctrl_reg_can1>;
132 regulator-name = "can1_stby";
134 regulator-min-microvolt = <3300000>;
135 regulator-max-microvolt = <3300000>;
138 reg_can2_stby: regulator-can2-stby {
139 compatible = "regulator-fixed";
140 pinctrl-names = "default";
141 pinctrl-0 = <&pinctrl_reg_can2>;
142 regulator-name = "can2_stby";
144 regulator-min-microvolt = <3300000>;
145 regulator-max-microvolt = <3300000>;
148 reg_wifi_en: regulator-wifi-en {
149 pinctrl-names = "default";
150 pinctrl-0 = <&pinctrl_reg_wifi>;
151 compatible = "regulator-fixed";
152 regulator-name = "wl";
154 startup-delay-us = <70000>;
155 enable-active-high;
156 regulator-min-microvolt = <3300000>;
157 regulator-max-microvolt = <3300000>;
162 cpu-supply = <®_arm>;
166 cpu-supply = <®_arm>;
170 cpu-supply = <®_arm>;
174 cpu-supply = <®_arm>;
178 pinctrl-names = "default";
179 pinctrl-0 = <&pinctrl_spi1>;
180 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
184 compatible = "tcg,tpm_tis-spi";
185 #address-cells = <0x1>;
186 #size-cells = <0x1>;
188 spi-max-frequency = <36000000>;
192 /* off-board header */
194 pinctrl-names = "default";
195 pinctrl-0 = <&pinctrl_spi2>;
196 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&pinctrl_eqos>;
203 phy-mode = "rgmii-id";
204 phy-handle = <ðphy0>;
208 compatible = "snps,dwmac-mdio";
209 #address-cells = <1>;
210 #size-cells = <0>;
212 ethphy0: ethernet-phy@0 {
213 compatible = "ethernet-phy-ieee802.3-c22";
220 pinctrl-names = "default";
221 pinctrl-0 = <&pinctrl_fec>;
222 phy-mode = "rgmii-id";
223 local-mac-address = [00 00 00 00 00 00];
226 fixed-link {
228 full-duplex;
233 pinctrl-names = "default";
234 pinctrl-0 = <&pinctrl_flexcan1>;
235 xceiver-supply = <®_can1_stby>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_flexcan2>;
242 xceiver-supply = <®_can2_stby>;
247 gpio-line-names =
255 gpio-line-names =
263 gpio-line-names =
271 gpio-line-names =
279 gpio-line-names =
287 clock-frequency = <100000>;
288 pinctrl-names = "default", "gpio";
289 pinctrl-0 = <&pinctrl_i2c1>;
290 pinctrl-1 = <&pinctrl_i2c1_gpio>;
291 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
292 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
295 gsc: gsc@20 { label
296 compatible = "gw,gsc";
298 pinctrl-0 = <&pinctrl_gsc>;
299 interrupt-parent = <&gpio4>;
301 interrupt-controller;
302 #interrupt-cells = <1>;
303 #address-cells = <1>;
304 #size-cells = <0>;
307 compatible = "gw,gsc-adc";
308 #address-cells = <1>;
309 #size-cells = <0>;
333 gw,voltage-divider-ohms = <10000 10000>;
340 gw,voltage-divider-ohms = <10000 10000>;
347 gw,voltage-divider-ohms = <22100 1000>;
354 gw,voltage-divider-ohms = <10000 10000>;
361 gw,voltage-divider-ohms = <10000 10000>;
398 gw,voltage-divider-ohms = <10000 10000>;
402 fan-controller@a {
403 compatible = "gw,gsc-fan";
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)>;
458 pinctrl-names = "default";
459 pinctrl-0 = <&pinctrl_accel>;
461 st,drdy-int-pin = <1>;
462 interrupt-parent = <&gpio1>;
464 interrupt-names = "INT1";
470 pinctrl-0 = <&pinctrl_ksz>;
471 interrupt-parent = <&gpio4>;
475 #address-cells = <1>;
476 #size-cells = <0>;
481 phy-mode = "internal";
482 local-mac-address = [00 00 00 00 00 00];
488 phy-mode = "internal";
489 local-mac-address = [00 00 00 00 00 00];
495 phy-mode = "internal";
496 local-mac-address = [00 00 00 00 00 00];
502 phy-mode = "internal";
503 local-mac-address = [00 00 00 00 00 00];
509 phy-mode = "internal";
510 local-mac-address = [00 00 00 00 00 00];
517 phy-mode = "rgmii-id";
519 fixed-link {
521 full-duplex;
529 clock-frequency = <400000>;
530 pinctrl-names = "default", "gpio";
531 pinctrl-0 = <&pinctrl_i2c3>;
532 pinctrl-1 = <&pinctrl_i2c3_gpio>;
533 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
534 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
540 pinctrl-names = "default";
541 pinctrl-0 = <&pinctrl_pmic>;
542 interrupt-parent = <&gpio3>;
547 regulator-name = "BUCK1";
548 regulator-min-microvolt = <720000>;
549 regulator-max-microvolt = <1000000>;
550 regulator-boot-on;
551 regulator-always-on;
552 regulator-ramp-delay = <3125>;
556 regulator-name = "BUCK2";
557 regulator-min-microvolt = <720000>;
558 regulator-max-microvolt = <1025000>;
559 regulator-boot-on;
560 regulator-always-on;
561 regulator-ramp-delay = <3125>;
562 nxp,dvs-run-voltage = <950000>;
563 nxp,dvs-standby-voltage = <850000>;
567 regulator-name = "BUCK4";
568 regulator-min-microvolt = <3000000>;
569 regulator-max-microvolt = <3600000>;
570 regulator-boot-on;
571 regulator-always-on;
575 regulator-name = "BUCK5";
576 regulator-min-microvolt = <1650000>;
577 regulator-max-microvolt = <1950000>;
578 regulator-boot-on;
579 regulator-always-on;
583 regulator-name = "BUCK6";
584 regulator-min-microvolt = <1045000>;
585 regulator-max-microvolt = <1155000>;
586 regulator-boot-on;
587 regulator-always-on;
591 regulator-name = "LDO1";
592 regulator-min-microvolt = <1650000>;
593 regulator-max-microvolt = <1950000>;
594 regulator-boot-on;
595 regulator-always-on;
599 regulator-name = "LDO3";
600 regulator-min-microvolt = <1710000>;
601 regulator-max-microvolt = <1890000>;
602 regulator-boot-on;
603 regulator-always-on;
607 regulator-name = "LDO5";
608 regulator-min-microvolt = <1800000>;
609 regulator-max-microvolt = <3300000>;
610 regulator-boot-on;
611 regulator-always-on;
617 /* off-board header */
619 clock-frequency = <400000>;
620 pinctrl-names = "default", "gpio";
621 pinctrl-0 = <&pinctrl_i2c4>;
622 pinctrl-1 = <&pinctrl_i2c4_gpio>;
623 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
624 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
629 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
630 fsl,clkreq-unsupported;
632 clock-names = "ref";
637 pinctrl-names = "default";
638 pinctrl-0 = <&pinctrl_pcie0>;
639 reset-gpio = <&gpio2 17 GPIO_ACTIVE_LOW>;
643 /* GPS / off-board header */
645 pinctrl-names = "default";
646 pinctrl-0 = <&pinctrl_uart1>;
652 pinctrl-names = "default";
653 pinctrl-0 = <&pinctrl_uart2>;
659 pinctrl-names = "default";
660 pinctrl-0 = <&pinctrl_uart3>, <&pinctrl_uart3_gpio>;
661 cts-gpios = <&gpio3 21 GPIO_ACTIVE_LOW>;
662 rts-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
666 compatible = "brcm,bcm4330-bt";
667 shutdown-gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
672 pinctrl-names = "default";
673 pinctrl-0 = <&pinctrl_uart4>;
677 /* USB1 - Type C front panel */
679 pinctrl-names = "default";
680 pinctrl-0 = <&pinctrl_usb1>;
681 fsl,over-current-active-low;
691 adp-disable;
692 hnp-disable;
693 srp-disable;
695 usb-role-switch;
696 role-switch-default-mode = "peripheral";
700 pinctrl-names = "default";
701 pinctrl-0 = <&pinctrl_usbcon1>;
702 compatible = "gpio-usb-b-connector", "usb-b-connector";
704 label = "Type-C";
705 id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
709 /* USB2 - USB3.0 Hub */
711 vbus-supply = <®_usb2_vbus>;
716 fsl,permanently-attached;
717 fsl,disable-port-power-control;
728 pinctrl-names = "default", "state_100mhz", "state_200mhz";
729 pinctrl-0 = <&pinctrl_usdhc1>;
730 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
731 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
732 bus-width = <4>;
733 non-removable;
734 vmmc-supply = <®_wifi_en>;
735 #address-cells = <1>;
736 #size-cells = <0>;
740 compatible = "cypress,cyw4373-fmac", "brcm,bcm4329-fmac";
747 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
748 assigned-clock-rates = <400000000>;
749 pinctrl-names = "default", "state_100mhz", "state_200mhz";
750 pinctrl-0 = <&pinctrl_usdhc3>;
751 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
752 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
753 bus-width = <8>;
754 non-removable;
759 pinctrl-names = "default";
760 pinctrl-0 = <&pinctrl_wdog>;
761 fsl,ext-reset-output;
766 pinctrl-names = "default";
767 pinctrl-0 = <&pinctrl_hog>;
1042 pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp {
1053 pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp {
1080 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
1096 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {