Lines Matching +full:button +full:- +full:191
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/net/ti-dp83867.h>
18 stdout-path = "serial2:115200n8";
45 verdin_gpio_keys: gpio-keys {
46 compatible = "gpio-keys";
47 pinctrl-names = "default";
48 pinctrl-0 = <&pinctrl_ctrl_wake1_mico>;
51 verdin_key_wakeup: key-wakeup {
52 debounce-interval = <10>;
55 label = "Wake-Up";
57 wakeup-source;
66 opp-table {
68 opp-1400000000 {
69 opp-hz = /bits/ 64 <1400000000>;
70 opp-supported-hw = <0x01 0x0004>;
71 clock-latency-ns = <6000000>;
76 reg_vsodimm: regulator-vsodimm {
77 compatible = "regulator-fixed";
78 regulator-name = "+V_SODIMM";
81 /* Non PMIC On-module Supplies */
82 reg_3v3: regulator-3v3 {
83 compatible = "regulator-fixed";
84 regulator-max-microvolt = <3300000>;
85 regulator-min-microvolt = <3300000>;
86 regulator-name = "On-module +V3.3";
87 vin-supply = <®_vsodimm>;
90 reg_1v2_dsi: regulator-1v2-dsi {
91 compatible = "regulator-fixed";
92 regulator-max-microvolt = <1200000>;
93 regulator-min-microvolt = <1200000>;
94 regulator-name = "On-module +V1.2_DSI";
95 vin-supply = <®_1v8>;
99 reg_1v8_dsi: regulator-1v8-dsi {
100 compatible = "regulator-fixed";
101 regulator-max-microvolt = <1800000>;
102 regulator-min-microvolt = <1800000>;
103 regulator-name = "On-module +V1.8_DSI";
104 vin-supply = <®_1v8>;
108 reg_1v0_eth: regulator-1v0-eth {
109 compatible = "regulator-fixed";
110 regulator-max-microvolt = <1000000>;
111 regulator-min-microvolt = <1000000>;
112 regulator-name = "On-module +V1.0_ETH";
113 vin-supply = <®_1v8>;
117 reg_1v8_eth: regulator-1v8-eth {
118 compatible = "regulator-fixed";
119 regulator-max-microvolt = <1800000>;
120 regulator-min-microvolt = <1800000>;
121 regulator-name = "On-module +V1.8_ETH";
122 vin-supply = <®_1v8>;
126 reg_sdhc1_vmmc: regulator-sdhci1 {
127 compatible = "regulator-fixed";
128 pinctrl-names = "default";
129 pinctrl-0 = <&pinctrl_sd1_pwr_en>;
130 enable-active-high;
133 off-on-delay-us = <100000>;
134 regulator-max-microvolt = <3300000>;
135 regulator-min-microvolt = <3300000>;
136 regulator-name = "+V3.3_SD";
137 startup-delay-us = <2000>;
140 reg_sdhc1_vqmmc: regulator-sdhci1-vqmmc {
141 compatible = "regulator-gpio";
142 pinctrl-names = "default";
143 pinctrl-0 = <&pinctrl_vsel_sd>;
146 regulator-name = "LDO1-VSEL-SD (PMIC)";
147 regulator-min-microvolt = <1800000>;
148 regulator-max-microvolt = <3300000>;
151 vin-supply = <®_sd_3v3_1v8>;
154 reserved-memory {
155 #address-cells = <2>;
156 #size-cells = <2>;
162 no-map;
166 reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
168 no-map;
171 wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
172 compatible = "shared-dma-pool";
174 no-map;
181 pinctrl_epwm0_a: main-epwm0a-default-pins {
182 pinctrl-single,pins = <
188 pinctrl_epwm0_b: main-epwm0b-default-pins {
189 pinctrl-single,pins = <
195 pinctrl_epwm1_a: main-epwm1a-default-pins {
196 pinctrl-single,pins = <
202 pinctrl_qspi1_clk_gpio: main-gpio0-0-default-pins {
203 pinctrl-single,pins = <
209 pinctrl_qspi1_io0_gpio: main-gpio0-3-default-pins {
210 pinctrl-single,pins = <
216 pinctrl_qspi1_io1_gpio: main-gpio0-4-default-pins {
217 pinctrl-single,pins = <
223 pinctrl_qspi1_io2_gpio: main-gpio0-5-default-pins {
224 pinctrl-single,pins = <
230 pinctrl_qspi1_io3_gpio: main-gpio0-6-default-pins {
231 pinctrl-single,pins = <
237 pinctrl_qspi1_io4_gpio: main-gpio0-7-default-pins {
238 pinctrl-single,pins = <
244 pinctrl_qspi1_cs_gpio: main-gpio0-11-default-pins {
245 pinctrl-single,pins = <
251 pinctrl_qspi1_cs2_gpio: main-gpio0-12-default-pins {
252 pinctrl-single,pins = <
258 pinctrl_wifi_w_wkup_host: main-gpio0-15-default-pins {
259 pinctrl-single,pins = <
265 pinctrl_bt_wkup_host: main-gpio0-16-default-pins {
266 pinctrl-single,pins = <
272 pinctrl_eth_reset: main-gpio0-17-default-pins {
273 pinctrl-single,pins = <
279 pinctrl_bridge_reset: main-gpio0-20-default-pins {
280 pinctrl-single,pins = <
286 pinctrl_vsel_sd: main-gpio0-21-default-pins {
287 pinctrl-single,pins = <
293 pinctrl_wifi_en: main-gpio0-22-default-pins {
294 pinctrl-single,pins = <
300 pinctrl_eth_int: main-gpio0-25-default-pins {
301 pinctrl-single,pins = <
307 pinctrl_wifi_wkup_bt: main-gpio0-26-default-pins {
308 pinctrl-single,pins = <
314 pinctrl_wifi_wkup_wlan: main-gpio0-27-default-pins {
315 pinctrl-single,pins = <
321 pinctrl_sd1_pwr_en: main-gpio0-29-default-pins {
322 pinctrl-single,pins = <
328 pinctrl_dsi1_bkl_en: main-gpio0-30-default-pins {
329 pinctrl-single,pins = <
335 pinctrl_ctrl_sleep_moci: main-gpio0-31-default-pins {
336 pinctrl-single,pins = <
342 pinctrl_ctrl_wake1_mico: main-gpio0-32-default-pins {
343 pinctrl-single,pins = <
349 pinctrl_i2s_2_d_out_gpio: main-gpio0-34-default-pins {
350 pinctrl-single,pins = <
356 pinctrl_i2s_2_bclk_gpio: main-gpio0-35-default-pins {
357 pinctrl-single,pins = <
363 pinctrl_gpio_6: main-gpio0-36-default-pins {
364 pinctrl-single,pins = <
370 pinctrl_eth2_rgmii_int: main-gpio0-38-default-pins {
371 pinctrl-single,pins = <
377 pinctrl_gpio_5: main-gpio0-40-default-pins {
378 pinctrl-single,pins = <
384 pinctrl_gpio_7: main-gpio0-41-default-pins {
385 pinctrl-single,pins = <
391 pinctrl_gpio_8: main-gpio0-42-default-pins {
392 pinctrl-single,pins = <
398 pinctrl_usb1_oc: main-gpio0-71-default-pins {
399 pinctrl-single,pins = <
405 pinctrl_usb2_oc: main-gpio0-72-default-pins {
406 pinctrl-single,pins = <
412 pinctrl_pwm3_dsi_gpio: main-gpio1-17-default-pins {
413 pinctrl-single,pins = <
419 pinctrl_qspi1_dqs_gpio: main-gpio1-18-default-pins {
420 pinctrl-single,pins = <
426 pinctrl_usb0_id: main-gpio1-19-default-pins {
427 pinctrl-single,pins = <
432 /* Verdin DSI_1_INT# (pulled-up as active-low) */
433 pinctrl_dsi1_int: main-gpio1-49-default-pins {
434 pinctrl-single,pins = <
439 /* On-module I2C - PMIC_I2C */
440 pinctrl_i2c0: main-i2c0-default-pins {
441 pinctrl-single,pins = <
448 pinctrl_i2c1: main-i2c1-default-pins {
449 pinctrl-single,pins = <
456 pinctrl_i2c2: main-i2c2-default-pins {
457 pinctrl-single,pins = <
464 pinctrl_i2c3: main-i2c3-default-pins {
465 pinctrl-single,pins = <
472 pinctrl_i2s1_mclk: main-system-audio-ext-reflock1-default-pins {
473 pinctrl-single,pins = <
479 pinctrl_mcasp0: main-mcasp0-default-pins {
480 pinctrl-single,pins = <
489 pinctrl_mcasp1: main-mcasp1-default-pins {
490 pinctrl-single,pins = <
499 pinctrl_mcan0: main-mcan0-default-pins {
500 pinctrl-single,pins = <
506 /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */
507 pinctrl_mdio: main-mdio1-default-pins {
508 pinctrl-single,pins = <
510 AM62X_IOPAD(0x15c, PIN_INPUT, 0) /* (AB22) MDIO0_MDIO */ /* ETH_1_MDIO, SODIMM 191 */
514 /* On-module eMMC */
515 pinctrl_sdhci0: main-mmc0-default-pins {
516 pinctrl-single,pins = <
531 pinctrl_sdhci1: main-mmc1-default-pins {
532 pinctrl-single,pins = <
543 /* On-module Wi-Fi on WB SKUs, module-specific SDIO otherwise */
544 pinctrl_sdhci2: main-mmc2-default-pins {
545 pinctrl-single,pins = <
557 pinctrl_ospi0: main-ospi0-default-pins {
558 pinctrl-single,pins = <
569 /* Verdin ETH_1 RGMII (On-module PHY) */
570 pinctrl_rgmii1: main-rgmii1-default-pins {
571 pinctrl-single,pins = <
588 pinctrl_rgmii2: main-rgmii2-default-pins {
589 pinctrl-single,pins = <
606 pinctrl_spi1: main-spi1-default-pins {
607 pinctrl-single,pins = <
615 pinctrl_spi1_cs0: main-spi1-cs0-default-pins {
616 pinctrl-single,pins = <
622 pinctrl_eth_clock: main-system-clkout0-default-pins {
623 pinctrl-single,pins = <
629 pinctrl_pmic_extint: main-system-extint-default-pins {
630 pinctrl-single,pins = <
636 pinctrl_uart0: main-uart0-default-pins {
637 pinctrl-single,pins = <
644 pinctrl_uart1: main-uart1-default-pins {
645 pinctrl-single,pins = <
653 /* Bluetooth on WB SKUs, module-specific UART otherwise */
654 pinctrl_uart5: main-uart5-default-pins {
655 pinctrl-single,pins = <
664 pinctrl_usb0: main-usb0-default-pins {
665 pinctrl-single,pins = <
671 pinctrl_usb1: main-usb1-default-pins {
672 pinctrl-single,pins = <
678 pinctrl_parallel_rgb: main-vout-default-pins {
679 pinctrl-single,pins = <
708 pinctrl_pcie_1_reset: mcu-gpio0-0-default-pins {
709 pinctrl-single,pins = <
715 pinctrl_gpio_1: mcu-gpio0-1-default-pins {
716 pinctrl-single,pins = <
722 pinctrl_gpio_2: mcu-gpio0-2-default-pins {
723 pinctrl-single,pins = <
729 pinctrl_gpio_3: mcu-gpio0-3-default-pins {
730 pinctrl-single,pins = <
736 pinctrl_gpio_4: mcu-gpio0-4-default-pins {
737 pinctrl-single,pins = <
743 pinctrl_mcu_i2c0: mcu-i2c0-default-pins {
744 pinctrl-single,pins = <
751 pinctrl_mcu_mcan0: mcu-mcan0-default-pins {
752 pinctrl-single,pins = <
758 /* Verdin UART_4 - Reserved to Cortex-M4 */
759 pinctrl_mcu_uart0: mcu-uart0-default-pins {
760 pinctrl-single,pins = <
767 pinctrl_csi1_mclk: wkup-clkout0-default-pins {
768 pinctrl-single,pins = <
774 pinctrl_wkup_uart0: wkup-uart0-default-pins {
775 pinctrl-single,pins = <
786 assigned-clock-rates = <25000000>;
790 pinctrl-names = "default";
791 pinctrl-0 = <&pinctrl_rgmii1>;
795 /* Verdin ETH_1 (On-module PHY) */
797 phy-handle = <&cpsw3g_phy0>;
798 phy-mode = "rgmii-rxid";
807 /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */
809 assigned-clocks = <&k3_clks 157 20>;
810 assigned-clock-parents = <&k3_clks 157 22>;
811 assigned-clock-rates = <25000000>;
812 pinctrl-names = "default";
813 pinctrl-0 = <&pinctrl_eth_clock>, <&pinctrl_mdio>;
816 cpsw3g_phy0: ethernet-phy@0 {
817 compatible = "ethernet-phy-id2000.a231";
819 interrupt-parent = <&main_gpio0>;
821 pinctrl-names = "default";
822 pinctrl-0 = <&pinctrl_eth_int>, <&pinctrl_eth_reset>;
823 reset-gpios = <&main_gpio0 17 GPIO_ACTIVE_LOW>;
824 reset-assert-us = <10>;
825 reset-deassert-us = <1000>;
826 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
827 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
832 pinctrl-names = "default";
833 pinctrl-0 = <&pinctrl_parallel_rgb>;
838 #address-cells = <1>;
839 #size-cells = <0>;
846 remote-endpoint = <&rgb_in>;
853 pinctrl-names = "default";
854 pinctrl-0 = <&pinctrl_epwm0_a>, <&pinctrl_epwm0_b>;
860 pinctrl-names = "default";
861 pinctrl-0 = <&pinctrl_epwm1_a>;
866 gpio-line-names =
955 verdin_ctrl_sleep_moci: ctrl-sleep-moci-hog {
956 gpio-hog;
959 line-name = "CTRL_SLEEP_MOCI#";
960 output-high;
965 gpio-line-names =
1056 /* On-module I2C - PMIC_I2C */
1058 pinctrl-names = "default";
1059 pinctrl-0 = <&pinctrl_i2c0>;
1060 clock-frequency = <400000>;
1066 assigned-clocks = <&k3_clks 157 20>;
1067 assigned-clock-parents = <&k3_clks 157 22>;
1068 assigned-clock-rates = <25000000>;
1069 pinctrl-names = "default";
1070 pinctrl-0 = <&pinctrl_bridge_reset>;
1072 clock-names = "refclk";
1073 reset-gpios = <&main_gpio0 20 GPIO_ACTIVE_LOW>;
1074 vddc-supply = <®_1v2_dsi>;
1075 vddmipi-supply = <®_1v2_dsi>;
1076 vddio-supply = <®_1v8_dsi>;
1080 #address-cells = <1>;
1081 #size-cells = <0>;
1087 data-lines = <18>;
1088 remote-endpoint = <&dpi_out>;
1101 pinctrl-names = "default";
1102 pinctrl-0 = <&pinctrl_pmic_extint>;
1103 interrupt-parent = <&gic500>;
1106 buck1-supply = <®_vsodimm>;
1107 buck2-supply = <®_vsodimm>;
1108 buck3-supply = <®_vsodimm>;
1109 ldo1-supply = <®_3v3>;
1110 ldo2-supply = <®_1v8>;
1111 ldo3-supply = <®_3v3>;
1112 ldo4-supply = <®_3v3>;
1113 system-power-controller;
1114 ti,power-button;
1118 regulator-always-on;
1119 regulator-boot-on;
1120 regulator-max-microvolt = <850000>;
1121 regulator-min-microvolt = <850000>;
1122 regulator-name = "+VDD_CORE (PMIC BUCK1)";
1126 regulator-always-on;
1127 regulator-boot-on;
1128 regulator-max-microvolt = <1800000>;
1129 regulator-min-microvolt = <1800000>;
1130 regulator-name = "+V1.8 (PMIC BUCK2)"; /* On-module and SODIMM 214 */
1134 regulator-always-on;
1135 regulator-boot-on;
1136 regulator-max-microvolt = <1100000>;
1137 regulator-min-microvolt = <1100000>;
1138 regulator-name = "+VDD_DDR (PMIC BUCK3)";
1142 regulator-allow-bypass;
1143 regulator-always-on;
1144 regulator-boot-on;
1145 regulator-max-microvolt = <3300000>;
1146 regulator-min-microvolt = <3300000>;
1147 regulator-name = "+V3.3_1.8_SD (PMIC LDO1)";
1151 regulator-always-on;
1152 regulator-boot-on;
1153 regulator-max-microvolt = <850000>;
1154 regulator-min-microvolt = <850000>;
1155 regulator-name = "+VDDR_CORE (PMIC LDO2)";
1159 regulator-always-on;
1160 regulator-boot-on;
1161 regulator-max-microvolt = <1800000>;
1162 regulator-min-microvolt = <1800000>;
1163 regulator-name = "+V1.8A (PMIC LDO3)";
1167 regulator-always-on;
1168 regulator-boot-on;
1169 regulator-max-microvolt = <2500000>;
1170 regulator-min-microvolt = <2500000>;
1171 regulator-name = "+V2.5_ETH (PMIC LDO4)";
1189 #address-cells = <1>;
1190 #size-cells = <0>;
1192 /* Verdin PMIC_I2C (ADC_4 - ADC_3) */
1199 /* Verdin PMIC_I2C (ADC_4 - ADC_1) */
1206 /* Verdin PMIC_I2C (ADC_3 - ADC_1) */
1213 /* Verdin PMIC_I2C (ADC_2 - ADC_1) */
1258 pinctrl-names = "default";
1259 pinctrl-0 = <&pinctrl_i2c1>;
1265 pinctrl-names = "default";
1266 pinctrl-0 = <&pinctrl_i2c2>;
1272 pinctrl-names = "default";
1273 pinctrl-0 = <&pinctrl_i2c3>;
1278 mbox_m4_0: mbox-m4-0 {
1279 ti,mbox-rx = <0 0 0>;
1280 ti,mbox-tx = <1 0 0>;
1286 pinctrl-names = "default";
1287 pinctrl-0 = <&pinctrl_mcan0>;
1293 pinctrl-names = "default";
1294 pinctrl-0 = <&pinctrl_spi1>, <&pinctrl_spi1_cs0>;
1295 ti,pindir-d0-out-d1-in;
1301 pinctrl-names = "default";
1302 pinctrl-0 = <&pinctrl_uart0>;
1308 pinctrl-names = "default";
1309 pinctrl-0 = <&pinctrl_uart1>;
1315 pinctrl-names = "default";
1316 pinctrl-0 = <&pinctrl_mcasp0>;
1317 op-mode = <0>; /* I2S mode */
1318 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1324 tdm-slots = <2>;
1325 rx-num-evt = <32>;
1326 tx-num-evt = <32>;
1327 #sound-dai-cells = <0>;
1333 pinctrl-names = "default";
1334 pinctrl-0 = <&pinctrl_mcasp1>;
1335 op-mode = <0>; /* I2S mode */
1336 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1342 tdm-slots = <2>;
1343 rx-num-evt = <32>;
1344 tx-num-evt = <32>;
1345 #sound-dai-cells = <0>;
1351 pinctrl-names = "default";
1352 pinctrl-0 = <&pinctrl_mcu_i2c0>;
1357 gpio-line-names =
1386 pinctrl-names = "default";
1387 pinctrl-0 = <&pinctrl_mcu_mcan0>;
1391 /* Verdin UART_4 - Cortex-M4 UART */
1393 pinctrl-names = "default";
1394 pinctrl-0 = <&pinctrl_mcu_uart0>;
1400 pinctrl-names = "default";
1401 pinctrl-0 = <&pinctrl_ospi0>;
1405 /* On-module eMMC */
1407 pinctrl-names = "default";
1408 pinctrl-0 = <&pinctrl_sdhci0>;
1409 non-removable;
1410 ti,driver-strength-ohm = <50>;
1416 pinctrl-names = "default";
1417 pinctrl-0 = <&pinctrl_sdhci1>;
1418 disable-wp;
1419 ti,driver-strength-ohm = <50>;
1420 vmmc-supply = <®_sdhc1_vmmc>;
1421 vqmmc-supply = <®_sdhc1_vqmmc>;
1427 ti,vbus-divider;
1433 pinctrl-names = "default";
1434 pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb0_id>;
1440 ti,vbus-divider;
1445 pinctrl-names = "default";
1446 pinctrl-0 = <&pinctrl_usb1>;
1453 pinctrl-names = "default";
1454 pinctrl-0 = <&pinctrl_wkup_uart0>;