Lines Matching +full:gsc +full:- +full:adc
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/net/ti-dp83867.h>
17 compatible = "gw,imx8mn-gw7902", "fsl,imx8mn";
24 stdout-path = &uart2;
33 compatible = "fixed-clock";
34 #clock-cells = <0>;
35 clock-frequency = <20000000>;
36 clock-output-names = "can20m";
39 gpio-keys {
40 compatible = "gpio-keys";
42 key-user-pb {
48 key-user-pb1x {
51 interrupt-parent = <&gsc>;
55 key-erased {
58 interrupt-parent = <&gsc>;
62 key-eeprom-wp {
65 interrupt-parent = <&gsc>;
69 key-tamper {
72 interrupt-parent = <&gsc>;
76 switch-hold {
79 interrupt-parent = <&gsc>;
84 led-controller {
85 compatible = "gpio-leds";
86 pinctrl-names = "default";
87 pinctrl-0 = <&pinctrl_gpio_leds>;
89 led-0 {
94 default-state = "off";
97 led-1 {
102 default-state = "off";
105 led-2 {
110 default-state = "off";
113 led-3 {
118 default-state = "off";
121 led-4 {
126 default-state = "off";
131 compatible = "pps-gpio";
132 pinctrl-names = "default";
133 pinctrl-0 = <&pinctrl_pps>;
138 reg_3p3v: regulator-3p3v {
139 compatible = "regulator-fixed";
140 regulator-name = "3P3V";
141 regulator-min-microvolt = <3300000>;
142 regulator-max-microvolt = <3300000>;
143 regulator-always-on;
146 reg_usb1_vbus: regulator-usb1 {
147 compatible = "regulator-fixed";
148 pinctrl-names = "default";
149 pinctrl-0 = <&pinctrl_reg_usb1>;
150 regulator-name = "usb_usb1_vbus";
152 enable-active-high;
153 regulator-min-microvolt = <5000000>;
154 regulator-max-microvolt = <5000000>;
157 reg_wifi: regulator-wifi {
158 compatible = "regulator-fixed";
159 pinctrl-names = "default";
160 pinctrl-0 = <&pinctrl_reg_wl>;
161 regulator-name = "wifi";
163 enable-active-high;
164 startup-delay-us = <100>;
165 regulator-min-microvolt = <3300000>;
166 regulator-max-microvolt = <3300000>;
171 cpu-supply = <&buck2>;
175 cpu-supply = <&buck2>;
179 cpu-supply = <&buck2>;
183 cpu-supply = <&buck2>;
187 operating-points-v2 = <&ddrc_opp_table>;
189 ddrc_opp_table: opp-table {
190 compatible = "operating-points-v2";
192 opp-25000000 {
193 opp-hz = /bits/ 64 <25000000>;
196 opp-100000000 {
197 opp-hz = /bits/ 64 <100000000>;
200 opp-750000000 {
201 opp-hz = /bits/ 64 <750000000>;
207 pinctrl-names = "default";
208 pinctrl-0 = <&pinctrl_spi1>;
209 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
216 interrupt-parent = <&gpio2>;
218 spi-max-frequency = <10000000>;
226 /* off-board header */
228 pinctrl-names = "default";
229 pinctrl-0 = <&pinctrl_spi2>;
230 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
235 pinctrl-names = "default";
236 pinctrl-0 = <&pinctrl_fec1>;
237 phy-mode = "rgmii-id";
238 phy-handle = <ðphy0>;
239 local-mac-address = [00 00 00 00 00 00];
243 #address-cells = <1>;
244 #size-cells = <0>;
246 ethphy0: ethernet-phy@0 {
247 compatible = "ethernet-phy-ieee802.3-c22";
249 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
250 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
251 tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
252 rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
258 gpio-line-names = "", "", "", "", "", "", "", "",
265 gpio-line-names = "", "", "", "", "", "", "", "",
272 gpio-line-names = "", "m2_gdis#", "", "", "", "", "", "m2_off#",
279 gpio-line-names = "", "", "", "", "", "", "", "",
287 gpio-line-names = "", "", "", "mipi_gpio4",
299 clock-frequency = <100000>;
300 pinctrl-names = "default", "gpio";
301 pinctrl-0 = <&pinctrl_i2c1>;
302 pinctrl-1 = <&pinctrl_i2c1_gpio>;
303 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
304 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
307 gsc: gsc@20 { label
308 compatible = "gw,gsc";
310 pinctrl-0 = <&pinctrl_gsc>;
311 interrupt-parent = <&gpio2>;
313 interrupt-controller;
314 #interrupt-cells = <1>;
316 adc {
317 compatible = "gw,gsc-adc";
318 #address-cells = <1>;
319 #size-cells = <0>;
337 gw,voltage-divider-ohms = <22100 1000>;
338 gw,voltage-offset-microvolt = <700000>;
345 gw,voltage-divider-ohms = <10000 10000>;
352 gw,voltage-divider-ohms = <10000 10000>;
395 gw,voltage-divider-ohms = <10000 10000>;
402 gw,voltage-divider-ohms = <10000 10000>;
409 gw,voltage-divider-ohms = <10000 10000>;
417 gpio-controller;
418 #gpio-cells = <2>;
419 interrupt-parent = <&gsc>;
426 pinctrl-names = "default";
427 pinctrl-0 = <&pinctrl_pmic>;
428 interrupt-parent = <&gpio3>;
430 rohm,reset-snvs-powered;
431 #clock-cells = <0>;
433 clock-output-names = "clk-32k-out";
436 /* vdd_soc: 0.805-0.900V (typ=0.8V) */
438 regulator-name = "buck1";
439 regulator-min-microvolt = <700000>;
440 regulator-max-microvolt = <1300000>;
441 regulator-boot-on;
442 regulator-always-on;
443 regulator-ramp-delay = <1250>;
446 /* vdd_arm: 0.805-1.0V (typ=0.9V) */
448 regulator-name = "buck2";
449 regulator-min-microvolt = <700000>;
450 regulator-max-microvolt = <1300000>;
451 regulator-boot-on;
452 regulator-always-on;
453 regulator-ramp-delay = <1250>;
454 rohm,dvs-run-voltage = <1000000>;
455 rohm,dvs-idle-voltage = <900000>;
458 /* vdd_0p9: 0.805-1.0V (typ=0.9V) */
460 regulator-name = "buck3";
461 regulator-min-microvolt = <700000>;
462 regulator-max-microvolt = <1350000>;
463 regulator-boot-on;
464 regulator-always-on;
469 regulator-name = "buck4";
470 regulator-min-microvolt = <3000000>;
471 regulator-max-microvolt = <3300000>;
472 regulator-boot-on;
473 regulator-always-on;
478 regulator-name = "buck5";
479 regulator-min-microvolt = <1605000>;
480 regulator-max-microvolt = <1995000>;
481 regulator-boot-on;
482 regulator-always-on;
487 regulator-name = "buck6";
488 regulator-min-microvolt = <800000>;
489 regulator-max-microvolt = <1400000>;
490 regulator-boot-on;
491 regulator-always-on;
496 regulator-name = "ldo1";
497 regulator-min-microvolt = <1600000>;
498 regulator-max-microvolt = <1900000>;
499 regulator-boot-on;
500 regulator-always-on;
505 regulator-name = "ldo2";
506 regulator-min-microvolt = <800000>;
507 regulator-max-microvolt = <900000>;
508 regulator-boot-on;
509 regulator-always-on;
514 regulator-name = "ldo3";
515 regulator-min-microvolt = <1800000>;
516 regulator-max-microvolt = <3300000>;
517 regulator-boot-on;
518 regulator-always-on;
522 regulator-name = "ldo4";
523 regulator-min-microvolt = <900000>;
524 regulator-max-microvolt = <1800000>;
525 regulator-boot-on;
526 regulator-always-on;
530 regulator-name = "ldo6";
531 regulator-min-microvolt = <900000>;
532 regulator-max-microvolt = <1800000>;
533 regulator-boot-on;
534 regulator-always-on;
570 clock-frequency = <400000>;
571 pinctrl-names = "default", "gpio";
572 pinctrl-0 = <&pinctrl_i2c2>;
573 pinctrl-1 = <&pinctrl_i2c2_gpio>;
574 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
575 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
580 pinctrl-names = "default";
581 pinctrl-0 = <&pinctrl_accel>;
583 st,drdy-int-pin = <1>;
584 interrupt-parent = <&gpio1>;
586 interrupt-names = "INT1";
590 /* off-board header */
592 clock-frequency = <400000>;
593 pinctrl-names = "default", "gpio";
594 pinctrl-0 = <&pinctrl_i2c3>;
595 pinctrl-1 = <&pinctrl_i2c3_gpio>;
596 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
597 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
601 /* off-board header */
603 clock-frequency = <400000>;
604 pinctrl-names = "default", "gpio";
605 pinctrl-0 = <&pinctrl_i2c4>;
606 pinctrl-1 = <&pinctrl_i2c4_gpio>;
607 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
608 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
616 /* off-board header */
618 pinctrl-names = "default";
619 pinctrl-0 = <&pinctrl_sai3>;
620 assigned-clocks = <&clk IMX8MN_CLK_SAI3>;
621 assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
622 assigned-clock-rates = <24576000>;
628 pinctrl-names = "default";
629 pinctrl-0 = <&pinctrl_uart1>, <&pinctrl_uart1_gpio>;
635 pinctrl-names = "default";
636 pinctrl-0 = <&pinctrl_uart2>;
642 pinctrl-names = "default";
643 pinctrl-0 = <&pinctrl_uart3>, <&pinctrl_uart3_gpio>;
644 rts-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
645 cts-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
649 compatible = "brcm,bcm4330-bt";
650 shutdown-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
656 pinctrl-names = "default";
657 pinctrl-0 = <&pinctrl_uart4>;
663 vbus-supply = <®_usb1_vbus>;
664 disable-over-current;
670 pinctrl-names = "default", "state_100mhz", "state_200mhz";
671 pinctrl-0 = <&pinctrl_usdhc2>;
672 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
673 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
674 bus-width = <4>;
675 non-removable;
676 vmmc-supply = <®_wifi>;
677 #address-cells = <1>;
678 #size-cells = <0>;
682 compatible = "brcm,bcm43455-fmac", "brcm,bcm4329-fmac";
689 pinctrl-names = "default", "state_100mhz", "state_200mhz";
690 pinctrl-0 = <&pinctrl_usdhc3>;
691 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
692 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
693 bus-width = <8>;
694 non-removable;
699 pinctrl-names = "default";
700 pinctrl-0 = <&pinctrl_wdog>;
701 fsl,ext-reset-output;
706 pinctrl-names = "default";
707 pinctrl-0 = <&pinctrl_hog>;
935 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
946 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
973 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
989 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {