.. | .. |
---|
3 | 3 | Required properties for the root node: |
---|
4 | 4 | - compatible: Should be one of the following |
---|
5 | 5 | "mediatek,mt7622-pinctrl" for MT7622 SoC |
---|
| 6 | + "mediatek,mt7629-pinctrl" for MT7629 SoC |
---|
6 | 7 | - reg: offset and length of the pinctrl space |
---|
7 | 8 | |
---|
8 | 9 | - gpio-controller: Marks the device node as a GPIO controller. |
---|
.. | .. |
---|
324 | 325 | "uart4_2_rts_cts" "uart" 95, 96 |
---|
325 | 326 | "watchdog" "watchdog" 78 |
---|
326 | 327 | |
---|
| 328 | + |
---|
| 329 | +== Valid values for pins, function and groups on MT7629 == |
---|
| 330 | + |
---|
| 331 | + Pin #: Valid values for pins |
---|
| 332 | + ----------------------------- |
---|
| 333 | + PIN 0: "TOP_5G_CLK" |
---|
| 334 | + PIN 1: "TOP_5G_DATA" |
---|
| 335 | + PIN 2: "WF0_5G_HB0" |
---|
| 336 | + PIN 3: "WF0_5G_HB1" |
---|
| 337 | + PIN 4: "WF0_5G_HB2" |
---|
| 338 | + PIN 5: "WF0_5G_HB3" |
---|
| 339 | + PIN 6: "WF0_5G_HB4" |
---|
| 340 | + PIN 7: "WF0_5G_HB5" |
---|
| 341 | + PIN 8: "WF0_5G_HB6" |
---|
| 342 | + PIN 9: "XO_REQ" |
---|
| 343 | + PIN 10: "TOP_RST_N" |
---|
| 344 | + PIN 11: "SYS_WATCHDOG" |
---|
| 345 | + PIN 12: "EPHY_LED0_N_JTDO" |
---|
| 346 | + PIN 13: "EPHY_LED1_N_JTDI" |
---|
| 347 | + PIN 14: "EPHY_LED2_N_JTMS" |
---|
| 348 | + PIN 15: "EPHY_LED3_N_JTCLK" |
---|
| 349 | + PIN 16: "EPHY_LED4_N_JTRST_N" |
---|
| 350 | + PIN 17: "WF2G_LED_N" |
---|
| 351 | + PIN 18: "WF5G_LED_N" |
---|
| 352 | + PIN 19: "I2C_SDA" |
---|
| 353 | + PIN 20: "I2C_SCL" |
---|
| 354 | + PIN 21: "GPIO_9" |
---|
| 355 | + PIN 22: "GPIO_10" |
---|
| 356 | + PIN 23: "GPIO_11" |
---|
| 357 | + PIN 24: "GPIO_12" |
---|
| 358 | + PIN 25: "UART1_TXD" |
---|
| 359 | + PIN 26: "UART1_RXD" |
---|
| 360 | + PIN 27: "UART1_CTS" |
---|
| 361 | + PIN 28: "UART1_RTS" |
---|
| 362 | + PIN 29: "UART2_TXD" |
---|
| 363 | + PIN 30: "UART2_RXD" |
---|
| 364 | + PIN 31: "UART2_CTS" |
---|
| 365 | + PIN 32: "UART2_RTS" |
---|
| 366 | + PIN 33: "MDI_TP_P1" |
---|
| 367 | + PIN 34: "MDI_TN_P1" |
---|
| 368 | + PIN 35: "MDI_RP_P1" |
---|
| 369 | + PIN 36: "MDI_RN_P1" |
---|
| 370 | + PIN 37: "MDI_RP_P2" |
---|
| 371 | + PIN 38: "MDI_RN_P2" |
---|
| 372 | + PIN 39: "MDI_TP_P2" |
---|
| 373 | + PIN 40: "MDI_TN_P2" |
---|
| 374 | + PIN 41: "MDI_TP_P3" |
---|
| 375 | + PIN 42: "MDI_TN_P3" |
---|
| 376 | + PIN 43: "MDI_RP_P3" |
---|
| 377 | + PIN 44: "MDI_RN_P3" |
---|
| 378 | + PIN 45: "MDI_RP_P4" |
---|
| 379 | + PIN 46: "MDI_RN_P4" |
---|
| 380 | + PIN 47: "MDI_TP_P4" |
---|
| 381 | + PIN 48: "MDI_TN_P4" |
---|
| 382 | + PIN 49: "SMI_MDC" |
---|
| 383 | + PIN 50: "SMI_MDIO" |
---|
| 384 | + PIN 51: "PCIE_PERESET_N" |
---|
| 385 | + PIN 52: "PWM_0" |
---|
| 386 | + PIN 53: "GPIO_0" |
---|
| 387 | + PIN 54: "GPIO_1" |
---|
| 388 | + PIN 55: "GPIO_2" |
---|
| 389 | + PIN 56: "GPIO_3" |
---|
| 390 | + PIN 57: "GPIO_4" |
---|
| 391 | + PIN 58: "GPIO_5" |
---|
| 392 | + PIN 59: "GPIO_6" |
---|
| 393 | + PIN 60: "GPIO_7" |
---|
| 394 | + PIN 61: "GPIO_8" |
---|
| 395 | + PIN 62: "SPI_CLK" |
---|
| 396 | + PIN 63: "SPI_CS" |
---|
| 397 | + PIN 64: "SPI_MOSI" |
---|
| 398 | + PIN 65: "SPI_MISO" |
---|
| 399 | + PIN 66: "SPI_WP" |
---|
| 400 | + PIN 67: "SPI_HOLD" |
---|
| 401 | + PIN 68: "UART0_TXD" |
---|
| 402 | + PIN 69: "UART0_RXD" |
---|
| 403 | + PIN 70: "TOP_2G_CLK" |
---|
| 404 | + PIN 71: "TOP_2G_DATA" |
---|
| 405 | + PIN 72: "WF0_2G_HB0" |
---|
| 406 | + PIN 73: "WF0_2G_HB1" |
---|
| 407 | + PIN 74: "WF0_2G_HB2" |
---|
| 408 | + PIN 75: "WF0_2G_HB3" |
---|
| 409 | + PIN 76: "WF0_2G_HB4" |
---|
| 410 | + PIN 77: "WF0_2G_HB5" |
---|
| 411 | + PIN 78: "WF0_2G_HB6" |
---|
| 412 | + |
---|
| 413 | +Valid values for function are: |
---|
| 414 | + "eth", "i2c", "led", "flash", "pcie", "pwm", "spi", "uart", |
---|
| 415 | + "watchdog", "wifi" |
---|
| 416 | + |
---|
| 417 | +Valid values for groups are: |
---|
| 418 | + Valid value function pins (in pin#) |
---|
| 419 | + ---------------------------------------------------------------- |
---|
| 420 | + "mdc_mdio" "eth" 23, 24 |
---|
| 421 | + "i2c_0" "i2c" 19, 20 |
---|
| 422 | + "i2c_1" "i2c" 53, 54 |
---|
| 423 | + "ephy_leds" "led" 12, 13, 14, 15, 16, |
---|
| 424 | + 17, 18 |
---|
| 425 | + "ephy0_led" "led" 12 |
---|
| 426 | + "ephy1_led" "led" 13 |
---|
| 427 | + "ephy2_led" "led" 14 |
---|
| 428 | + "ephy3_led" "led" 15 |
---|
| 429 | + "ephy4_led" "led" 16 |
---|
| 430 | + "wf2g_led" "led" 17 |
---|
| 431 | + "wf5g_led" "led" 18 |
---|
| 432 | + "snfi" "flash" 62, 63, 64, 65, 66, 67 |
---|
| 433 | + "spi_nor" "flash" 62, 63, 64, 65, 66, 67 |
---|
| 434 | + "pcie_pereset" "pcie" 51 |
---|
| 435 | + "pcie_wake" "pcie" 55 |
---|
| 436 | + "pcie_clkreq" "pcie" 56 |
---|
| 437 | + "pwm_0" "pwm" 52 |
---|
| 438 | + "pwm_1" "pwm" 61 |
---|
| 439 | + "spi_0" "spi" 21, 22, 23, 24 |
---|
| 440 | + "spi_1" "spi" 62, 63, 64, 65 |
---|
| 441 | + "spi_wp" "spi" 66 |
---|
| 442 | + "spi_hold" "spi" 67 |
---|
| 443 | + "uart0_txd_rxd" "uart" 68, 69 |
---|
| 444 | + "uart1_0_txd_rxd" "uart" 25, 26 |
---|
| 445 | + "uart1_0_cts_rts" "uart" 27, 28 |
---|
| 446 | + "uart1_1_txd_rxd" "uart" 53, 54 |
---|
| 447 | + "uart1_1_cts_rts" "uart" 55, 56 |
---|
| 448 | + "uart2_0_txd_rxd" "uart" 29, 30 |
---|
| 449 | + "uart2_0_cts_rts" "uart" 31, 32 |
---|
| 450 | + "uart2_1_txd_rxd" "uart" 57, 58 |
---|
| 451 | + "uart2_1_cts_rts" "uart" 59, 60 |
---|
| 452 | + "watchdog" "watchdog" 11 |
---|
| 453 | + "wf0_2g" "wifi" 70, 71, 72, 73, 74, |
---|
| 454 | + 75, 76, 77, 78 |
---|
| 455 | + "wf0_5g" "wifi" 0, 1, 2, 3, 4, 5, 6, |
---|
| 456 | + 7, 8, 9, 10 |
---|
| 457 | + |
---|
327 | 458 | Example: |
---|
328 | 459 | |
---|
329 | 460 | pio: pinctrl@10211000 { |
---|