ath79: remove num-chipselects from SPI controller
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 29 Nov 2020 16:07:17 +0000 (17:07 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 4 Dec 2020 14:48:54 +0000 (15:48 +0100)
The num-chipselects property is only valid for bit-banged spi-gpio [1].

For the generic SPI controller bindings, num-cs would be the correct
property [2].

Since num-cs is not required on ath79 either, just drop the lines.

[1] https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-gpio.yaml
[2] https://www.kernel.org/doc/Documentation/devicetree/bindings/spi/spi-controller.yaml

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/dts/ar9330_dlink_dir-505.dts
target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
target/linux/ath79/dts/ar9331_8dev_carambola2.dts
target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
target/linux/ath79/dts/ar9331_etactica_eg200.dts
target/linux/ath79/dts/ar9331_glinet_gl-mifi.dts
target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts
target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts
target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts

index 15e29f552ef7f383d0eadaf83e2212a2b2b67d95..574165b74827312813563ad6c9962ebfb49c5b67 100644 (file)
@@ -88,7 +88,6 @@
 };
 
 &spi {
-       num-chipselects = <1>;
        status = "okay";
 
        flash@0 {
index 26b3b3f04cb2448aaf7138c7719f3ec50c6f3e53..20c9a8fdd40e2ac00dc0e4d38fd831f82cb2aca9 100644 (file)
@@ -79,8 +79,6 @@
 &spi {
        status = "okay";
 
-       num-chipselects = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                spi-max-frequency = <50000000>;
index 85e70495fcfbe7502ede741c9391d70e35307141..42193f857c2bd1fac6fa4d520c976492ebfae783 100644 (file)
@@ -63,7 +63,6 @@
 };
 
 &spi {
-       num-chipselects = <0>;
        status = "okay";
 
        flash@0 {
index 93031214085c223a43c3079dbf7d4da18577f4d1..12f1e93d44f30e2734f94a23780bbb5527a0cbb0 100644 (file)
@@ -59,8 +59,6 @@
 &spi {
        status = "okay";
 
-       num-chipselects = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                spi-max-frequency = <50000000>;
index 0d7b7cfb84c1a35542132d303c6bbd0dedf2f368..e6feb54fcdbe38b1681a1de716bba7d18346930e 100644 (file)
@@ -83,7 +83,6 @@
 };
 
 &spi {
-       num-chipselects = <1>;
        status = "okay";
 
        flash@0 {
index d62bdd9d6727ed4e38f30079c30699d738a98679..67b587ab6ec5729c954608ad46c5b57703993a03 100644 (file)
@@ -87,8 +87,6 @@
 &spi {
        status = "okay";
 
-       num-chipselects = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                spi-max-frequency = <33000000>;
index 7c52ae1617171fd058813d5543e32085888e6969..e9533553a12719aaaa2fd14480f763dbfb463952 100644 (file)
 &spi {
        status = "okay";
 
-       num-chipselects = <1>;
-
        /* Spansion S25FL032PIF SPI flash */
        flash@0 {
                compatible = "jedec,spi-nor";
index da04aad6cb1e46b86f7a62d32227b7cfed213cb5..c5f7a4fe76ec5e632550eef2239055cd4c68ce3b 100644 (file)
 &spi {
        status = "okay";
 
-       num-chipselects = <1>;
-
        flash@0 {
                compatible = "jedec,spi-nor";
                spi-max-frequency = <50000000>;
index f2cb35eae990bb27ac902eb448b7c7768021958f..5f24bf23d6c71afb652835bb96611330a4ae5b2f 100644 (file)
@@ -97,7 +97,6 @@
 };
 
 &spi {
-       num-chipselects = <1>;
        status = "okay";
 
        flash@0 {