ath79: use ar934x-spi for ar933x as well
authorChuanhong Guo <gch981213@gmail.com>
Thu, 6 Feb 2020 14:30:14 +0000 (22:30 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Thu, 6 Feb 2020 14:53:52 +0000 (22:53 +0800)
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>
target/linux/ath79/dts/ar9330.dtsi

index 042b70e0bb41019b894a191e8128ec72dd6b8850..8e52ae8fdb353028a376cd04951d9b808a71e5ca 100644 (file)
                };
 
                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>;