diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-06-19 14:48:56 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-06-19 14:48:56 +0000 |
commit | 7c90f3b2b498531a267b0e85c4f634f65d76eba8 (patch) | |
tree | 7b34e2be994fc0c2bdd15a6868864b39be34d6bc /target/linux/mcs814x/patches-3.3/008-mcs814x_gpio.patch | |
parent | 5fa7ed291ee18d3d7e6f24ee803ac6cfb96b625e (diff) |
[mcs814x] add Moschip MSC814x support
This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.
Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core
Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32462 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mcs814x/patches-3.3/008-mcs814x_gpio.patch')
-rw-r--r-- | target/linux/mcs814x/patches-3.3/008-mcs814x_gpio.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/mcs814x/patches-3.3/008-mcs814x_gpio.patch b/target/linux/mcs814x/patches-3.3/008-mcs814x_gpio.patch new file mode 100644 index 0000000000..c19a9bae72 --- /dev/null +++ b/target/linux/mcs814x/patches-3.3/008-mcs814x_gpio.patch @@ -0,0 +1,25 @@ +--- a/drivers/gpio/Kconfig ++++ b/drivers/gpio/Kconfig +@@ -450,6 +450,12 @@ config GPIO_MC33880 + SPI driver for Freescale MC33880 high-side/low-side switch. + This provides GPIO interface supporting inputs and outputs. + ++config GPIO_MCS814X ++ tristate "Moschip MCS814x GPIO support" ++ depends on ARCH_MCS814X ++ help ++ GPIO driver for Moschip MCS814x SoC gpio controllers. ++ + config GPIO_74X164 + tristate "74x164 serial-in/parallel-out 8-bits shift register" + depends on SPI_MASTER +--- a/drivers/gpio/Makefile ++++ b/drivers/gpio/Makefile +@@ -26,6 +26,7 @@ obj-$(CONFIG_GPIO_MAX7300) += gpio-max73 + obj-$(CONFIG_GPIO_MAX7301) += gpio-max7301.o + obj-$(CONFIG_GPIO_MAX732X) += gpio-max732x.o + obj-$(CONFIG_GPIO_MC33880) += gpio-mc33880.o ++obj-$(CONFIG_GPIO_MCS814X) += gpio-mcs814x.o + obj-$(CONFIG_GPIO_MCP23S08) += gpio-mcp23s08.o + obj-$(CONFIG_GPIO_ML_IOH) += gpio-ml-ioh.o + obj-$(CONFIG_GPIO_MPC5200) += gpio-mpc5200.o |