162306a36Sopenharmony_ciST Microelectronics, SPEAr pinmux controller
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciRequired properties:
462306a36Sopenharmony_ci- compatible	: "st,spear300-pinmux"
562306a36Sopenharmony_ci		: "st,spear310-pinmux"
662306a36Sopenharmony_ci		: "st,spear320-pinmux"
762306a36Sopenharmony_ci		: "st,spear1310-pinmux"
862306a36Sopenharmony_ci		: "st,spear1340-pinmux"
962306a36Sopenharmony_ci- reg		: Address range of the pinctrl registers
1062306a36Sopenharmony_ci- st,pinmux-mode: Mandatory for SPEAr300 and SPEAr320 and invalid for others.
1162306a36Sopenharmony_ci	- Its values for SPEAr300:
1262306a36Sopenharmony_ci		- NAND_MODE		: <0>
1362306a36Sopenharmony_ci		- NOR_MODE		: <1>
1462306a36Sopenharmony_ci		- PHOTO_FRAME_MODE	: <2>
1562306a36Sopenharmony_ci		- LEND_IP_PHONE_MODE	: <3>
1662306a36Sopenharmony_ci		- HEND_IP_PHONE_MODE	: <4>
1762306a36Sopenharmony_ci		- LEND_WIFI_PHONE_MODE	: <5>
1862306a36Sopenharmony_ci		- HEND_WIFI_PHONE_MODE	: <6>
1962306a36Sopenharmony_ci		- ATA_PABX_WI2S_MODE	: <7>
2062306a36Sopenharmony_ci		- ATA_PABX_I2S_MODE	: <8>
2162306a36Sopenharmony_ci		- CAML_LCDW_MODE	: <9>
2262306a36Sopenharmony_ci		- CAMU_LCD_MODE		: <10>
2362306a36Sopenharmony_ci		- CAMU_WLCD_MODE	: <11>
2462306a36Sopenharmony_ci		- CAML_LCD_MODE		: <12>
2562306a36Sopenharmony_ci	- Its values for SPEAr320:
2662306a36Sopenharmony_ci		- AUTO_NET_SMII_MODE	: <0>
2762306a36Sopenharmony_ci		- AUTO_NET_MII_MODE	: <1>
2862306a36Sopenharmony_ci		- AUTO_EXP_MODE		: <2>
2962306a36Sopenharmony_ci		- SMALL_PRINTERS_MODE	: <3>
3062306a36Sopenharmony_ci		- EXTENDED_MODE		: <4>
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciPlease refer to pinctrl-bindings.txt in this directory for details of the common
3362306a36Sopenharmony_cipinctrl bindings used by client devices.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciSPEAr's pinmux nodes act as a container for an arbitrary number of subnodes. Each
3662306a36Sopenharmony_ciof these subnodes represents muxing for a pin, a group, or a list of pins or
3762306a36Sopenharmony_cigroups.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciThe name of each subnode is not important; all subnodes should be enumerated
4062306a36Sopenharmony_ciand processed purely based on their content.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciRequired subnode-properties:
4362306a36Sopenharmony_ci- st,pins : An array of strings. Each string contains the name of a pin or
4462306a36Sopenharmony_ci  group.
4562306a36Sopenharmony_ci- st,function: A string containing the name of the function to mux to the pin or
4662306a36Sopenharmony_ci  group. See the SPEAr's TRM to determine which are valid for each pin or group.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci  Valid values for group and function names can be found from looking at the
4962306a36Sopenharmony_ci  group and function arrays in driver files:
5062306a36Sopenharmony_ci  drivers/pinctrl/spear/pinctrl-spear3*0.c
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ciValid values for group names are:
5362306a36Sopenharmony_ciFor All SPEAr3xx machines:
5462306a36Sopenharmony_ci	"firda_grp", "i2c0_grp", "ssp_cs_grp", "ssp0_grp", "mii0_grp",
5562306a36Sopenharmony_ci	"gpio0_pin0_grp", "gpio0_pin1_grp", "gpio0_pin2_grp", "gpio0_pin3_grp",
5662306a36Sopenharmony_ci	"gpio0_pin4_grp", "gpio0_pin5_grp", "uart0_ext_grp", "uart0_grp",
5762306a36Sopenharmony_ci	"timer_0_1_grp", timer_0_1_pins, "timer_2_3_grp"
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciFor SPEAr300 machines:
6062306a36Sopenharmony_ci	"fsmc_2chips_grp", "fsmc_4chips_grp", "clcd_lcdmode_grp",
6162306a36Sopenharmony_ci	"clcd_pfmode_grp", "tdm_grp", "i2c_clk_grp_grp", "caml_grp", "camu_grp",
6262306a36Sopenharmony_ci	"dac_grp", "i2s_grp", "sdhci_4bit_grp", "sdhci_8bit_grp",
6362306a36Sopenharmony_ci	"gpio1_0_to_3_grp", "gpio1_4_to_7_grp"
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ciFor SPEAr310 machines:
6662306a36Sopenharmony_ci	"emi_cs_0_to_5_grp", "uart1_grp", "uart2_grp", "uart3_grp", "uart4_grp",
6762306a36Sopenharmony_ci	"uart5_grp", "fsmc_grp", "rs485_0_grp", "rs485_1_grp", "tdm_grp"
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciFor SPEAr320 machines:
7062306a36Sopenharmony_ci	"clcd_grp", "emi_grp", "fsmc_8bit_grp", "fsmc_16bit_grp", "spp_grp",
7162306a36Sopenharmony_ci	"sdhci_led_grp", "sdhci_cd_12_grp", "sdhci_cd_51_grp", "i2s_grp",
7262306a36Sopenharmony_ci	"uart1_grp", "uart1_modem_2_to_7_grp", "uart1_modem_31_to_36_grp",
7362306a36Sopenharmony_ci	"uart1_modem_34_to_45_grp", "uart1_modem_80_to_85_grp", "uart2_grp",
7462306a36Sopenharmony_ci	"uart3_8_9_grp", "uart3_15_16_grp", "uart3_41_42_grp",
7562306a36Sopenharmony_ci	"uart3_52_53_grp", "uart3_73_74_grp", "uart3_94_95_grp",
7662306a36Sopenharmony_ci	"uart3_98_99_grp", "uart4_6_7_grp", "uart4_13_14_grp",
7762306a36Sopenharmony_ci	"uart4_39_40_grp", "uart4_71_72_grp", "uart4_92_93_grp",
7862306a36Sopenharmony_ci	"uart4_100_101_grp", "uart5_4_5_grp", "uart5_37_38_grp",
7962306a36Sopenharmony_ci	"uart5_69_70_grp", "uart5_90_91_grp", "uart6_2_3_grp",
8062306a36Sopenharmony_ci	"uart6_88_89_grp", "rs485_grp", "touchscreen_grp", "can0_grp",
8162306a36Sopenharmony_ci	"can1_grp", "pwm0_1_pin_8_9_grp", "pwm0_1_pin_14_15_grp",
8262306a36Sopenharmony_ci	"pwm0_1_pin_30_31_grp", "pwm0_1_pin_37_38_grp", "pwm0_1_pin_42_43_grp",
8362306a36Sopenharmony_ci	"pwm0_1_pin_59_60_grp", "pwm0_1_pin_88_89_grp", "pwm2_pin_7_grp",
8462306a36Sopenharmony_ci	"pwm2_pin_13_grp", "pwm2_pin_29_grp", "pwm2_pin_34_grp",
8562306a36Sopenharmony_ci	"pwm2_pin_41_grp", "pwm2_pin_58_grp", "pwm2_pin_87_grp",
8662306a36Sopenharmony_ci	"pwm3_pin_6_grp", "pwm3_pin_12_grp", "pwm3_pin_28_grp",
8762306a36Sopenharmony_ci	"pwm3_pin_40_grp", "pwm3_pin_57_grp", "pwm3_pin_86_grp",
8862306a36Sopenharmony_ci	"ssp1_17_20_grp", "ssp1_36_39_grp", "ssp1_48_51_grp", "ssp1_65_68_grp",
8962306a36Sopenharmony_ci	"ssp1_94_97_grp", "ssp2_13_16_grp", "ssp2_32_35_grp", "ssp2_44_47_grp",
9062306a36Sopenharmony_ci	"ssp2_61_64_grp", "ssp2_90_93_grp", "mii2_grp", "smii0_1_grp",
9162306a36Sopenharmony_ci	"rmii0_1_grp", "i2c1_8_9_grp", "i2c1_98_99_grp", "i2c2_0_1_grp",
9262306a36Sopenharmony_ci	"i2c2_2_3_grp", "i2c2_19_20_grp", "i2c2_75_76_grp", "i2c2_96_97_grp"
9362306a36Sopenharmony_ci
9462306a36Sopenharmony_ciFor SPEAr1310 machines:
9562306a36Sopenharmony_ci	"i2c0_grp", "ssp0_grp", "ssp0_cs0_grp", "ssp0_cs1_2_grp", "i2s0_grp",
9662306a36Sopenharmony_ci	"i2s1_grp", "clcd_grp", "clcd_high_res_grp", "arm_gpio_grp",
9762306a36Sopenharmony_ci	"smi_2_chips_grp", "smi_4_chips_grp", "gmii_grp", "rgmii_grp",
9862306a36Sopenharmony_ci	"smii_0_1_2_grp", "ras_mii_txclk_grp", "nand_8bit_grp",
9962306a36Sopenharmony_ci	"nand_16bit_grp", "nand_4_chips_grp", "keyboard_6x6_grp",
10062306a36Sopenharmony_ci	"keyboard_rowcol6_8_grp", "uart0_grp", "uart0_modem_grp",
10162306a36Sopenharmony_ci	"gpt0_tmr0_grp", "gpt0_tmr1_grp", "gpt1_tmr0_grp", "gpt1_tmr1_grp",
10262306a36Sopenharmony_ci	"sdhci_grp", "cf_grp", "xd_grp", "touch_xy_grp",
10362306a36Sopenharmony_ci	"uart1_disable_i2c_grp", "uart1_disable_sd_grp", "uart2_3_grp",
10462306a36Sopenharmony_ci	"uart4_grp", "uart5_grp", "rs485_0_1_tdm_0_1_grp", "i2c_1_2_grp",
10562306a36Sopenharmony_ci	"i2c3_dis_smi_clcd_grp", "i2c3_dis_sd_i2s0_grp", "i2c_4_5_dis_smi_grp",
10662306a36Sopenharmony_ci	"i2c4_dis_sd_grp", "i2c5_dis_sd_grp", "i2c_6_7_dis_kbd_grp",
10762306a36Sopenharmony_ci	"i2c6_dis_sd_grp", "i2c7_dis_sd_grp", "can0_dis_nor_grp",
10862306a36Sopenharmony_ci	"can0_dis_sd_grp", "can1_dis_sd_grp", "can1_dis_kbd_grp", "pcie0_grp",
10962306a36Sopenharmony_ci	"pcie1_grp", "pcie2_grp", "sata0_grp", "sata1_grp", "sata2_grp",
11062306a36Sopenharmony_ci	"ssp1_dis_kbd_grp", "ssp1_dis_sd_grp", "gpt64_grp"
11162306a36Sopenharmony_ci
11262306a36Sopenharmony_ciFor SPEAr1340 machines:
11362306a36Sopenharmony_ci	"pads_as_gpio_grp", "fsmc_8bit_grp", "fsmc_16bit_grp", "fsmc_pnor_grp",
11462306a36Sopenharmony_ci	"keyboard_row_col_grp", "keyboard_col5_grp", "spdif_in_grp",
11562306a36Sopenharmony_ci	"spdif_out_grp", "gpt_0_1_grp", "pwm0_grp", "pwm1_grp", "pwm2_grp",
11662306a36Sopenharmony_ci	"pwm3_grp", "vip_mux_grp", "vip_mux_cam0_grp", "vip_mux_cam1_grp",
11762306a36Sopenharmony_ci	"vip_mux_cam2_grp", "vip_mux_cam3_grp", "cam0_grp", "cam1_grp",
11862306a36Sopenharmony_ci	"cam2_grp", "cam3_grp", "smi_grp", "ssp0_grp", "ssp0_cs1_grp",
11962306a36Sopenharmony_ci	"ssp0_cs2_grp", "ssp0_cs3_grp", "uart0_grp", "uart0_enh_grp",
12062306a36Sopenharmony_ci	"uart1_grp", "i2s_in_grp", "i2s_out_grp", "gmii_grp", "rgmii_grp",
12162306a36Sopenharmony_ci	"rmii_grp", "sgmii_grp", "i2c0_grp", "i2c1_grp", "cec0_grp", "cec1_grp",
12262306a36Sopenharmony_ci	"sdhci_grp", "cf_grp", "xd_grp", "clcd_grp", "arm_trace_grp",
12362306a36Sopenharmony_ci	"miphy_dbg_grp", "pcie_grp", "sata_grp"
12462306a36Sopenharmony_ci
12562306a36Sopenharmony_ciValid values for function names are:
12662306a36Sopenharmony_ciFor All SPEAr3xx machines:
12762306a36Sopenharmony_ci	"firda", "i2c0", "ssp_cs", "ssp0", "mii0", "gpio0", "uart0_ext",
12862306a36Sopenharmony_ci	"uart0", "timer_0_1", "timer_2_3"
12962306a36Sopenharmony_ci
13062306a36Sopenharmony_ciFor SPEAr300 machines:
13162306a36Sopenharmony_ci	"fsmc", "clcd", "tdm", "i2c1", "cam", "dac", "i2s", "sdhci", "gpio1"
13262306a36Sopenharmony_ci
13362306a36Sopenharmony_ciFor SPEAr310 machines:
13462306a36Sopenharmony_ci	"emi", "uart1", "uart2", "uart3", "uart4", "uart5", "fsmc", "rs485_0",
13562306a36Sopenharmony_ci	"rs485_1", "tdm"
13662306a36Sopenharmony_ci
13762306a36Sopenharmony_ciFor SPEAr320 machines:
13862306a36Sopenharmony_ci	"clcd", "emi", "fsmc", "spp", "sdhci", "i2s", "uart1", "uart1_modem",
13962306a36Sopenharmony_ci	"uart2", "uart3", "uart4", "uart5", "uart6", "rs485", "touchscreen",
14062306a36Sopenharmony_ci	"can0", "can1", "pwm0_1", "pwm2", "pwm3", "ssp1", "ssp2", "mii2",
14162306a36Sopenharmony_ci	"mii0_1", "i2c1", "i2c2"
14262306a36Sopenharmony_ci
14362306a36Sopenharmony_ci
14462306a36Sopenharmony_ciFor SPEAr1310 machines:
14562306a36Sopenharmony_ci	"i2c0", "ssp0", "i2s0", "i2s1", "clcd", "arm_gpio", "smi", "gmii",
14662306a36Sopenharmony_ci	"rgmii", "smii_0_1_2", "ras_mii_txclk", "nand", "keyboard", "uart0",
14762306a36Sopenharmony_ci	"gpt0", "gpt1", "sdhci", "cf", "xd", "touchscreen", "uart1", "uart2_3",
14862306a36Sopenharmony_ci	"uart4", "uart5", "rs485_0_1_tdm_0_1", "i2c_1_2", "i2c3_i2s1",
14962306a36Sopenharmony_ci	"i2c_4_5", "i2c_6_7", "can0", "can1", "pci", "sata", "ssp1", "gpt64"
15062306a36Sopenharmony_ci
15162306a36Sopenharmony_ciFor SPEAr1340 machines:
15262306a36Sopenharmony_ci	"pads_as_gpio", "fsmc", "keyboard", "spdif_in", "spdif_out", "gpt_0_1",
15362306a36Sopenharmony_ci	"pwm", "vip", "cam0", "cam1", "cam2", "cam3", "smi", "ssp0", "uart0",
15462306a36Sopenharmony_ci	"uart1", "i2s", "gmac", "i2c0", "i2c1", "cec0", "cec1", "sdhci", "cf",
15562306a36Sopenharmony_ci	"xd", "clcd", "arm_trace", "miphy_dbg", "pcie", "sata"
156