Lines Matching +full:sd +full:- +full:vsel +full:- +full:gpios

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";
46 compatible = "gpio-usb-b-connector", "usb-b-connector";
47 pinctrl-names = "default";
48 pinctrl-0 = <&pinctrl_usb0_id>;
49 id-gpios = <&main_gpio1 19 GPIO_ACTIVE_HIGH>;
51 self-powered;
52 vbus-supply = <&reg_usb0_vbus>;
56 remote-endpoint = <&usb0_ep>;
61 verdin_gpio_keys: gpio-keys {
62 compatible = "gpio-keys";
63 pinctrl-names = "default";
64 pinctrl-0 = <&pinctrl_ctrl_wake1_mico>;
67 verdin_key_wakeup: key-wakeup {
68 debounce-interval = <10>;
70 gpios = <&main_gpio0 32 GPIO_ACTIVE_LOW>;
71 label = "Wake-Up";
73 wakeup-source;
82 opp-table {
84 opp-1400000000 {
85 opp-hz = /bits/ 64 <1400000000>;
86 opp-supported-hw = <0x01 0x0004>;
87 clock-latency-ns = <6000000>;
92 reg_vsodimm: regulator-vsodimm {
93 compatible = "regulator-fixed";
94 regulator-name = "+V_SODIMM";
97 /* Non PMIC On-module Supplies */
98 reg_3v3: regulator-3v3 {
99 compatible = "regulator-fixed";
100 regulator-max-microvolt = <3300000>;
101 regulator-min-microvolt = <3300000>;
102 regulator-name = "On-module +V3.3";
103 vin-supply = <&reg_vsodimm>;
106 reg_1v2_dsi: regulator-1v2-dsi {
107 compatible = "regulator-fixed";
108 regulator-max-microvolt = <1200000>;
109 regulator-min-microvolt = <1200000>;
110 regulator-name = "On-module +V1.2_DSI";
111 vin-supply = <&reg_1v8>;
115 reg_1v8_dsi: regulator-1v8-dsi {
116 compatible = "regulator-fixed";
117 regulator-max-microvolt = <1800000>;
118 regulator-min-microvolt = <1800000>;
119 regulator-name = "On-module +V1.8_DSI";
120 vin-supply = <&reg_1v8>;
124 reg_1v0_eth: regulator-1v0-eth {
125 compatible = "regulator-fixed";
126 regulator-max-microvolt = <1000000>;
127 regulator-min-microvolt = <1000000>;
128 regulator-name = "On-module +V1.0_ETH";
129 vin-supply = <&reg_1v8>;
133 reg_1v8_eth: regulator-1v8-eth {
134 compatible = "regulator-fixed";
135 regulator-max-microvolt = <1800000>;
136 regulator-min-microvolt = <1800000>;
137 regulator-name = "On-module +V1.8_ETH";
138 vin-supply = <&reg_1v8>;
141 reg_force_sleep_moci: regulator-force-sleep-moci {
142 compatible = "regulator-fixed";
143 enable-active-high;
146 regulator-always-on;
147 regulator-boot-on;
148 regulator-name = "CTRL_SLEEP_MOCI#";
152 reg_sdhc1_vmmc: regulator-sdhci1 {
153 compatible = "regulator-fixed";
154 pinctrl-names = "default";
155 pinctrl-0 = <&pinctrl_sd1_pwr_en>;
156 enable-active-high;
159 off-on-delay-us = <100000>;
160 regulator-max-microvolt = <3300000>;
161 regulator-min-microvolt = <3300000>;
162 regulator-name = "+V3.3_SD";
163 startup-delay-us = <2000>;
166 reg_sdhc1_vqmmc: regulator-sdhci1-vqmmc {
167 compatible = "regulator-gpio";
168 pinctrl-names = "default";
169 pinctrl-0 = <&pinctrl_vsel_sd>;
171 gpios = <&main_gpio0 21 GPIO_ACTIVE_HIGH>;
172 regulator-name = "LDO1-VSEL-SD (PMIC)";
173 regulator-min-microvolt = <1800000>;
174 regulator-max-microvolt = <3300000>;
177 vin-supply = <&reg_sd_3v3_1v8>;
180 reg_usb0_vbus: regulator-usb0-vbus {
181 compatible = "regulator-fixed";
182 pinctrl-names = "default";
183 pinctrl-0 = <&pinctrl_usb0_en>;
184 enable-active-high;
187 regulator-max-microvolt = <5000000>;
188 regulator-min-microvolt = <5000000>;
189 regulator-name = "USB_1_EN";
192 reserved-memory {
193 #address-cells = <2>;
194 #size-cells = <2>;
200 no-map;
204 reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */
206 no-map;
209 wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
210 compatible = "shared-dma-pool";
212 no-map;
219 pinctrl_epwm0_a: main-epwm0a-default-pins {
220 pinctrl-single,pins = <
226 pinctrl_epwm0_b: main-epwm0b-default-pins {
227 pinctrl-single,pins = <
233 pinctrl_epwm1_a: main-epwm1a-default-pins {
234 pinctrl-single,pins = <
240 pinctrl_qspi1_clk_gpio: main-gpio0-0-default-pins {
241 pinctrl-single,pins = <
247 pinctrl_qspi1_io0_gpio: main-gpio0-3-default-pins {
248 pinctrl-single,pins = <
254 pinctrl_qspi1_io1_gpio: main-gpio0-4-default-pins {
255 pinctrl-single,pins = <
261 pinctrl_qspi1_io2_gpio: main-gpio0-5-default-pins {
262 pinctrl-single,pins = <
268 pinctrl_qspi1_io3_gpio: main-gpio0-6-default-pins {
269 pinctrl-single,pins = <
275 pinctrl_qspi1_io4_gpio: main-gpio0-7-default-pins {
276 pinctrl-single,pins = <
282 pinctrl_qspi1_cs_gpio: main-gpio0-11-default-pins {
283 pinctrl-single,pins = <
289 pinctrl_qspi1_cs2_gpio: main-gpio0-12-default-pins {
290 pinctrl-single,pins = <
296 pinctrl_wifi_w_wkup_host: main-gpio0-15-default-pins {
297 pinctrl-single,pins = <
303 pinctrl_bt_wkup_host: main-gpio0-16-default-pins {
304 pinctrl-single,pins = <
310 pinctrl_eth_reset: main-gpio0-17-default-pins {
311 pinctrl-single,pins = <
317 pinctrl_bridge_reset: main-gpio0-20-default-pins {
318 pinctrl-single,pins = <
324 pinctrl_vsel_sd: main-gpio0-21-default-pins {
325 pinctrl-single,pins = <
331 pinctrl_wifi_en: main-gpio0-22-default-pins {
332 pinctrl-single,pins = <
338 pinctrl_eth_int: main-gpio0-25-default-pins {
339 pinctrl-single,pins = <
345 pinctrl_wifi_wkup_bt: main-gpio0-26-default-pins {
346 pinctrl-single,pins = <
352 pinctrl_wifi_wkup_wlan: main-gpio0-27-default-pins {
353 pinctrl-single,pins = <
359 pinctrl_sd1_pwr_en: main-gpio0-29-default-pins {
360 pinctrl-single,pins = <
366 pinctrl_dsi1_bkl_en: main-gpio0-30-default-pins {
367 pinctrl-single,pins = <
373 pinctrl_ctrl_sleep_moci: main-gpio0-31-default-pins {
374 pinctrl-single,pins = <
380 pinctrl_ctrl_wake1_mico: main-gpio0-32-default-pins {
381 pinctrl-single,pins = <
387 pinctrl_i2s_2_d_out_gpio: main-gpio0-34-default-pins {
388 pinctrl-single,pins = <
394 pinctrl_i2s_2_bclk_gpio: main-gpio0-35-default-pins {
395 pinctrl-single,pins = <
401 pinctrl_gpio_6: main-gpio0-36-default-pins {
402 pinctrl-single,pins = <
408 pinctrl_eth2_rgmii_int: main-gpio0-38-default-pins {
409 pinctrl-single,pins = <
415 pinctrl_gpio_5: main-gpio0-40-default-pins {
416 pinctrl-single,pins = <
422 pinctrl_gpio_7: main-gpio0-41-default-pins {
423 pinctrl-single,pins = <
429 pinctrl_gpio_8: main-gpio0-42-default-pins {
430 pinctrl-single,pins = <
436 pinctrl_usb1_oc: main-gpio0-71-default-pins {
437 pinctrl-single,pins = <
443 pinctrl_usb2_oc: main-gpio0-72-default-pins {
444 pinctrl-single,pins = <
450 pinctrl_pwm3_dsi_gpio: main-gpio1-17-default-pins {
451 pinctrl-single,pins = <
457 pinctrl_qspi1_dqs_gpio: main-gpio1-18-default-pins {
458 pinctrl-single,pins = <
464 pinctrl_usb0_id: main-gpio1-19-default-pins {
465 pinctrl-single,pins = <
471 pinctrl_sd1_cd_gpio: main-gpio1-48-default-pins {
472 pinctrl-single,pins = <
477 /* Verdin DSI_1_INT# (pulled-up as active-low) */
478 pinctrl_dsi1_int: main-gpio1-49-default-pins {
479 pinctrl-single,pins = <
485 pinctrl_usb0_en: main-gpio1-50-default-pins {
486 pinctrl-single,pins = <
491 /* On-module I2C - PMIC_I2C */
492 pinctrl_i2c0: main-i2c0-default-pins {
493 pinctrl-single,pins = <
500 pinctrl_i2c1: main-i2c1-default-pins {
501 pinctrl-single,pins = <
508 pinctrl_i2c2: main-i2c2-default-pins {
509 pinctrl-single,pins = <
516 pinctrl_i2c3: main-i2c3-default-pins {
517 pinctrl-single,pins = <
524 pinctrl_i2s1_mclk: main-system-audio-ext-reflock1-default-pins {
525 pinctrl-single,pins = <
531 pinctrl_mcasp0: main-mcasp0-default-pins {
532 pinctrl-single,pins = <
541 pinctrl_mcasp1: main-mcasp1-default-pins {
542 pinctrl-single,pins = <
551 pinctrl_mcan0: main-mcan0-default-pins {
552 pinctrl-single,pins = <
558 /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */
559 pinctrl_mdio: main-mdio1-default-pins {
560 pinctrl-single,pins = <
566 /* On-module eMMC */
567 pinctrl_sdhci0: main-mmc0-default-pins {
568 pinctrl-single,pins = <
583 pinctrl_sdhci1: main-mmc1-default-pins {
584 pinctrl-single,pins = <
594 /* On-module Wi-Fi on WB SKUs, module-specific SDIO otherwise */
595 pinctrl_sdhci2: main-mmc2-default-pins {
596 pinctrl-single,pins = <
608 pinctrl_ospi0: main-ospi0-default-pins {
609 pinctrl-single,pins = <
620 /* Verdin ETH_1 RGMII (On-module PHY) */
621 pinctrl_rgmii1: main-rgmii1-default-pins {
622 pinctrl-single,pins = <
639 pinctrl_rgmii2: main-rgmii2-default-pins {
640 pinctrl-single,pins = <
657 pinctrl_spi1: main-spi1-default-pins {
658 pinctrl-single,pins = <
666 pinctrl_spi1_cs0: main-spi1-cs0-default-pins {
667 pinctrl-single,pins = <
673 pinctrl_eth_clock: main-system-clkout0-default-pins {
674 pinctrl-single,pins = <
680 pinctrl_pmic_extint: main-system-extint-default-pins {
681 pinctrl-single,pins = <
687 pinctrl_uart0: main-uart0-default-pins {
688 pinctrl-single,pins = <
695 pinctrl_uart1: main-uart1-default-pins {
696 pinctrl-single,pins = <
704 /* Bluetooth on WB SKUs, module-specific UART otherwise */
705 pinctrl_uart5: main-uart5-default-pins {
706 pinctrl-single,pins = <
715 pinctrl_usb1: main-usb1-default-pins {
716 pinctrl-single,pins = <
722 pinctrl_parallel_rgb: main-vout-default-pins {
723 pinctrl-single,pins = <
752 pinctrl_pcie_1_reset: mcu-gpio0-0-default-pins {
753 pinctrl-single,pins = <
759 pinctrl_gpio_1: mcu-gpio0-1-default-pins {
760 pinctrl-single,pins = <
766 pinctrl_gpio_2: mcu-gpio0-2-default-pins {
767 pinctrl-single,pins = <
773 pinctrl_gpio_3: mcu-gpio0-3-default-pins {
774 pinctrl-single,pins = <
780 pinctrl_gpio_4: mcu-gpio0-4-default-pins {
781 pinctrl-single,pins = <
787 pinctrl_mcu_i2c0: mcu-i2c0-default-pins {
788 pinctrl-single,pins = <
795 pinctrl_mcu_mcan0: mcu-mcan0-default-pins {
796 pinctrl-single,pins = <
802 /* Verdin UART_4 - Reserved to Cortex-M4 */
803 pinctrl_mcu_uart0: mcu-uart0-default-pins {
804 pinctrl-single,pins = <
811 pinctrl_csi1_mclk: wkup-clkout0-default-pins {
812 pinctrl-single,pins = <
818 pinctrl_wkup_uart0: wkup-uart0-default-pins {
819 pinctrl-single,pins = <
830 assigned-clock-rates = <25000000>;
834 pinctrl-names = "default";
835 pinctrl-0 = <&pinctrl_rgmii1>;
839 /* Verdin ETH_1 (On-module PHY) */
841 phy-handle = <&cpsw3g_phy0>;
842 phy-mode = "rgmii-rxid";
851 /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */
853 assigned-clocks = <&k3_clks 157 20>;
854 assigned-clock-parents = <&k3_clks 157 22>;
855 assigned-clock-rates = <25000000>;
856 pinctrl-names = "default";
857 pinctrl-0 = <&pinctrl_eth_clock>, <&pinctrl_mdio>;
860 cpsw3g_phy0: ethernet-phy@0 {
861 compatible = "ethernet-phy-id2000.a231";
863 interrupt-parent = <&main_gpio0>;
865 pinctrl-names = "default";
866 pinctrl-0 = <&pinctrl_eth_int>, <&pinctrl_eth_reset>;
867 reset-gpios = <&main_gpio0 17 GPIO_ACTIVE_LOW>;
868 reset-assert-us = <10>;
869 reset-deassert-us = <1000>;
870 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
871 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
876 pinctrl-names = "default";
877 pinctrl-0 = <&pinctrl_parallel_rgb>;
882 #address-cells = <1>;
883 #size-cells = <0>;
890 remote-endpoint = <&rgb_in>;
897 pinctrl-names = "default";
898 pinctrl-0 = <&pinctrl_epwm0_a>, <&pinctrl_epwm0_b>;
904 pinctrl-names = "default";
905 pinctrl-0 = <&pinctrl_epwm1_a>;
910 gpio-line-names =
1001 gpio-line-names =
1092 /* On-module I2C - PMIC_I2C */
1094 pinctrl-names = "default";
1095 pinctrl-0 = <&pinctrl_i2c0>;
1096 clock-frequency = <400000>;
1102 assigned-clocks = <&k3_clks 157 20>;
1103 assigned-clock-parents = <&k3_clks 157 22>;
1104 assigned-clock-rates = <25000000>;
1105 pinctrl-names = "default";
1106 pinctrl-0 = <&pinctrl_bridge_reset>;
1108 clock-names = "refclk";
1109 reset-gpios = <&main_gpio0 20 GPIO_ACTIVE_LOW>;
1110 vddc-supply = <&reg_1v2_dsi>;
1111 vddmipi-supply = <&reg_1v2_dsi>;
1112 vddio-supply = <&reg_1v8_dsi>;
1116 #address-cells = <1>;
1117 #size-cells = <0>;
1123 data-lines = <18>;
1124 remote-endpoint = <&dpi_out>;
1137 pinctrl-names = "default";
1138 pinctrl-0 = <&pinctrl_pmic_extint>;
1139 interrupt-parent = <&gic500>;
1142 buck1-supply = <&reg_vsodimm>;
1143 buck2-supply = <&reg_vsodimm>;
1144 buck3-supply = <&reg_vsodimm>;
1145 ldo1-supply = <&reg_3v3>;
1146 ldo2-supply = <&reg_1v8>;
1147 ldo3-supply = <&reg_3v3>;
1148 ldo4-supply = <&reg_3v3>;
1149 system-power-controller;
1150 ti,power-button;
1154 regulator-always-on;
1155 regulator-boot-on;
1156 regulator-max-microvolt = <850000>;
1157 regulator-min-microvolt = <750000>;
1158 regulator-name = "+VDD_CORE (PMIC BUCK1)";
1162 regulator-always-on;
1163 regulator-boot-on;
1164 regulator-max-microvolt = <1800000>;
1165 regulator-min-microvolt = <1800000>;
1166 regulator-name = "+V1.8 (PMIC BUCK2)"; /* On-module and SODIMM 214 */
1170 regulator-always-on;
1171 regulator-boot-on;
1172 regulator-max-microvolt = <1100000>;
1173 regulator-min-microvolt = <1100000>;
1174 regulator-name = "+VDD_DDR (PMIC BUCK3)";
1178 regulator-allow-bypass;
1179 regulator-always-on;
1180 regulator-boot-on;
1181 regulator-max-microvolt = <3300000>;
1182 regulator-min-microvolt = <3300000>;
1183 regulator-name = "+V3.3_1.8_SD (PMIC LDO1)";
1187 regulator-always-on;
1188 regulator-boot-on;
1189 regulator-max-microvolt = <850000>;
1190 regulator-min-microvolt = <850000>;
1191 regulator-name = "+VDDR_CORE (PMIC LDO2)";
1195 regulator-always-on;
1196 regulator-boot-on;
1197 regulator-max-microvolt = <1800000>;
1198 regulator-min-microvolt = <1800000>;
1199 regulator-name = "+V1.8A (PMIC LDO3)";
1203 regulator-always-on;
1204 regulator-boot-on;
1205 regulator-max-microvolt = <2500000>;
1206 regulator-min-microvolt = <2500000>;
1207 regulator-name = "+V2.5_ETH (PMIC LDO4)";
1225 #address-cells = <1>;
1226 #size-cells = <0>;
1228 /* Verdin PMIC_I2C (ADC_4 - ADC_3) */
1235 /* Verdin PMIC_I2C (ADC_4 - ADC_1) */
1242 /* Verdin PMIC_I2C (ADC_3 - ADC_1) */
1249 /* Verdin PMIC_I2C (ADC_2 - ADC_1) */
1294 pinctrl-names = "default";
1295 pinctrl-0 = <&pinctrl_i2c1>;
1301 pinctrl-names = "default";
1302 pinctrl-0 = <&pinctrl_i2c2>;
1308 pinctrl-names = "default";
1309 pinctrl-0 = <&pinctrl_i2c3>;
1314 mbox_m4_0: mbox-m4-0 {
1315 ti,mbox-rx = <0 0 0>;
1316 ti,mbox-tx = <1 0 0>;
1322 pinctrl-names = "default";
1323 pinctrl-0 = <&pinctrl_mcan0>;
1329 pinctrl-names = "default";
1330 pinctrl-0 = <&pinctrl_spi1>, <&pinctrl_spi1_cs0>;
1331 ti,pindir-d0-out-d1-in;
1337 pinctrl-names = "default";
1338 pinctrl-0 = <&pinctrl_uart0>;
1344 pinctrl-names = "default";
1345 pinctrl-0 = <&pinctrl_uart1>;
1351 pinctrl-names = "default";
1352 pinctrl-0 = <&pinctrl_mcasp0>;
1353 op-mode = <0>; /* I2S mode */
1354 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1360 tdm-slots = <2>;
1361 #sound-dai-cells = <0>;
1367 pinctrl-names = "default";
1368 pinctrl-0 = <&pinctrl_mcasp1>;
1369 op-mode = <0>; /* I2S mode */
1370 serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
1376 tdm-slots = <2>;
1377 #sound-dai-cells = <0>;
1383 pinctrl-names = "default";
1384 pinctrl-0 = <&pinctrl_mcu_i2c0>;
1389 gpio-line-names =
1415 verdin_pcie_1_reset_hog: pcie-1-reset-hog {
1416 gpio-hog;
1418 gpios = <0 GPIO_ACTIVE_LOW>;
1419 line-name = "PCIE_1_RESET#";
1420 output-low;
1427 pinctrl-names = "default";
1428 pinctrl-0 = <&pinctrl_mcu_mcan0>;
1432 /* Verdin UART_4 - Cortex-M4 UART */
1434 pinctrl-names = "default";
1435 pinctrl-0 = <&pinctrl_mcu_uart0>;
1441 pinctrl-names = "default";
1442 pinctrl-0 = <&pinctrl_ospi0>;
1446 /* On-module eMMC */
1448 pinctrl-names = "default";
1449 pinctrl-0 = <&pinctrl_sdhci0>;
1450 non-removable;
1456 pinctrl-names = "default";
1457 pinctrl-0 = <&pinctrl_sdhci1>, <&pinctrl_sd1_cd_gpio>;
1458 cd-gpios = <&main_gpio1 48 GPIO_ACTIVE_LOW>;
1459 disable-wp;
1460 vmmc-supply = <&reg_sdhc1_vmmc>;
1461 vqmmc-supply = <&reg_sdhc1_vqmmc>;
1462 ti,fails-without-test-cd;
1468 ti,vbus-divider;
1473 adp-disable;
1474 usb-role-switch;
1479 remote-endpoint = <&usb_dr_connector>;
1486 ti,vbus-divider;
1491 pinctrl-names = "default";
1492 pinctrl-0 = <&pinctrl_usb1>;
1499 pinctrl-names = "default";
1500 pinctrl-0 = <&pinctrl_wkup_uart0>;