aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
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
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')
-rw-r--r--target/linux/ath79/dts/ar9344_qihoo_c301.dts1
-rw-r--r--target/linux/ath79/dts/ar934x.dtsi3
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi1
-rw-r--r--target/linux/ath79/dts/qca953x.dtsi5
-rw-r--r--target/linux/ath79/dts/qca9557.dtsi5
-rw-r--r--target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi1
-rw-r--r--target/linux/ath79/dts/qca9563_netgear_wndr.dtsi1
-rw-r--r--target/linux/ath79/dts/qca956x.dtsi5
8 files changed, 7 insertions, 15 deletions
diff --git a/target/linux/ath79/dts/ar9344_qihoo_c301.dts b/target/linux/ath79/dts/ar9344_qihoo_c301.dts
index 746c7f588e..46d1f4c4c8 100644
--- a/target/linux/ath79/dts/ar9344_qihoo_c301.dts
+++ b/target/linux/ath79/dts/ar9344_qihoo_c301.dts
@@ -110,7 +110,6 @@
status = "okay";
num-cs = <2>;
- cs-gpios= <0>, <0>;
flash@0 {
#address-cells = <1>;
diff --git a/target/linux/ath79/dts/ar934x.dtsi b/target/linux/ath79/dts/ar934x.dtsi
index 8cd0b4e086..c17623511b 100644
--- a/target/linux/ath79/dts/ar934x.dtsi
+++ b/target/linux/ath79/dts/ar934x.dtsi
@@ -183,11 +183,10 @@
};
spi: spi@1f000000 {
- compatible = "qca,ar9340-spi", "qca,ar7100-spi";
+ compatible = "qca,ar934x-spi";
reg = <0x1f000000 0x1c>;
clocks = <&pll ATH79_CLK_AHB>;
- clock-names = "ahb";
#address-cells = <1>;
#size-cells = <0>;
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
index f06305c47f..d769225fd4 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
@@ -76,7 +76,6 @@
status = "okay";
num-cs = <2>;
- cs-gpios = <0>, <0>;
flash@0 {
compatible = "jedec,spi-nor";
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";
diff --git a/target/linux/ath79/dts/qca9557.dtsi b/target/linux/ath79/dts/qca9557.dtsi
index d5d3f02544..69ea639804 100644
--- a/target/linux/ath79/dts/qca9557.dtsi
+++ b/target/linux/ath79/dts/qca9557.dtsi
@@ -292,11 +292,10 @@
};
spi: spi@1f000000 {
- compatible = "qca,ar9557-spi", "qca,ar7100-spi";
- reg = <0x1f000000 0x10>;
+ compatible = "qca,ar934x-spi";
+ reg = <0x1f000000 0x1c>;
clocks = <&pll ATH79_CLK_AHB>;
- clock-names = "ahb";
status = "disabled";
diff --git a/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi b/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi
index 3e30a0fd0b..8a00029c65 100644
--- a/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi
+++ b/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi
@@ -75,7 +75,6 @@
status = "okay";
num-cs = <2>;
- cs-gpios = <0>, <0>;
flash_nor: flash@0 {
compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi b/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
index bc06c5bd9d..29b422536f 100644
--- a/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
+++ b/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
@@ -100,7 +100,6 @@
status = "okay";
num-cs = <2>;
- cs-gpios = <0>, <0>;
flash@0 {
compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca956x.dtsi b/target/linux/ath79/dts/qca956x.dtsi
index 03541b86fb..d0ce952ef4 100644
--- a/target/linux/ath79/dts/qca956x.dtsi
+++ b/target/linux/ath79/dts/qca956x.dtsi
@@ -215,11 +215,10 @@
};
spi: spi@1f000000 {
- compatible = "qca,qca9560-spi", "qca,ar7100-spi";
- reg = <0x1f000000 0x10>;
+ compatible = "qca,ar934x-spi";
+ reg = <0x1f000000 0x1c>;
clocks = <&pll ATH79_CLK_AHB>;
- clock-names = "ahb";
status = "disabled";