diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2020-02-05 20:25:45 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2020-02-06 22:53:03 +0800 |
commit | ebf0d8dadeca443121f4f597c51bf6591e341caf (patch) | |
tree | 341142f850c8e0de669657487fe62f53c2fddfdb /target/linux/ath79/dts/ar934x.dtsi | |
parent | aca274091ad3b50b770c0dd44f3ceefe8095d528 (diff) | |
download | upstream-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/ar934x.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ar934x.dtsi | 3 |
1 files changed, 1 insertions, 2 deletions
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>; |