pinctrl_spear.txt 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. ST Microelectronics, SPEAr pinmux controller
  2. Required properties:
  3. - compatible : "st,spear300-pinmux"
  4. : "st,spear310-pinmux"
  5. : "st,spear320-pinmux"
  6. : "st,spear1310-pinmux"
  7. : "st,spear1340-pinmux"
  8. - reg : Address range of the pinctrl registers
  9. - st,pinmux-mode: Mandatory for SPEAr300 and SPEAr320 and invalid for others.
  10. - Its values for SPEAr300:
  11. - NAND_MODE : <0>
  12. - NOR_MODE : <1>
  13. - PHOTO_FRAME_MODE : <2>
  14. - LEND_IP_PHONE_MODE : <3>
  15. - HEND_IP_PHONE_MODE : <4>
  16. - LEND_WIFI_PHONE_MODE : <5>
  17. - HEND_WIFI_PHONE_MODE : <6>
  18. - ATA_PABX_WI2S_MODE : <7>
  19. - ATA_PABX_I2S_MODE : <8>
  20. - CAML_LCDW_MODE : <9>
  21. - CAMU_LCD_MODE : <10>
  22. - CAMU_WLCD_MODE : <11>
  23. - CAML_LCD_MODE : <12>
  24. - Its values for SPEAr320:
  25. - AUTO_NET_SMII_MODE : <0>
  26. - AUTO_NET_MII_MODE : <1>
  27. - AUTO_EXP_MODE : <2>
  28. - SMALL_PRINTERS_MODE : <3>
  29. - EXTENDED_MODE : <4>
  30. Please refer to pinctrl-bindings.txt in this directory for details of the common
  31. pinctrl bindings used by client devices.
  32. SPEAr's pinmux nodes act as a container for an arbitrary number of subnodes. Each
  33. of these subnodes represents muxing for a pin, a group, or a list of pins or
  34. groups.
  35. The name of each subnode is not important; all subnodes should be enumerated
  36. and processed purely based on their content.
  37. Required subnode-properties:
  38. - st,pins : An array of strings. Each string contains the name of a pin or
  39. group.
  40. - st,function: A string containing the name of the function to mux to the pin or
  41. group. See the SPEAr's TRM to determine which are valid for each pin or group.
  42. Valid values for group and function names can be found from looking at the
  43. group and function arrays in driver files:
  44. drivers/pinctrl/spear/pinctrl-spear3*0.c
  45. Valid values for group names are:
  46. For All SPEAr3xx machines:
  47. "firda_grp", "i2c0_grp", "ssp_cs_grp", "ssp0_grp", "mii0_grp",
  48. "gpio0_pin0_grp", "gpio0_pin1_grp", "gpio0_pin2_grp", "gpio0_pin3_grp",
  49. "gpio0_pin4_grp", "gpio0_pin5_grp", "uart0_ext_grp", "uart0_grp",
  50. "timer_0_1_grp", timer_0_1_pins, "timer_2_3_grp"
  51. For SPEAr300 machines:
  52. "fsmc_2chips_grp", "fsmc_4chips_grp", "clcd_lcdmode_grp",
  53. "clcd_pfmode_grp", "tdm_grp", "i2c_clk_grp_grp", "caml_grp", "camu_grp",
  54. "dac_grp", "i2s_grp", "sdhci_4bit_grp", "sdhci_8bit_grp",
  55. "gpio1_0_to_3_grp", "gpio1_4_to_7_grp"
  56. For SPEAr310 machines:
  57. "emi_cs_0_to_5_grp", "uart1_grp", "uart2_grp", "uart3_grp", "uart4_grp",
  58. "uart5_grp", "fsmc_grp", "rs485_0_grp", "rs485_1_grp", "tdm_grp"
  59. For SPEAr320 machines:
  60. "clcd_grp", "emi_grp", "fsmc_8bit_grp", "fsmc_16bit_grp", "spp_grp",
  61. "sdhci_led_grp", "sdhci_cd_12_grp", "sdhci_cd_51_grp", "i2s_grp",
  62. "uart1_grp", "uart1_modem_2_to_7_grp", "uart1_modem_31_to_36_grp",
  63. "uart1_modem_34_to_45_grp", "uart1_modem_80_to_85_grp", "uart2_grp",
  64. "uart3_8_9_grp", "uart3_15_16_grp", "uart3_41_42_grp",
  65. "uart3_52_53_grp", "uart3_73_74_grp", "uart3_94_95_grp",
  66. "uart3_98_99_grp", "uart4_6_7_grp", "uart4_13_14_grp",
  67. "uart4_39_40_grp", "uart4_71_72_grp", "uart4_92_93_grp",
  68. "uart4_100_101_grp", "uart5_4_5_grp", "uart5_37_38_grp",
  69. "uart5_69_70_grp", "uart5_90_91_grp", "uart6_2_3_grp",
  70. "uart6_88_89_grp", "rs485_grp", "touchscreen_grp", "can0_grp",
  71. "can1_grp", "pwm0_1_pin_8_9_grp", "pwm0_1_pin_14_15_grp",
  72. "pwm0_1_pin_30_31_grp", "pwm0_1_pin_37_38_grp", "pwm0_1_pin_42_43_grp",
  73. "pwm0_1_pin_59_60_grp", "pwm0_1_pin_88_89_grp", "pwm2_pin_7_grp",
  74. "pwm2_pin_13_grp", "pwm2_pin_29_grp", "pwm2_pin_34_grp",
  75. "pwm2_pin_41_grp", "pwm2_pin_58_grp", "pwm2_pin_87_grp",
  76. "pwm3_pin_6_grp", "pwm3_pin_12_grp", "pwm3_pin_28_grp",
  77. "pwm3_pin_40_grp", "pwm3_pin_57_grp", "pwm3_pin_86_grp",
  78. "ssp1_17_20_grp", "ssp1_36_39_grp", "ssp1_48_51_grp", "ssp1_65_68_grp",
  79. "ssp1_94_97_grp", "ssp2_13_16_grp", "ssp2_32_35_grp", "ssp2_44_47_grp",
  80. "ssp2_61_64_grp", "ssp2_90_93_grp", "mii2_grp", "smii0_1_grp",
  81. "rmii0_1_grp", "i2c1_8_9_grp", "i2c1_98_99_grp", "i2c2_0_1_grp",
  82. "i2c2_2_3_grp", "i2c2_19_20_grp", "i2c2_75_76_grp", "i2c2_96_97_grp"
  83. For SPEAr1310 machines:
  84. "i2c0_grp", "ssp0_grp", "ssp0_cs0_grp", "ssp0_cs1_2_grp", "i2s0_grp",
  85. "i2s1_grp", "clcd_grp", "clcd_high_res_grp", "arm_gpio_grp",
  86. "smi_2_chips_grp", "smi_4_chips_grp", "gmii_grp", "rgmii_grp",
  87. "smii_0_1_2_grp", "ras_mii_txclk_grp", "nand_8bit_grp",
  88. "nand_16bit_grp", "nand_4_chips_grp", "keyboard_6x6_grp",
  89. "keyboard_rowcol6_8_grp", "uart0_grp", "uart0_modem_grp",
  90. "gpt0_tmr0_grp", "gpt0_tmr1_grp", "gpt1_tmr0_grp", "gpt1_tmr1_grp",
  91. "sdhci_grp", "cf_grp", "xd_grp", "touch_xy_grp",
  92. "uart1_disable_i2c_grp", "uart1_disable_sd_grp", "uart2_3_grp",
  93. "uart4_grp", "uart5_grp", "rs485_0_1_tdm_0_1_grp", "i2c_1_2_grp",
  94. "i2c3_dis_smi_clcd_grp", "i2c3_dis_sd_i2s0_grp", "i2c_4_5_dis_smi_grp",
  95. "i2c4_dis_sd_grp", "i2c5_dis_sd_grp", "i2c_6_7_dis_kbd_grp",
  96. "i2c6_dis_sd_grp", "i2c7_dis_sd_grp", "can0_dis_nor_grp",
  97. "can0_dis_sd_grp", "can1_dis_sd_grp", "can1_dis_kbd_grp", "pcie0_grp",
  98. "pcie1_grp", "pcie2_grp", "sata0_grp", "sata1_grp", "sata2_grp",
  99. "ssp1_dis_kbd_grp", "ssp1_dis_sd_grp", "gpt64_grp"
  100. For SPEAr1340 machines:
  101. "pads_as_gpio_grp", "fsmc_8bit_grp", "fsmc_16bit_grp", "fsmc_pnor_grp",
  102. "keyboard_row_col_grp", "keyboard_col5_grp", "spdif_in_grp",
  103. "spdif_out_grp", "gpt_0_1_grp", "pwm0_grp", "pwm1_grp", "pwm2_grp",
  104. "pwm3_grp", "vip_mux_grp", "vip_mux_cam0_grp", "vip_mux_cam1_grp",
  105. "vip_mux_cam2_grp", "vip_mux_cam3_grp", "cam0_grp", "cam1_grp",
  106. "cam2_grp", "cam3_grp", "smi_grp", "ssp0_grp", "ssp0_cs1_grp",
  107. "ssp0_cs2_grp", "ssp0_cs3_grp", "uart0_grp", "uart0_enh_grp",
  108. "uart1_grp", "i2s_in_grp", "i2s_out_grp", "gmii_grp", "rgmii_grp",
  109. "rmii_grp", "sgmii_grp", "i2c0_grp", "i2c1_grp", "cec0_grp", "cec1_grp",
  110. "sdhci_grp", "cf_grp", "xd_grp", "clcd_grp", "arm_trace_grp",
  111. "miphy_dbg_grp", "pcie_grp", "sata_grp"
  112. Valid values for function names are:
  113. For All SPEAr3xx machines:
  114. "firda", "i2c0", "ssp_cs", "ssp0", "mii0", "gpio0", "uart0_ext",
  115. "uart0", "timer_0_1", "timer_2_3"
  116. For SPEAr300 machines:
  117. "fsmc", "clcd", "tdm", "i2c1", "cam", "dac", "i2s", "sdhci", "gpio1"
  118. For SPEAr310 machines:
  119. "emi", "uart1", "uart2", "uart3", "uart4", "uart5", "fsmc", "rs485_0",
  120. "rs485_1", "tdm"
  121. For SPEAr320 machines:
  122. "clcd", "emi", "fsmc", "spp", "sdhci", "i2s", "uart1", "uart1_modem",
  123. "uart2", "uart3", "uart4", "uart5", "uart6", "rs485", "touchscreen",
  124. "can0", "can1", "pwm0_1", "pwm2", "pwm3", "ssp1", "ssp2", "mii2",
  125. "mii0_1", "i2c1", "i2c2"
  126. For SPEAr1310 machines:
  127. "i2c0", "ssp0", "i2s0", "i2s1", "clcd", "arm_gpio", "smi", "gmii",
  128. "rgmii", "smii_0_1_2", "ras_mii_txclk", "nand", "keyboard", "uart0",
  129. "gpt0", "gpt1", "sdhci", "cf", "xd", "touchscreen", "uart1", "uart2_3",
  130. "uart4", "uart5", "rs485_0_1_tdm_0_1", "i2c_1_2", "i2c3_i2s1",
  131. "i2c_4_5", "i2c_6_7", "can0", "can1", "pci", "sata", "ssp1", "gpt64"
  132. For SPEAr1340 machines:
  133. "pads_as_gpio", "fsmc", "keyboard", "spdif_in", "spdif_out", "gpt_0_1",
  134. "pwm", "vip", "cam0", "cam1", "cam2", "cam3", "smi", "ssp0", "uart0",
  135. "uart1", "i2s", "gmac", "i2c0", "i2c1", "cec0", "cec1", "sdhci", "cf",
  136. "xd", "clcd", "arm_trace", "miphy_dbg", "pcie", "sata"