brcm,cygnus-pinmux.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. Broadcom Cygnus IOMUX Controller
  2. The Cygnus IOMUX controller supports group based mux configuration. In
  3. addition, certain pins can be muxed to GPIO function individually.
  4. Required properties:
  5. - compatible:
  6. Must be "brcm,cygnus-pinmux"
  7. - reg:
  8. Define the base and range of the I/O address space that contains the Cygnus
  9. IOMUX registers
  10. Properties in subnodes:
  11. - function:
  12. The mux function to select
  13. - groups:
  14. The list of groups to select with a given function
  15. For more details, refer to
  16. Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
  17. For example:
  18. pinmux: pinmux@0x0301d0c8 {
  19. compatible = "brcm,cygnus-pinmux";
  20. reg = <0x0301d0c8 0x1b0>;
  21. pinctrl-names = "default";
  22. pinctrl-0 = <&i2s0_default>;
  23. i2s0_default: i2s0_default {
  24. mux {
  25. function = "i2s0";
  26. groups = "i2s0_0_grp", "i2s0_1_grp";
  27. };
  28. };
  29. };
  30. List of supported functions and groups in Cygnus:
  31. "i2s0": "i2s0_0_grp", "i2s0_1_grp"
  32. "i2s1": "i2s1_0_grp", "i2s1_1_grp"
  33. "i2s2": "i2s2_0_grp", "i2s2_1_grp", "i2s2_2_grp", "i2s2_3_grp", "i2s2_4_grp"
  34. "spdif": "spdif_grp"
  35. "pwm0": "pwm0_grp"
  36. "pwm1": "pwm1_grp"
  37. "pwm2": "pwm2_grp"
  38. "pwm3": "pwm3_grp"
  39. "pwm4": "pwm4_grp"
  40. "pwm5": "pwm5_grp"
  41. "key": "key0_grp", "key1_grp", "key2_grp", "key3_grp", "key4_grp", "key5_grp",
  42. "key6_grp", "key7_grp", "key8_grp", "key9_grp", "key10_grp", "key11_grp",
  43. "key12_grp", "key13_grp", "key14_grp", "key15_grp"
  44. "audio_dte": "audio_dte0_grp", "audio_dte1_grp", "audio_dte2_grp", "audio_dte3_grp"
  45. "smart_card0": "smart_card0_grp", "smart_card0_fcb_grp"
  46. "smart_card1": "smart_card1_grp", "smart_card1_fcb_grp"
  47. "spi0": "spi0_grp"
  48. "spi1": "spi1_grp"
  49. "spi2": "spi2_grp"
  50. "spi3": "spi3_grp"
  51. "spi4": "spi4_0_grp", "spi4_1_grp"
  52. "spi5": "spi5_grp"
  53. "sw_led0": "sw_led0_0_grp", "sw_led0_1_grp"
  54. "sw_led1": "sw_led1_grp"
  55. "sw_led2": "sw_led2_0_grp", "sw_led2_1_grp"
  56. "d1w": "d1w_grp"
  57. "lcd": "lcd_grp"
  58. "sram": "sram_0_grp", "sram_1_grp"
  59. "uart0": "uart0_grp"
  60. "uart1": "uart1_grp", "uart1_dte_grp"
  61. "uart2": "uart2_grp"
  62. "uart3": "uart3_grp"
  63. "uart4": "uart4_grp"
  64. "qspi": "qspi_0_grp", "qspi_1_grp"
  65. "nand": "nand_grp"
  66. "sdio0": "sdio0_grp", "sdio0_cd_grp", "sdio0_mmc_grp"
  67. "sdio1": "sdio1_data_0_grp", "sdio1_data_1_grp", "sdio1_cd_grp",
  68. "sdio1_led_grp", "sdio1_mmc_grp"
  69. "can0": "can0_grp"
  70. "can1": "can1_grp"
  71. "cam": "cam_led_grp", "cam_0_grp", "cam_1_grp"
  72. "bsc1": "bsc1_grp"
  73. "pcie_clkreq": "pcie_clkreq_grp"
  74. "usb0_oc": "usb0_oc_grp"
  75. "usb1_oc": "usb1_oc_grp"
  76. "usb2_oc": "usb2_oc_grp"