diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 19:56:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 19:56:03 +0000 |
commit | 04ad02d132fb14d509d14054313405f24cf1e8ff (patch) | |
tree | 16125f54abdb72ee2e51331839e70eb651d5d8fd /target/linux/lantiq/dts/vr9.dtsi | |
parent | 5985c56ec6ba696bf8cc9f0eb90bd498b4bb46a1 (diff) | |
download | mtk-20170518-04ad02d132fb14d509d14054313405f24cf1e8ff.zip mtk-20170518-04ad02d132fb14d509d14054313405f24cf1e8ff.tar.gz mtk-20170518-04ad02d132fb14d509d14054313405f24cf1e8ff.tar.bz2 |
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/vr9.dtsi')
-rw-r--r-- | target/linux/lantiq/dts/vr9.dtsi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi index e38541e..fce6f87 100644 --- a/target/linux/lantiq/dts/vr9.dtsi +++ b/target/linux/lantiq/dts/vr9.dtsi @@ -113,10 +113,12 @@ }; spi: spi@E100800 { - compatible = "lantiq,spi-xway"; + compatible = "lantiq,xrx200-spi"; reg = <0xE100800 0x100>; interrupt-parent = <&icu0>; interrupts = <22 23 24>; + interrupt-names = "spi_rx", "spi_tx", "spi_err", + "spi_frm"; #address-cells = <1>; #size-cells = <1>; status = "disabled"; |