aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/amazonse.dtsi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-17 19:56:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-17 19:56:03 +0000
commit04ad02d132fb14d509d14054313405f24cf1e8ff (patch)
tree16125f54abdb72ee2e51331839e70eb651d5d8fd /target/linux/lantiq/dts/amazonse.dtsi
parent5985c56ec6ba696bf8cc9f0eb90bd498b4bb46a1 (diff)
downloadupstream-04ad02d132fb14d509d14054313405f24cf1e8ff.tar.gz
upstream-04ad02d132fb14d509d14054313405f24cf1e8ff.tar.bz2
upstream-04ad02d132fb14d509d14054313405f24cf1e8ff.zip
lantiq: Switch to the new SPI driver
Compared to the "old" driver: - Each device must assign a pinctrl setting to the SPI node to allow the new SPI driver to configure the SPI pins. While here we are also using separate input and output settings so we are independent of whether the bootloader configures the pins correctly. - We use the new "compatible" strings to make the driver choose the correct number of chip-selects for each SoC. - The new driver starts counting the chip-selects at 1 (instead of 0, like the old one did). Thus we have to adjust the devices accordingly. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48293
Diffstat (limited to 'target/linux/lantiq/dts/amazonse.dtsi')
-rw-r--r--target/linux/lantiq/dts/amazonse.dtsi4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi
index 5389446eba..c0bba436d1 100644
--- a/target/linux/lantiq/dts/amazonse.dtsi
+++ b/target/linux/lantiq/dts/amazonse.dtsi
@@ -73,10 +73,12 @@
reg = <0x10000000 0xEF00000>;
spi@E100800 {
- compatible = "lantiq,spi-xway";
+ compatible = "lantiq,ase-spi";
reg = <0xE100800 0x100>;
interrupt-parent = <&icu0>;
interrupts = <24 25 26>;
+ interrupt-names = "spi_rx", "spi_tx", "spi_err",
+ "spi_frm";
#address-cells = <1>;
#size-cells = <1>;
};