Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: pinctrl: update bindings for MT7629 SoC

This updates bindings for MT7629 pinctrl driver.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Reviewed-by: Sean Wang <sean.wang@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Ryder Lee and committed by
Linus Walleij
757bd6d5 b4467737

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