From: Adrian Schmutzler Date: Sun, 29 Nov 2020 16:07:17 +0000 (+0100) Subject: ath79: remove num-chipselects from SPI controller X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1ed18edaec669e0377e8710486da8d202a6a5e86;p=openwrt%2Fstaging%2Fxback.git ath79: remove num-chipselects from SPI controller 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 --- diff --git a/target/linux/ath79/dts/ar9330_dlink_dir-505.dts b/target/linux/ath79/dts/ar9330_dlink_dir-505.dts index 15e29f552e..574165b748 100644 --- a/target/linux/ath79/dts/ar9330_dlink_dir-505.dts +++ b/target/linux/ath79/dts/ar9330_dlink_dir-505.dts @@ -88,7 +88,6 @@ }; &spi { - num-chipselects = <1>; status = "okay"; flash@0 { diff --git a/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts index 26b3b3f04c..20c9a8fdd4 100644 --- a/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts +++ b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts @@ -79,8 +79,6 @@ &spi { status = "okay"; - num-chipselects = <1>; - flash@0 { compatible = "jedec,spi-nor"; spi-max-frequency = <50000000>; diff --git a/target/linux/ath79/dts/ar9331_8dev_carambola2.dts b/target/linux/ath79/dts/ar9331_8dev_carambola2.dts index 85e70495fc..42193f857c 100644 --- a/target/linux/ath79/dts/ar9331_8dev_carambola2.dts +++ b/target/linux/ath79/dts/ar9331_8dev_carambola2.dts @@ -63,7 +63,6 @@ }; &spi { - num-chipselects = <0>; status = "okay"; flash@0 { diff --git a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts index 9303121408..12f1e93d44 100644 --- a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts +++ b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts @@ -59,8 +59,6 @@ &spi { status = "okay"; - num-chipselects = <1>; - flash@0 { compatible = "jedec,spi-nor"; spi-max-frequency = <50000000>; diff --git a/target/linux/ath79/dts/ar9331_etactica_eg200.dts b/target/linux/ath79/dts/ar9331_etactica_eg200.dts index 0d7b7cfb84..e6feb54fcd 100644 --- a/target/linux/ath79/dts/ar9331_etactica_eg200.dts +++ b/target/linux/ath79/dts/ar9331_etactica_eg200.dts @@ -83,7 +83,6 @@ }; &spi { - num-chipselects = <1>; status = "okay"; flash@0 { diff --git a/target/linux/ath79/dts/ar9331_glinet_gl-mifi.dts b/target/linux/ath79/dts/ar9331_glinet_gl-mifi.dts index d62bdd9d67..67b587ab6e 100644 --- a/target/linux/ath79/dts/ar9331_glinet_gl-mifi.dts +++ b/target/linux/ath79/dts/ar9331_glinet_gl-mifi.dts @@ -87,8 +87,6 @@ &spi { status = "okay"; - num-chipselects = <1>; - flash@0 { compatible = "jedec,spi-nor"; spi-max-frequency = <33000000>; diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts b/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts index 7c52ae1617..e9533553a1 100644 --- a/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts +++ b/target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts @@ -110,8 +110,6 @@ &spi { status = "okay"; - num-chipselects = <1>; - /* Spansion S25FL032PIF SPI flash */ flash@0 { compatible = "jedec,spi-nor"; diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts b/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts index da04aad6cb..c5f7a4fe76 100644 --- a/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts +++ b/target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts @@ -106,8 +106,6 @@ &spi { status = "okay"; - num-chipselects = <1>; - flash@0 { compatible = "jedec,spi-nor"; spi-max-frequency = <50000000>; diff --git a/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts b/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts index f2cb35eae9..5f24bf23d6 100644 --- a/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts +++ b/target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts @@ -97,7 +97,6 @@ }; &spi { - num-chipselects = <1>; status = "okay"; flash@0 {