diff options
author | John Crispin <blogic@openwrt.org> | 2015-04-21 12:42:05 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-04-21 12:42:05 +0000 |
commit | 9ff605294a6074e2a4361854922fac3f8a1e166e (patch) | |
tree | 31922ab97f81f03ab09231a6594dce6bb37746fe /target/linux/ar71xx/patches-3.18/609-MIPS-ath79-ap136-fixes.patch | |
parent | f43a75fe1a0489e90178d80b2c68e70a5750d9fe (diff) | |
download | master-187ad058-9ff605294a6074e2a4361854922fac3f8a1e166e.tar.gz master-187ad058-9ff605294a6074e2a4361854922fac3f8a1e166e.tar.bz2 master-187ad058-9ff605294a6074e2a4361854922fac3f8a1e166e.zip |
ar71xx: spi cleanup for ap121, db120, ubnt-xm and ap136
Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45552 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.18/609-MIPS-ath79-ap136-fixes.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.18/609-MIPS-ath79-ap136-fixes.patch | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/target/linux/ar71xx/patches-3.18/609-MIPS-ath79-ap136-fixes.patch b/target/linux/ar71xx/patches-3.18/609-MIPS-ath79-ap136-fixes.patch index ef0ae9a323..af7368a4d9 100644 --- a/target/linux/ar71xx/patches-3.18/609-MIPS-ath79-ap136-fixes.patch +++ b/target/linux/ar71xx/patches-3.18/609-MIPS-ath79-ap136-fixes.patch @@ -86,13 +86,10 @@ .gpio = AP136_GPIO_LED_USB, .active_low = 1, } -@@ -98,65 +106,151 @@ static struct gpio_keys_button ap136_gpi +@@ -98,59 +106,151 @@ static struct gpio_keys_button ap136_gpi }, }; --static struct ath79_spi_controller_data ap136_spi0_data = { -- .cs_type = ATH79_SPI_CS_TYPE_INTERNAL, -- .cs_line = 0, +static struct ar8327_pad_cfg ap136_ar8327_pad0_cfg; +static struct ar8327_pad_cfg ap136_ar8327_pad6_cfg; + @@ -113,8 +110,8 @@ + .txpause = 1, + .rxpause = 1, + }, - }; - ++}; ++ -static struct spi_board_info ap136_spi_info[] = { +static struct mdio_board_info ap136_mdio0_info[] = { { @@ -122,7 +119,6 @@ - .chip_select = 0, - .max_speed_hz = 25000000, - .modalias = "mx25l6405d", -- .controller_data = &ap136_spi0_data, - } + .bus_id = "ag71xx-mdio.0", + .phy_addr = 0, |