summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuanhong Guo2020-02-06 14:30:14 +0000
committerChuanhong Guo2020-02-06 14:53:52 +0000
commit0046aef672cbd5f1d6300cd559cb77b7f83c01be (patch)
tree1d17ad4398bde627e1d7be252156663cbce37e02
parentebf0d8dadeca443121f4f597c51bf6591e341caf (diff)
downloadopenwrt-0046aef672cbd5f1d6300cd559cb77b7f83c01be.tar.gz
ath79: use ar934x-spi for ar933x as well
ar933x appears to have the same spi controller as ar934x but it's not mentioned in datasheet at all. Use new spi driver instead to gain more flash operating performance. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
-rw-r--r--target/linux/ath79/dts/ar9330.dtsi5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/ar9330.dtsi b/target/linux/ath79/dts/ar9330.dtsi
index 042b70e0bb..8e52ae8fdb 100644
--- a/target/linux/ath79/dts/ar9330.dtsi
+++ b/target/linux/ath79/dts/ar9330.dtsi
@@ -119,11 +119,10 @@
};
spi: spi@1f000000 {
- compatible = "qca,ar7100-spi";
- reg = <0x1f000000 0x10>;
+ compatible = "qca,ar934x-spi";
+ reg = <0x1f000000 0x1c>;
clocks = <&pll ATH79_CLK_AHB>;
- clock-names = "ahb";
#address-cells = <1>;
#size-cells = <0>;