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-25M {
193 opp-hz = /bits/ 64 <25000000>;
196 opp-100M {
197 opp-hz = /bits/ 64 <100000000>;
200 opp-750M {
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";
301 pinctrl-0 = <&pinctrl_i2c1>;
304 gsc: gsc@20 { label
305 compatible = "gw,gsc";
307 pinctrl-0 = <&pinctrl_gsc>;
308 interrupt-parent = <&gpio2>;
310 interrupt-controller;
311 #interrupt-cells = <1>;
313 adc {
314 compatible = "gw,gsc-adc";
315 #address-cells = <1>;
316 #size-cells = <0>;
334 gw,voltage-divider-ohms = <22100 1000>;
335 gw,voltage-offset-microvolt = <700000>;
342 gw,voltage-divider-ohms = <10000 10000>;
349 gw,voltage-divider-ohms = <10000 10000>;
392 gw,voltage-divider-ohms = <10000 10000>;
399 gw,voltage-divider-ohms = <10000 10000>;
406 gw,voltage-divider-ohms = <10000 10000>;
414 gpio-controller;
415 #gpio-cells = <2>;
416 interrupt-parent = <&gsc>;
423 pinctrl-names = "default";
424 pinctrl-0 = <&pinctrl_pmic>;
425 interrupt-parent = <&gpio3>;
427 rohm,reset-snvs-powered;
428 #clock-cells = <0>;
430 clock-output-names = "clk-32k-out";
433 /* vdd_soc: 0.805-0.900V (typ=0.8V) */
435 regulator-name = "buck1";
436 regulator-min-microvolt = <700000>;
437 regulator-max-microvolt = <1300000>;
438 regulator-boot-on;
439 regulator-always-on;
440 regulator-ramp-delay = <1250>;
443 /* vdd_arm: 0.805-1.0V (typ=0.9V) */
445 regulator-name = "buck2";
446 regulator-min-microvolt = <700000>;
447 regulator-max-microvolt = <1300000>;
448 regulator-boot-on;
449 regulator-always-on;
450 regulator-ramp-delay = <1250>;
451 rohm,dvs-run-voltage = <1000000>;
452 rohm,dvs-idle-voltage = <900000>;
455 /* vdd_0p9: 0.805-1.0V (typ=0.9V) */
457 regulator-name = "buck3";
458 regulator-min-microvolt = <700000>;
459 regulator-max-microvolt = <1350000>;
460 regulator-boot-on;
461 regulator-always-on;
466 regulator-name = "buck4";
467 regulator-min-microvolt = <3000000>;
468 regulator-max-microvolt = <3300000>;
469 regulator-boot-on;
470 regulator-always-on;
475 regulator-name = "buck5";
476 regulator-min-microvolt = <1605000>;
477 regulator-max-microvolt = <1995000>;
478 regulator-boot-on;
479 regulator-always-on;
484 regulator-name = "buck6";
485 regulator-min-microvolt = <800000>;
486 regulator-max-microvolt = <1400000>;
487 regulator-boot-on;
488 regulator-always-on;
493 regulator-name = "ldo1";
494 regulator-min-microvolt = <1600000>;
495 regulator-max-microvolt = <1900000>;
496 regulator-boot-on;
497 regulator-always-on;
502 regulator-name = "ldo2";
503 regulator-min-microvolt = <800000>;
504 regulator-max-microvolt = <900000>;
505 regulator-boot-on;
506 regulator-always-on;
511 regulator-name = "ldo3";
512 regulator-min-microvolt = <1800000>;
513 regulator-max-microvolt = <3300000>;
514 regulator-boot-on;
515 regulator-always-on;
519 regulator-name = "ldo4";
520 regulator-min-microvolt = <900000>;
521 regulator-max-microvolt = <1800000>;
522 regulator-boot-on;
523 regulator-always-on;
527 regulator-name = "ldo6";
528 regulator-min-microvolt = <900000>;
529 regulator-max-microvolt = <1800000>;
530 regulator-boot-on;
531 regulator-always-on;
567 clock-frequency = <400000>;
568 pinctrl-names = "default";
569 pinctrl-0 = <&pinctrl_i2c2>;
574 pinctrl-names = "default";
575 pinctrl-0 = <&pinctrl_accel>;
577 st,drdy-int-pin = <1>;
578 interrupt-parent = <&gpio1>;
580 interrupt-names = "INT1";
584 /* off-board header */
586 clock-frequency = <400000>;
587 pinctrl-names = "default";
588 pinctrl-0 = <&pinctrl_i2c3>;
592 /* off-board header */
594 clock-frequency = <400000>;
595 pinctrl-names = "default";
596 pinctrl-0 = <&pinctrl_i2c4>;
604 /* off-board header */
606 pinctrl-names = "default";
607 pinctrl-0 = <&pinctrl_sai3>;
608 assigned-clocks = <&clk IMX8MN_CLK_SAI3>;
609 assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
610 assigned-clock-rates = <24576000>;
616 pinctrl-names = "default";
617 pinctrl-0 = <&pinctrl_uart1>, <&pinctrl_uart1_gpio>;
623 pinctrl-names = "default";
624 pinctrl-0 = <&pinctrl_uart2>;
630 pinctrl-names = "default";
631 pinctrl-0 = <&pinctrl_uart3>, <&pinctrl_uart3_gpio>;
632 rts-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
633 cts-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
634 uart-has-rtscts;
638 compatible = "brcm,bcm4330-bt";
639 shutdown-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
645 pinctrl-names = "default";
646 pinctrl-0 = <&pinctrl_uart4>;
652 vbus-supply = <®_usb1_vbus>;
653 disable-over-current;
659 pinctrl-names = "default";
660 pinctrl-0 = <&pinctrl_usdhc2>;
661 bus-width = <4>;
662 non-removable;
663 vmmc-supply = <®_wifi>;
669 pinctrl-names = "default", "state_100mhz", "state_200mhz";
670 pinctrl-0 = <&pinctrl_usdhc3>;
671 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
672 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
673 bus-width = <8>;
674 non-removable;
679 pinctrl-names = "default";
680 pinctrl-0 = <&pinctrl_wdog>;
681 fsl,ext-reset-output;
686 pinctrl-names = "default";
687 pinctrl-0 = <&pinctrl_hog>;
903 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
919 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {