Commit 266a2458 authored by Benjamin Zores's avatar Benjamin Zores Committed by Nicolas Pitre

[ARM] Kirkwood: update MPP definition.

Add MPP definitions for Marvell Kirkwood 88F6282 revision.
Update some defines to reflect datasheet's MPP names.
Signed-off-by: default avatarBenjamin Zores <benjamin.zores@alcatel-lucent.com>
Signed-off-by: default avatarNicolas Pitre <nico@fluxnic.net>
parent f8e00530
This diff is collapsed.
...@@ -249,8 +249,8 @@ static unsigned int netspace_v2_mpp_config[] __initdata = { ...@@ -249,8 +249,8 @@ static unsigned int netspace_v2_mpp_config[] __initdata = {
MPP4_NF_IO6, MPP4_NF_IO6,
MPP5_NF_IO7, MPP5_NF_IO7,
MPP6_SYSRST_OUTn, MPP6_SYSRST_OUTn,
MPP8_TW_SDA, MPP8_TW0_SDA,
MPP9_TW_SCK, MPP9_TW0_SCK,
MPP10_UART0_TXD, MPP10_UART0_TXD,
MPP11_UART0_RXD, MPP11_UART0_RXD,
MPP12_GPO, /* Red led */ MPP12_GPO, /* Red led */
......
...@@ -270,8 +270,8 @@ static unsigned int net2big_v2_mpp_config[] __initdata = { ...@@ -270,8 +270,8 @@ static unsigned int net2big_v2_mpp_config[] __initdata = {
MPP3_SPI_MISO, MPP3_SPI_MISO,
MPP6_SYSRST_OUTn, MPP6_SYSRST_OUTn,
MPP7_GPO, /* Request power-off */ MPP7_GPO, /* Request power-off */
MPP8_TW_SDA, MPP8_TW0_SDA,
MPP9_TW_SCK, MPP9_TW0_SCK,
MPP10_UART0_TXD, MPP10_UART0_TXD,
MPP11_UART0_RXD, MPP11_UART0_RXD,
MPP13_GPIO, /* Rear power switch (on|auto) */ MPP13_GPIO, /* Rear power switch (on|auto) */
...@@ -306,8 +306,8 @@ static unsigned int net5big_v2_mpp_config[] __initdata = { ...@@ -306,8 +306,8 @@ static unsigned int net5big_v2_mpp_config[] __initdata = {
MPP3_SPI_MISO, MPP3_SPI_MISO,
MPP6_SYSRST_OUTn, MPP6_SYSRST_OUTn,
MPP7_GPO, /* Request power-off */ MPP7_GPO, /* Request power-off */
MPP8_TW_SDA, MPP8_TW0_SDA,
MPP9_TW_SCK, MPP9_TW0_SCK,
MPP10_UART0_TXD, MPP10_UART0_TXD,
MPP11_UART0_RXD, MPP11_UART0_RXD,
MPP13_GPIO, /* Rear power switch (on|auto) */ MPP13_GPIO, /* Rear power switch (on|auto) */
...@@ -315,20 +315,20 @@ static unsigned int net5big_v2_mpp_config[] __initdata = { ...@@ -315,20 +315,20 @@ static unsigned int net5big_v2_mpp_config[] __initdata = {
MPP15_GPIO, /* Rear power switch (auto|off) */ MPP15_GPIO, /* Rear power switch (auto|off) */
MPP16_GPIO, /* SATA HDD1 power */ MPP16_GPIO, /* SATA HDD1 power */
MPP17_GPIO, /* SATA HDD2 power */ MPP17_GPIO, /* SATA HDD2 power */
MPP20_GE1_0, MPP20_GE1_TXD0,
MPP21_GE1_1, MPP21_GE1_TXD1,
MPP22_GE1_2, MPP22_GE1_TXD2,
MPP23_GE1_3, MPP23_GE1_TXD3,
MPP24_GE1_4, MPP24_GE1_RXD0,
MPP25_GE1_5, MPP25_GE1_RXD1,
MPP26_GE1_6, MPP26_GE1_RXD2,
MPP27_GE1_7, MPP27_GE1_RXD3,
MPP28_GPIO, /* USB enable host vbus */ MPP28_GPIO, /* USB enable host vbus */
MPP29_GPIO, /* CPLD extension ALE */ MPP29_GPIO, /* CPLD extension ALE */
MPP30_GE1_10, MPP30_GE1_RXCTL,
MPP31_GE1_11, MPP31_GE1_RXCLK,
MPP32_GE1_12, MPP32_GE1_TCLKOUT,
MPP33_GE1_13, MPP33_GE1_TXCTL,
MPP34_GPIO, /* Rear Push button */ MPP34_GPIO, /* Rear Push button */
MPP35_GPIO, /* Inhibit switch power-off */ MPP35_GPIO, /* Inhibit switch power-off */
MPP36_GPIO, /* SATA HDD1 presence */ MPP36_GPIO, /* SATA HDD1 presence */
......
...@@ -74,8 +74,8 @@ static unsigned int qnap_ts219_mpp_config[] __initdata = { ...@@ -74,8 +74,8 @@ static unsigned int qnap_ts219_mpp_config[] __initdata = {
MPP3_SPI_MISO, MPP3_SPI_MISO,
MPP4_SATA1_ACTn, MPP4_SATA1_ACTn,
MPP5_SATA0_ACTn, MPP5_SATA0_ACTn,
MPP8_TW_SDA, MPP8_TW0_SDA,
MPP9_TW_SCK, MPP9_TW0_SCK,
MPP10_UART0_TXD, MPP10_UART0_TXD,
MPP11_UART0_RXD, MPP11_UART0_RXD,
MPP13_UART1_TXD, /* PIC controller */ MPP13_UART1_TXD, /* PIC controller */
......
...@@ -81,26 +81,26 @@ static unsigned int qnap_ts41x_mpp_config[] __initdata = { ...@@ -81,26 +81,26 @@ static unsigned int qnap_ts41x_mpp_config[] __initdata = {
MPP3_SPI_MISO, MPP3_SPI_MISO,
MPP6_SYSRST_OUTn, MPP6_SYSRST_OUTn,
MPP7_PEX_RST_OUTn, MPP7_PEX_RST_OUTn,
MPP8_TW_SDA, MPP8_TW0_SDA,
MPP9_TW_SCK, MPP9_TW0_SCK,
MPP10_UART0_TXD, MPP10_UART0_TXD,
MPP11_UART0_RXD, MPP11_UART0_RXD,
MPP13_UART1_TXD, /* PIC controller */ MPP13_UART1_TXD, /* PIC controller */
MPP14_UART1_RXD, /* PIC controller */ MPP14_UART1_RXD, /* PIC controller */
MPP15_SATA0_ACTn, MPP15_SATA0_ACTn,
MPP16_SATA1_ACTn, MPP16_SATA1_ACTn,
MPP20_GE1_0, MPP20_GE1_TXD0,
MPP21_GE1_1, MPP21_GE1_TXD1,
MPP22_GE1_2, MPP22_GE1_TXD2,
MPP23_GE1_3, MPP23_GE1_TXD3,
MPP24_GE1_4, MPP24_GE1_RXD0,
MPP25_GE1_5, MPP25_GE1_RXD1,
MPP26_GE1_6, MPP26_GE1_RXD2,
MPP27_GE1_7, MPP27_GE1_RXD3,
MPP30_GE1_10, MPP30_GE1_RXCTL,
MPP31_GE1_11, MPP31_GE1_RXCLK,
MPP32_GE1_12, MPP32_GE1_TCLKOUT,
MPP33_GE1_13, MPP33_GE1_TXCTL,
MPP36_GPIO, /* RAM: 0: 256 MB, 1: 512 MB */ MPP36_GPIO, /* RAM: 0: 256 MB, 1: 512 MB */
MPP37_GPIO, /* Reset button */ MPP37_GPIO, /* Reset button */
MPP43_GPIO, /* USB Copy button */ MPP43_GPIO, /* USB Copy button */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment