Lines Matching +full:clk +full:- +full:internal +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/net/ti-dp83867.h>
12 #include <dt-bindings/phy/phy-imx8-pcie.h>
18 compatible = "gw,imx8mm-gw7902", "fsl,imx8mm";
27 stdout-path = &uart2;
36 compatible = "fixed-clock";
37 #clock-cells = <0>;
38 clock-frequency = <20000000>;
39 clock-output-names = "can20m";
42 gpio-keys {
43 compatible = "gpio-keys";
45 key-user-pb {
47 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
51 key-user-pb1x {
54 interrupt-parent = <&gsc>;
58 key-erased {
61 interrupt-parent = <&gsc>;
65 key-eeprom-wp {
68 interrupt-parent = <&gsc>;
72 key-tamper {
75 interrupt-parent = <&gsc>;
79 switch-hold {
82 interrupt-parent = <&gsc>;
87 led-controller {
88 compatible = "gpio-leds";
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_gpio_leds>;
92 led-0 {
96 gpios = <&gpio3 21 GPIO_ACTIVE_LOW>;
97 default-state = "off";
100 led-1 {
104 gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
105 default-state = "off";
108 led-2 {
112 gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
113 default-state = "off";
116 led-3 {
120 gpios = <&gpio3 20 GPIO_ACTIVE_LOW>;
121 default-state = "off";
124 led-4 {
128 gpios = <&gpio3 25 GPIO_ACTIVE_LOW>;
129 default-state = "off";
133 pcie0_refclk: pcie0-refclk {
134 compatible = "fixed-clock";
135 #clock-cells = <0>;
136 clock-frequency = <100000000>;
140 compatible = "pps-gpio";
141 pinctrl-names = "default";
142 pinctrl-0 = <&pinctrl_pps>;
143 gpios = <&gpio3 24 GPIO_ACTIVE_HIGH>;
147 reg_3p3v: regulator-3p3v {
148 compatible = "regulator-fixed";
149 regulator-name = "3P3V";
150 regulator-min-microvolt = <3300000>;
151 regulator-max-microvolt = <3300000>;
152 regulator-always-on;
155 reg_usb1_vbus: regulator-usb1 {
156 compatible = "regulator-fixed";
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_reg_usb1>;
159 regulator-name = "usb_usb1_vbus";
161 enable-active-high;
162 regulator-min-microvolt = <5000000>;
163 regulator-max-microvolt = <5000000>;
166 reg_wifi: regulator-wifi {
167 compatible = "regulator-fixed";
168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_reg_wl>;
170 regulator-name = "wifi";
172 enable-active-high;
173 startup-delay-us = <100>;
174 regulator-min-microvolt = <3300000>;
175 regulator-max-microvolt = <3300000>;
180 cpu-supply = <&buck2>;
184 cpu-supply = <&buck2>;
188 cpu-supply = <&buck2>;
192 cpu-supply = <&buck2>;
196 operating-points-v2 = <&ddrc_opp_table>;
198 ddrc_opp_table: opp-table {
199 compatible = "operating-points-v2";
201 opp-25000000 {
202 opp-hz = /bits/ 64 <25000000>;
205 opp-100000000 {
206 opp-hz = /bits/ 64 <100000000>;
209 opp-750000000 {
210 opp-hz = /bits/ 64 <750000000>;
216 pinctrl-names = "default";
217 pinctrl-0 = <&pinctrl_spi1>;
218 cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
225 interrupt-parent = <&gpio2>;
227 spi-max-frequency = <10000000>;
231 /* off-board header */
233 pinctrl-names = "default";
234 pinctrl-0 = <&pinctrl_spi2>;
235 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_fec1>;
242 phy-mode = "rgmii-id";
243 phy-handle = <ðphy0>;
244 local-mac-address = [00 00 00 00 00 00];
248 #address-cells = <1>;
249 #size-cells = <0>;
251 ethphy0: ethernet-phy@0 {
252 compatible = "ethernet-phy-ieee802.3-c22";
254 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
255 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
256 tx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
257 rx-fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
263 gpio-line-names = "", "", "", "", "", "", "", "",
270 gpio-line-names = "", "", "", "", "", "", "", "",
277 gpio-line-names = "", "m2_gdis#", "", "", "", "", "", "m2_off#",
284 gpio-line-names = "", "", "", "", "", "", "", "",
293 gpio-line-names = "", "", "", "mipi_gpio4",
301 clock-frequency = <100000>;
302 pinctrl-names = "default", "gpio";
303 pinctrl-0 = <&pinctrl_i2c1>;
304 pinctrl-1 = <&pinctrl_i2c1_gpio>;
305 scl-gpios = <&gpio5 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
306 sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
312 pinctrl-0 = <&pinctrl_gsc>;
313 interrupt-parent = <&gpio2>;
315 interrupt-controller;
316 #interrupt-cells = <1>;
319 compatible = "gw,gsc-adc";
320 #address-cells = <1>;
321 #size-cells = <0>;
339 gw,voltage-divider-ohms = <22100 1000>;
340 gw,voltage-offset-microvolt = <700000>;
347 gw,voltage-divider-ohms = <10000 10000>;
354 gw,voltage-divider-ohms = <10000 10000>;
397 gw,voltage-divider-ohms = <10000 10000>;
404 gw,voltage-divider-ohms = <10000 10000>;
411 gw,voltage-divider-ohms = <10000 10000>;
419 gpio-controller;
420 #gpio-cells = <2>;
421 interrupt-parent = <&gsc>;
428 pinctrl-names = "default";
429 pinctrl-0 = <&pinctrl_pmic>;
430 interrupt-parent = <&gpio3>;
432 rohm,reset-snvs-powered;
433 #clock-cells = <0>;
435 clock-output-names = "clk-32k-out";
438 /* vdd_soc: 0.805-0.900V (typ=0.8V) */
440 regulator-name = "buck1";
441 regulator-min-microvolt = <700000>;
442 regulator-max-microvolt = <1300000>;
443 regulator-boot-on;
444 regulator-always-on;
445 regulator-ramp-delay = <1250>;
448 /* vdd_arm: 0.805-1.0V (typ=0.9V) */
450 regulator-name = "buck2";
451 regulator-min-microvolt = <700000>;
452 regulator-max-microvolt = <1300000>;
453 regulator-boot-on;
454 regulator-always-on;
455 regulator-ramp-delay = <1250>;
456 rohm,dvs-run-voltage = <1000000>;
457 rohm,dvs-idle-voltage = <900000>;
460 /* vdd_0p9: 0.805-1.0V (typ=0.9V) */
462 regulator-name = "buck3";
463 regulator-min-microvolt = <700000>;
464 regulator-max-microvolt = <1350000>;
465 regulator-boot-on;
466 regulator-always-on;
471 regulator-name = "buck4";
472 regulator-min-microvolt = <3000000>;
473 regulator-max-microvolt = <3300000>;
474 regulator-boot-on;
475 regulator-always-on;
480 regulator-name = "buck5";
481 regulator-min-microvolt = <1605000>;
482 regulator-max-microvolt = <1995000>;
483 regulator-boot-on;
484 regulator-always-on;
489 regulator-name = "buck6";
490 regulator-min-microvolt = <800000>;
491 regulator-max-microvolt = <1400000>;
492 regulator-boot-on;
493 regulator-always-on;
498 regulator-name = "ldo1";
499 regulator-min-microvolt = <1600000>;
500 regulator-max-microvolt = <1900000>;
501 regulator-boot-on;
502 regulator-always-on;
507 regulator-name = "ldo2";
508 regulator-min-microvolt = <800000>;
509 regulator-max-microvolt = <900000>;
510 regulator-boot-on;
511 regulator-always-on;
516 regulator-name = "ldo3";
517 regulator-min-microvolt = <1800000>;
518 regulator-max-microvolt = <3300000>;
519 regulator-boot-on;
520 regulator-always-on;
524 regulator-name = "ldo4";
525 regulator-min-microvolt = <900000>;
526 regulator-max-microvolt = <1800000>;
527 regulator-boot-on;
528 regulator-always-on;
532 regulator-name = "ldo6";
533 regulator-min-microvolt = <900000>;
534 regulator-max-microvolt = <1800000>;
535 regulator-boot-on;
536 regulator-always-on;
572 clock-frequency = <400000>;
573 pinctrl-names = "default", "gpio";
574 pinctrl-0 = <&pinctrl_i2c2>;
575 pinctrl-1 = <&pinctrl_i2c2_gpio>;
576 scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
577 sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
582 pinctrl-names = "default";
583 pinctrl-0 = <&pinctrl_accel>;
585 st,drdy-int-pin = <1>;
586 interrupt-parent = <&gpio1>;
588 interrupt-names = "INT1";
592 /* off-board header */
594 clock-frequency = <400000>;
595 pinctrl-names = "default", "gpio";
596 pinctrl-0 = <&pinctrl_i2c3>;
597 pinctrl-1 = <&pinctrl_i2c3_gpio>;
598 scl-gpios = <&gpio5 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
599 sda-gpios = <&gpio5 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
603 /* off-board header */
605 clock-frequency = <400000>;
606 pinctrl-names = "default", "gpio";
607 pinctrl-0 = <&pinctrl_i2c4>;
608 pinctrl-1 = <&pinctrl_i2c4_gpio>;
609 scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
610 sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
615 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
616 fsl,clkreq-unsupported;
618 clock-names = "ref";
623 pinctrl-names = "default";
624 pinctrl-0 = <&pinctrl_pcie0>;
625 reset-gpio = <&gpio4 5 GPIO_ACTIVE_LOW>;
626 clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&pcie0_refclk>,
627 <&clk IMX8MM_CLK_PCIE1_AUX>;
628 assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
629 <&clk IMX8MM_CLK_PCIE1_CTRL>;
630 assigned-clock-rates = <10000000>, <250000000>;
631 assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>,
632 <&clk IMX8MM_SYS_PLL2_250M>;
637 #address-cells = <1>;
638 #size-cells = <0>;
642 #address-cells = <1>;
643 #size-cells = <0>;
645 local-mac-address = [00 00 00 00 00 00];
650 /* off-board header */
652 pinctrl-names = "default";
653 pinctrl-0 = <&pinctrl_sai3>;
654 assigned-clocks = <&clk IMX8MM_CLK_SAI3>;
655 assigned-clock-parents = <&clk IMX8MM_AUDIO_PLL1_OUT>;
656 assigned-clock-rates = <24576000>;
662 pinctrl-names = "default";
663 pinctrl-0 = <&pinctrl_uart1>, <&pinctrl_uart1_gpio>;
664 rts-gpios = <&gpio4 10 GPIO_ACTIVE_LOW>;
665 cts-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
671 pinctrl-names = "default";
672 pinctrl-0 = <&pinctrl_uart2>;
678 pinctrl-names = "default";
679 pinctrl-0 = <&pinctrl_uart3>, <&pinctrl_uart3_gpio>;
680 rts-gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
681 cts-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
685 compatible = "brcm,bcm4330-bt";
686 shutdown-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
692 pinctrl-names = "default";
693 pinctrl-0 = <&pinctrl_uart4>;
694 rts-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
695 cts-gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
696 dtr-gpios = <&gpio4 3 GPIO_ACTIVE_LOW>;
697 dsr-gpios = <&gpio4 4 GPIO_ACTIVE_LOW>;
698 dcd-gpios = <&gpio4 6 GPIO_ACTIVE_LOW>;
704 vbus-supply = <®_usb1_vbus>;
705 disable-over-current;
711 disable-over-current;
717 pinctrl-names = "default", "state_100mhz", "state_200mhz";
718 pinctrl-0 = <&pinctrl_usdhc2>;
719 pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
720 pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
721 bus-width = <4>;
722 non-removable;
723 vmmc-supply = <®_wifi>;
724 #address-cells = <1>;
725 #size-cells = <0>;
729 compatible = "brcm,bcm43455-fmac", "brcm,bcm4329-fmac";
736 pinctrl-names = "default", "state_100mhz", "state_200mhz";
737 pinctrl-0 = <&pinctrl_usdhc3>;
738 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
739 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
740 bus-width = <8>;
741 non-removable;
746 pinctrl-names = "default";
747 pinctrl-0 = <&pinctrl_wdog>;
748 fsl,ext-reset-output;
753 pinctrl-names = "default";
754 pinctrl-0 = <&pinctrl_hog>;
1004 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
1015 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
1042 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
1058 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {