aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/at91/patches/805-free_some_portc_pins.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/at91/patches/805-free_some_portc_pins.patch')
-rw-r--r--target/linux/at91/patches/805-free_some_portc_pins.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/at91/patches/805-free_some_portc_pins.patch b/target/linux/at91/patches/805-free_some_portc_pins.patch
new file mode 100644
index 000000000..df8e50a03
--- /dev/null
+++ b/target/linux/at91/patches/805-free_some_portc_pins.patch
@@ -0,0 +1,11 @@
+--- a/arch/arm/mach-at91/at91sam9260_devices.c
++++ b/arch/arm/mach-at91/at91sam9260_devices.c
+@@ -579,7 +579,7 @@ static struct platform_device at91sam926
+ .num_resources = ARRAY_SIZE(spi1_resources),
+ };
+
+-static const unsigned spi1_standard_cs[4] = { AT91_PIN_PB3, AT91_PIN_PC5, AT91_PIN_PC4, AT91_PIN_PC3 };
++static const unsigned spi1_standard_cs[2] = { AT91_PIN_PB3, AT91_PIN_PC5 };
+
+ void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices)
+ {