aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca953x.dtsi
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2020-02-05 20:25:45 +0800
committerChuanhong Guo <gch981213@gmail.com>2020-02-06 22:53:03 +0800
commitebf0d8dadeca443121f4f597c51bf6591e341caf (patch)
tree341142f850c8e0de669657487fe62f53c2fddfdb /target/linux/ath79/dts/qca953x.dtsi
parentaca274091ad3b50b770c0dd44f3ceefe8095d528 (diff)
downloadupstream-ebf0d8dadeca443121f4f597c51bf6591e341caf.tar.gz
upstream-ebf0d8dadeca443121f4f597c51bf6591e341caf.tar.bz2
upstream-ebf0d8dadeca443121f4f597c51bf6591e341caf.zip
ath79: add new ar934x spi driver
A new shift mode was introduced since ar934x which has a way better performance than current bitbang driver and can handle higher spi clock properly. This commit adds a new driver to make use of this new feature. This new driver has chipselect properly configured and we don't need cs-gpios hack in dts anymore. Remove them. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/qca953x.dtsi')
-rw-r--r--target/linux/ath79/dts/qca953x.dtsi5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/qca953x.dtsi b/target/linux/ath79/dts/qca953x.dtsi
index 73a6ad91e5..e359badd2b 100644
--- a/target/linux/ath79/dts/qca953x.dtsi
+++ b/target/linux/ath79/dts/qca953x.dtsi
@@ -201,11 +201,10 @@
};
spi: spi@1f000000 {
- compatible = "qca,ar9530-spi", "qca,ar7100-spi";
- reg = <0x1f000000 0x10>;
+ compatible = "qca,ar934x-spi";
+ reg = <0x1f000000 0x1c>;
clocks = <&pll ATH79_CLK_AHB>;
- clock-names = "ahb";
status = "disabled";