[openwrt/openwrt] ath79: drop num-cs for SPI controller

LEDE Commits lede-commits at lists.infradead.org
Fri Dec 4 11:52:27 EST 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/72bd92bea0aacf9a008782bea9e015c3ac0a2888

commit 72bd92bea0aacf9a008782bea9e015c3ac0a2888
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Sun Nov 29 18:03:48 2020 +0100

    ath79: drop num-cs for SPI controller
    
    None of the spi drivers on ath79 uses the num-cs property.
    
    Cc: Chuanhong Guo <gch981213 at gmail.com>
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
    Acked-by: Chuanhong Guo <gch981213 at gmail.com>
---
 target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts                 | 2 --
 target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts                   | 2 --
 target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi                   | 2 --
 target/linux/ath79/dts/ar7161_aruba_ap-105.dts                       | 2 --
 target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi             | 1 -
 target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts                   | 2 --
 target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts                     | 2 --
 target/linux/ath79/dts/ar7161_meraki_mr16.dts                        | 1 -
 target/linux/ath79/dts/ar7161_netgear_wndr.dtsi                      | 2 --
 target/linux/ath79/dts/ar7161_siemens_ws-ap3610.dts                  | 2 --
 target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi                | 1 -
 target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts                  | 2 --
 target/linux/ath79/dts/ar7240_dlink_dir-615-e4.dts                   | 2 --
 target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts                 | 2 --
 target/linux/ath79/dts/ar7240_netgear_wnr1000-v2.dts                 | 2 --
 target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi                 | 2 --
 target/linux/ath79/dts/ar7240_tplink.dtsi                            | 2 --
 target/linux/ath79/dts/ar7241_netgear_wnr2000-v3.dts                 | 2 --
 target/linux/ath79/dts/ar7241_netgear_wnr2200.dtsi                   | 1 -
 target/linux/ath79/dts/ar7241_tplink.dtsi                            | 2 --
 target/linux/ath79/dts/ar7241_tplink_tl-wr842n-v1.dts                | 2 --
 target/linux/ath79/dts/ar7241_ubnt_unifi.dts                         | 2 --
 target/linux/ath79/dts/ar7242_avm_fritz300e.dts                      | 2 --
 target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi                   | 1 -
 target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts          | 1 -
 target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts                | 2 --
 target/linux/ath79/dts/ar7242_ubnt_sw.dtsi                           | 2 --
 target/linux/ath79/dts/ar724x_ubnt_xm.dtsi                           | 2 --
 target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts               | 2 --
 target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts              | 2 --
 target/linux/ath79/dts/ar9330_pqi_air-pen.dts                        | 2 --
 target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi               | 2 --
 target/linux/ath79/dts/ar9331_arduino_yun.dts                        | 2 --
 target/linux/ath79/dts/ar9331_glinet_6408.dts                        | 2 --
 target/linux/ath79/dts/ar9331_glinet_6416.dts                        | 2 --
 target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi                   | 2 --
 target/linux/ath79/dts/ar9331_hak5_wifi-pineapple-nano.dts           | 2 --
 target/linux/ath79/dts/ar9331_pisen_wmm003n.dts                      | 1 -
 target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi         | 2 --
 target/linux/ath79/dts/ar9331_tplink_tl-wr710n-8m.dtsi               | 2 --
 target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi              | 2 --
 target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts                 | 2 --
 target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts              | 2 --
 target/linux/ath79/dts/ar9341_pcs_cr3000.dts                         | 2 --
 target/linux/ath79/dts/ar9341_pisen_wmb001n.dts                      | 2 --
 target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts                | 2 --
 target/linux/ath79/dts/ar9341_tplink_tl-wa.dtsi                      | 2 --
 target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts                 | 2 --
 target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts                | 2 --
 target/linux/ath79/dts/ar9342_iodata_etg3-r.dts                      | 2 --
 target/linux/ath79/dts/ar9342_ubnt_wa.dtsi                           | 1 -
 target/linux/ath79/dts/ar9342_ubnt_xw.dtsi                           | 1 -
 target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts                | 2 --
 target/linux/ath79/dts/ar9344_alfa-network_n5q.dts                   | 2 --
 target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts                | 2 --
 target/linux/ath79/dts/ar9344_compex_wpj344-16m.dts                  | 2 --
 target/linux/ath79/dts/ar9344_devolo_magic-2-wifi.dts                | 2 --
 target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi                     | 1 -
 target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts               | 1 -
 target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi       | 2 --
 target/linux/ath79/dts/ar9344_ocedo_raccoon.dts                      | 2 --
 target/linux/ath79/dts/ar9344_pcs_cap324.dts                         | 2 --
 target/linux/ath79/dts/ar9344_pcs_cr5000.dts                         | 2 --
 target/linux/ath79/dts/ar9344_qihoo_c301.dts                         | 5 ++---
 target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi                      | 2 --
 target/linux/ath79/dts/ar9344_samsung_wam250.dts                     | 2 --
 target/linux/ath79/dts/ar9344_teltonika_rut955.dts                   | 1 -
 target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi                  | 2 +-
 target/linux/ath79/dts/ar9344_tplink_cpe.dtsi                        | 2 --
 target/linux/ath79/dts/ar9344_tplink_tl-wdrxxxx.dtsi                 | 2 --
 target/linux/ath79/dts/ar9344_ubnt_unifi-ap-pro.dts                  | 2 --
 target/linux/ath79/dts/ar9344_wd_mynet-n750.dts                      | 2 --
 target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts        | 2 --
 target/linux/ath79/dts/ar9344_winchannel_wb2000.dts                  | 2 --
 target/linux/ath79/dts/qca9531_8dev_lima.dts                         | 2 --
 target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi                | 2 --
 target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts               | 2 --
 target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts                 | 1 -
 target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts               | 1 -
 target/linux/ath79/dts/qca9531_comfast_cf-e5.dts                     | 1 -
 target/linux/ath79/dts/qca9531_comfast_cf-e560ac.dts                 | 2 --
 target/linux/ath79/dts/qca9531_comfast_cf-ew72.dts                   | 2 --
 target/linux/ath79/dts/qca9531_comfast_cf-wr752ac-v1.dts             | 2 --
 target/linux/ath79/dts/qca9531_dlink_dch-g020-a1.dts                 | 2 --
 target/linux/ath79/dts/qca9531_engenius_ews511ap.dts                 | 2 --
 target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi                 | 2 --
 target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts                   | 1 -
 target/linux/ath79/dts/qca9531_glinet_gl-e750.dts                    | 1 -
 target/linux/ath79/dts/qca9531_glinet_gl-x750.dts                    | 1 -
 target/linux/ath79/dts/qca9531_telco_t1.dts                          | 1 -
 target/linux/ath79/dts/qca9531_tplink_tl-mr3420-v3.dts               | 2 --
 target/linux/ath79/dts/qca9531_tplink_tl-mr6400-v1.dts               | 2 --
 target/linux/ath79/dts/qca9531_wallys_dr531.dts                      | 2 --
 target/linux/ath79/dts/qca9531_yuncore_a770.dts                      | 2 --
 target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts               | 2 --
 target/linux/ath79/dts/qca9533_dlink_dap-13xx.dtsi                   | 2 --
 target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi         | 2 --
 target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi                    | 2 --
 target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi                | 2 --
 target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts              | 2 --
 target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi                 | 2 --
 target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi                  | 2 --
 target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts               | 2 --
 target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts                  | 1 -
 target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi                 | 2 --
 target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi               | 1 -
 .../linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts | 2 --
 target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts                 | 2 --
 target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi                 | 2 --
 target/linux/ath79/dts/qca9557_zyxel_nbg6616.dts                     | 2 --
 target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts             | 2 --
 target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts             | 1 -
 target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts             | 1 -
 target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi                   | 2 --
 target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts                 | 1 -
 target/linux/ath79/dts/qca9558_domywifi_dw33d.dts                    | 2 --
 target/linux/ath79/dts/qca9558_engenius_ecb1750.dts                  | 2 --
 target/linux/ath79/dts/qca9558_engenius_epg5000.dts                  | 2 --
 target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts        | 2 --
 target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi                   | 2 --
 target/linux/ath79/dts/qca9558_ocedo_koala.dts                       | 1 -
 target/linux/ath79/dts/qca9558_ocedo_ursus.dts                       | 1 -
 target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts               | 1 -
 target/linux/ath79/dts/qca9558_qxwlan_e558.dtsi                      | 1 -
 target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts                  | 2 --
 target/linux/ath79/dts/qca9558_tplink_archer-c.dtsi                  | 2 --
 target/linux/ath79/dts/qca9558_tplink_archer-d7-v1.dts               | 2 --
 target/linux/ath79/dts/qca9558_tplink_archer-d7b-v1.dts              | 2 --
 target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts                  | 2 --
 target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi                     | 1 -
 target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts              | 2 --
 target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi               | 1 -
 target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts            | 1 -
 target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts               | 2 --
 target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts                     | 2 --
 target/linux/ath79/dts/qca955x_ubnt_xc.dtsi                          | 1 -
 target/linux/ath79/dts/qca9561_avm_fritz4020.dts                     | 2 --
 target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts              | 2 --
 target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts              | 1 -
 target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts              | 1 -
 target/linux/ath79/dts/qca9561_tplink_archer-c59-v2.dts              | 1 -
 target/linux/ath79/dts/qca9561_tplink_archer-c60-v1.dts              | 1 -
 target/linux/ath79/dts/qca9561_tplink_archer-c60-v2.dts              | 1 -
 target/linux/ath79/dts/qca9561_tplink_archer-c60-v3.dts              | 2 --
 target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts             | 1 -
 target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts               | 1 -
 target/linux/ath79/dts/qca9563_compex_wpj563.dts                     | 2 --
 target/linux/ath79/dts/qca9563_dlink_dir-842-c.dtsi                  | 2 --
 target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts                  | 2 --
 target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi               | 1 -
 target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi                 | 2 --
 target/linux/ath79/dts/qca9563_nec_wg1200cr.dts                      | 2 --
 target/linux/ath79/dts/qca9563_nec_wg800hp.dts                       | 1 -
 target/linux/ath79/dts/qca9563_netgear_wndr.dtsi                     | 2 --
 target/linux/ath79/dts/qca9563_phicomm_k2t.dts                       | 2 --
 target/linux/ath79/dts/qca9563_qxwlan_e1700ac.dtsi                   | 2 --
 target/linux/ath79/dts/qca9563_rosinson_wr818.dts                    | 2 --
 target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts               | 2 --
 target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts            | 2 --
 target/linux/ath79/dts/qca9563_tplink_archer-c6-v2.dts               | 2 --
 target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts               | 2 --
 target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi              | 2 --
 target/linux/ath79/dts/qca9563_tplink_eap245-v3.dts                  | 1 -
 target/linux/ath79/dts/qca9563_tplink_eap2x5-1port.dtsi              | 1 -
 target/linux/ath79/dts/qca9563_tplink_re450.dtsi                     | 2 --
 target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi                | 2 --
 target/linux/ath79/dts/qca9563_tplink_tl-wr1043n-v5.dts              | 1 -
 target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts             | 2 --
 target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi                     | 1 -
 target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi                   | 2 --
 target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi                      | 2 --
 171 files changed, 3 insertions(+), 297 deletions(-)

diff --git a/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts b/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts
index f0d262c847..2186d13667 100644
--- a/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts
+++ b/target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts
@@ -109,8 +109,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts b/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts
index 2669db783e..e2481ad70c 100644
--- a/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts
+++ b/target/linux/ath79/dts/ar1022_sitecom_wlr-7100.dts
@@ -101,8 +101,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi b/target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi
index 344241a322..ab868846ff 100644
--- a/target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi
+++ b/target/linux/ath79/dts/ar7161_adtran_bsap1880.dtsi
@@ -79,8 +79,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7161_aruba_ap-105.dts b/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
index 45f77f7891..3ad2486873 100644
--- a/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
+++ b/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
@@ -147,8 +147,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi b/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi
index 053c91557b..3b6eaf5cc8 100644
--- a/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi
+++ b/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi
@@ -223,7 +223,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <2>;
 	cs-gpios = <0>, <0>;
 
 	flash0: flash at 0 {
diff --git a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
index 85fd54b396..a7115ff7e6 100644
--- a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
+++ b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts
@@ -170,8 +170,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts b/target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts
index 8a27452eb8..145aba7d8e 100644
--- a/target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts
+++ b/target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts
@@ -105,8 +105,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7161_meraki_mr16.dts b/target/linux/ath79/dts/ar7161_meraki_mr16.dts
index afc49ce865..f541a00841 100644
--- a/target/linux/ath79/dts/ar7161_meraki_mr16.dts
+++ b/target/linux/ath79/dts/ar7161_meraki_mr16.dts
@@ -128,7 +128,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr.dtsi b/target/linux/ath79/dts/ar7161_netgear_wndr.dtsi
index 9e41b61357..61097f9679 100644
--- a/target/linux/ath79/dts/ar7161_netgear_wndr.dtsi
+++ b/target/linux/ath79/dts/ar7161_netgear_wndr.dtsi
@@ -194,8 +194,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7161_siemens_ws-ap3610.dts b/target/linux/ath79/dts/ar7161_siemens_ws-ap3610.dts
index 3c1d97f25e..39bc318b17 100644
--- a/target/linux/ath79/dts/ar7161_siemens_ws-ap3610.dts
+++ b/target/linux/ath79/dts/ar7161_siemens_ws-ap3610.dts
@@ -111,8 +111,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi b/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi
index cd0e5015a9..7768bf4c44 100644
--- a/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi
+++ b/target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi
@@ -55,7 +55,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts b/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
index e93c5ca652..4f284ed900 100644
--- a/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
+++ b/target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts
@@ -109,8 +109,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7240_dlink_dir-615-e4.dts b/target/linux/ath79/dts/ar7240_dlink_dir-615-e4.dts
index b632d3b8a8..9e44420048 100644
--- a/target/linux/ath79/dts/ar7240_dlink_dir-615-e4.dts
+++ b/target/linux/ath79/dts/ar7240_dlink_dir-615-e4.dts
@@ -99,8 +99,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts b/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts
index 4752ad1edd..aeb1e9e424 100644
--- a/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts
+++ b/target/linux/ath79/dts/ar7240_engenius_enh202-v1.dts
@@ -95,8 +95,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7240_netgear_wnr1000-v2.dts b/target/linux/ath79/dts/ar7240_netgear_wnr1000-v2.dts
index d67af04d1c..d700ea73fa 100644
--- a/target/linux/ath79/dts/ar7240_netgear_wnr1000-v2.dts
+++ b/target/linux/ath79/dts/ar7240_netgear_wnr1000-v2.dts
@@ -134,8 +134,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi b/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi
index 44dbe9c55e..382529b32d 100644
--- a/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi
+++ b/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi
@@ -67,8 +67,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7240_tplink.dtsi b/target/linux/ath79/dts/ar7240_tplink.dtsi
index 23d12e4edf..48849ccbcb 100644
--- a/target/linux/ath79/dts/ar7240_tplink.dtsi
+++ b/target/linux/ath79/dts/ar7240_tplink.dtsi
@@ -63,8 +63,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7241_netgear_wnr2000-v3.dts b/target/linux/ath79/dts/ar7241_netgear_wnr2000-v3.dts
index 1b124f3f2e..2e7ea746df 100644
--- a/target/linux/ath79/dts/ar7241_netgear_wnr2000-v3.dts
+++ b/target/linux/ath79/dts/ar7241_netgear_wnr2000-v3.dts
@@ -137,8 +137,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7241_netgear_wnr2200.dtsi b/target/linux/ath79/dts/ar7241_netgear_wnr2200.dtsi
index 62614166db..c61e188e32 100644
--- a/target/linux/ath79/dts/ar7241_netgear_wnr2200.dtsi
+++ b/target/linux/ath79/dts/ar7241_netgear_wnr2200.dtsi
@@ -137,7 +137,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar7241_tplink.dtsi b/target/linux/ath79/dts/ar7241_tplink.dtsi
index 62884f0902..49908066d6 100644
--- a/target/linux/ath79/dts/ar7241_tplink.dtsi
+++ b/target/linux/ath79/dts/ar7241_tplink.dtsi
@@ -50,8 +50,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7241_tplink_tl-wr842n-v1.dts b/target/linux/ath79/dts/ar7241_tplink_tl-wr842n-v1.dts
index b0f6c3695a..d83f4cd2a8 100644
--- a/target/linux/ath79/dts/ar7241_tplink_tl-wr842n-v1.dts
+++ b/target/linux/ath79/dts/ar7241_tplink_tl-wr842n-v1.dts
@@ -95,8 +95,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
index ce59463d9e..bdb4c61a48 100644
--- a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
@@ -59,8 +59,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7242_avm_fritz300e.dts b/target/linux/ath79/dts/ar7242_avm_fritz300e.dts
index 3a002aaedf..3cc7198ca1 100644
--- a/target/linux/ath79/dts/ar7242_avm_fritz300e.dts
+++ b/target/linux/ath79/dts/ar7242_avm_fritz300e.dts
@@ -96,8 +96,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi b/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi
index 2840f91ec1..d1a251441e 100644
--- a/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi
+++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi
@@ -108,7 +108,6 @@
 	status = "okay";
 
 	cs-gpios = <0>, <0>;
-	num-cs = <2>;
 
 	flash0: flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts
index f035f86c7c..bf570b6ea5 100644
--- a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts
+++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts
@@ -164,7 +164,6 @@
 	status = "okay";
 
 	cs-gpios = <0>, <0>;
-	num-cs = <2>;
 
 	flash0: flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
index dd4cbf03eb..a07f80f55f 100644
--- a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
+++ b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
@@ -102,8 +102,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar7242_ubnt_sw.dtsi b/target/linux/ath79/dts/ar7242_ubnt_sw.dtsi
index 52e83ea8d0..c5122dbd9f 100644
--- a/target/linux/ath79/dts/ar7242_ubnt_sw.dtsi
+++ b/target/linux/ath79/dts/ar7242_ubnt_sw.dtsi
@@ -66,8 +66,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar724x_ubnt_xm.dtsi b/target/linux/ath79/dts/ar724x_ubnt_xm.dtsi
index ad216116a9..81a1aba47d 100644
--- a/target/linux/ath79/dts/ar724x_ubnt_xm.dtsi
+++ b/target/linux/ath79/dts/ar724x_ubnt_xm.dtsi
@@ -22,8 +22,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
index c8697d193d..772c874cdd 100644
--- a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
+++ b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
@@ -73,8 +73,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
index e17303a0fb..f575990894 100644
--- a/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
+++ b/target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts
@@ -105,8 +105,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9330_pqi_air-pen.dts b/target/linux/ath79/dts/ar9330_pqi_air-pen.dts
index 7d04b01377..5f2aa3b03c 100644
--- a/target/linux/ath79/dts/ar9330_pqi_air-pen.dts
+++ b/target/linux/ath79/dts/ar9330_pqi_air-pen.dts
@@ -66,8 +66,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		spi-max-frequency = <50000000>;
diff --git a/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi b/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi
index 50605bf685..47133cdf5d 100644
--- a/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi
+++ b/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi
@@ -74,8 +74,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9331_arduino_yun.dts b/target/linux/ath79/dts/ar9331_arduino_yun.dts
index 8ce5beb059..6a5aca0541 100644
--- a/target/linux/ath79/dts/ar9331_arduino_yun.dts
+++ b/target/linux/ath79/dts/ar9331_arduino_yun.dts
@@ -162,8 +162,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9331_glinet_6408.dts b/target/linux/ath79/dts/ar9331_glinet_6408.dts
index 8bf5d4390e..658fa1aa5e 100644
--- a/target/linux/ath79/dts/ar9331_glinet_6408.dts
+++ b/target/linux/ath79/dts/ar9331_glinet_6408.dts
@@ -10,8 +10,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9331_glinet_6416.dts b/target/linux/ath79/dts/ar9331_glinet_6416.dts
index 2039ce6eac..189563aaf9 100644
--- a/target/linux/ath79/dts/ar9331_glinet_6416.dts
+++ b/target/linux/ath79/dts/ar9331_glinet_6416.dts
@@ -10,8 +10,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi b/target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi
index c5770a7512..e7ca002038 100644
--- a/target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi
+++ b/target/linux/ath79/dts/ar9331_hak5_lan-turtle.dtsi
@@ -55,8 +55,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9331_hak5_wifi-pineapple-nano.dts b/target/linux/ath79/dts/ar9331_hak5_wifi-pineapple-nano.dts
index 6bc0773b9b..bbc0f1c711 100644
--- a/target/linux/ath79/dts/ar9331_hak5_wifi-pineapple-nano.dts
+++ b/target/linux/ath79/dts/ar9331_hak5_wifi-pineapple-nano.dts
@@ -75,8 +75,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9331_pisen_wmm003n.dts b/target/linux/ath79/dts/ar9331_pisen_wmm003n.dts
index cdc92f697d..16f88c3273 100644
--- a/target/linux/ath79/dts/ar9331_pisen_wmm003n.dts
+++ b/target/linux/ath79/dts/ar9331_pisen_wmm003n.dts
@@ -49,7 +49,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi b/target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
index 4ea658713d..ecd795580f 100644
--- a/target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
+++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi
@@ -47,8 +47,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr710n-8m.dtsi b/target/linux/ath79/dts/ar9331_tplink_tl-wr710n-8m.dtsi
index ffc98e6e1c..759e765294 100644
--- a/target/linux/ath79/dts/ar9331_tplink_tl-wr710n-8m.dtsi
+++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr710n-8m.dtsi
@@ -5,8 +5,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi b/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi
index c1d88f4812..a542fae739 100644
--- a/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi
+++ b/target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi
@@ -88,8 +88,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts b/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts
index d41a6e7a75..e299c8529d 100644
--- a/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts
+++ b/target/linux/ath79/dts/ar9341_engenius_eap300-v2.dts
@@ -79,8 +79,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts b/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts
index da1e59d4c3..94b079f94d 100644
--- a/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts
+++ b/target/linux/ath79/dts/ar9341_engenius_ens202ext-v1.dts
@@ -89,8 +89,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9341_pcs_cr3000.dts b/target/linux/ath79/dts/ar9341_pcs_cr3000.dts
index 7eafd1acd4..28076716b7 100644
--- a/target/linux/ath79/dts/ar9341_pcs_cr3000.dts
+++ b/target/linux/ath79/dts/ar9341_pcs_cr3000.dts
@@ -89,8 +89,6 @@
 };
 
 &spi {
-	num-cs = <1>;
-
 	status = "okay";
 
 	flash at 0 {
diff --git a/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts b/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts
index 7057c3b1ad..3d9c6cb781 100644
--- a/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts
+++ b/target/linux/ath79/dts/ar9341_pisen_wmb001n.dts
@@ -134,8 +134,6 @@
 };
 
 &spi {
-	num-cs = <1>;
-
 	status = "okay";
 
 	flash at 0 {
diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts b/target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts
index 750522ded1..9adc9a1faf 100644
--- a/target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts
+++ b/target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts
@@ -44,8 +44,6 @@
 };
 
 &spi {
-	num-cs = <1>;
-
 	status = "okay";
 
 	flash at 0 {
diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-wa.dtsi b/target/linux/ath79/dts/ar9341_tplink_tl-wa.dtsi
index 70c2909870..8f40675d91 100644
--- a/target/linux/ath79/dts/ar9341_tplink_tl-wa.dtsi
+++ b/target/linux/ath79/dts/ar9341_tplink_tl-wa.dtsi
@@ -19,8 +19,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts b/target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts
index 9f2e680b63..cd7532d27a 100644
--- a/target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts
+++ b/target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts
@@ -27,8 +27,6 @@
 };
 
 &spi {
-	num-cs = <1>;
-
 	status = "okay";
 
 	flash at 0 {
diff --git a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts
index cb6b25e664..8c27fe1971 100644
--- a/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts
+++ b/target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts
@@ -47,8 +47,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9342_iodata_etg3-r.dts b/target/linux/ath79/dts/ar9342_iodata_etg3-r.dts
index 58845f4cb6..f11d3952a3 100644
--- a/target/linux/ath79/dts/ar9342_iodata_etg3-r.dts
+++ b/target/linux/ath79/dts/ar9342_iodata_etg3-r.dts
@@ -50,8 +50,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9342_ubnt_wa.dtsi b/target/linux/ath79/dts/ar9342_ubnt_wa.dtsi
index 3a4fc80b75..d141d48dae 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_wa.dtsi
+++ b/target/linux/ath79/dts/ar9342_ubnt_wa.dtsi
@@ -35,7 +35,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi b/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
index ff4e177ca8..c5fbdb94c4 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
+++ b/target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
@@ -63,7 +63,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts b/target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts
index aed25e2f67..0ef5f1b7b9 100644
--- a/target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts
+++ b/target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts
@@ -118,8 +118,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_alfa-network_n5q.dts b/target/linux/ath79/dts/ar9344_alfa-network_n5q.dts
index 75893a5e33..dd50d2bc20 100644
--- a/target/linux/ath79/dts/ar9344_alfa-network_n5q.dts
+++ b/target/linux/ath79/dts/ar9344_alfa-network_n5q.dts
@@ -107,8 +107,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts b/target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts
index 95f798cc0f..11cc2dadfd 100644
--- a/target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts
+++ b/target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts
@@ -81,8 +81,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_compex_wpj344-16m.dts b/target/linux/ath79/dts/ar9344_compex_wpj344-16m.dts
index a6a4811053..de8a4d5fd7 100644
--- a/target/linux/ath79/dts/ar9344_compex_wpj344-16m.dts
+++ b/target/linux/ath79/dts/ar9344_compex_wpj344-16m.dts
@@ -68,8 +68,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_devolo_magic-2-wifi.dts b/target/linux/ath79/dts/ar9344_devolo_magic-2-wifi.dts
index a35c177b3c..d2f385c571 100644
--- a/target/linux/ath79/dts/ar9344_devolo_magic-2-wifi.dts
+++ b/target/linux/ath79/dts/ar9344_devolo_magic-2-wifi.dts
@@ -75,8 +75,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi b/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi
index 8f6859185d..4c2177bfad 100644
--- a/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi
+++ b/target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi
@@ -69,7 +69,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts b/target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts
index 26e98f8711..7fb794f21c 100644
--- a/target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts
+++ b/target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts
@@ -119,7 +119,6 @@
 	status = "okay";
 
 	cs-gpios = <0>, <0>;
-	num-cs = <2>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
index 789069632b..013a998a02 100644
--- a/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
+++ b/target/linux/ath79/dts/ar9344_mikrotik_routerboard-sxt-5n.dtsi
@@ -87,8 +87,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
index 443f0c6724..3260d6b32d 100644
--- a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
+++ b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
@@ -73,8 +73,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_pcs_cap324.dts b/target/linux/ath79/dts/ar9344_pcs_cap324.dts
index c5919b5ef8..de75b8e0b4 100644
--- a/target/linux/ath79/dts/ar9344_pcs_cap324.dts
+++ b/target/linux/ath79/dts/ar9344_pcs_cap324.dts
@@ -80,8 +80,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_pcs_cr5000.dts b/target/linux/ath79/dts/ar9344_pcs_cr5000.dts
index 3ab1cb34b3..7f74ba6351 100644
--- a/target/linux/ath79/dts/ar9344_pcs_cr5000.dts
+++ b/target/linux/ath79/dts/ar9344_pcs_cr5000.dts
@@ -72,8 +72,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_qihoo_c301.dts b/target/linux/ath79/dts/ar9344_qihoo_c301.dts
index dff2644b11..b05d673137 100644
--- a/target/linux/ath79/dts/ar9344_qihoo_c301.dts
+++ b/target/linux/ath79/dts/ar9344_qihoo_c301.dts
@@ -101,11 +101,10 @@
 };
 
 &spi {
-	pinctrl-names = "default";
-	pinctrl-0 = <&pmx_spi_cs1>;
 	status = "okay";
 
-	num-cs = <2>;
+	pinctrl-names = "default";
+	pinctrl-0 = <&pmx_spi_cs1>;
 
 	flash at 0 {
 		#address-cells = <1>;
diff --git a/target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi b/target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi
index 2cd7b446c6..16e20b7498 100644
--- a/target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi
+++ b/target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi
@@ -59,8 +59,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_samsung_wam250.dts b/target/linux/ath79/dts/ar9344_samsung_wam250.dts
index 8a04af2973..a7cea7c2b6 100644
--- a/target/linux/ath79/dts/ar9344_samsung_wam250.dts
+++ b/target/linux/ath79/dts/ar9344_samsung_wam250.dts
@@ -97,8 +97,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_teltonika_rut955.dts b/target/linux/ath79/dts/ar9344_teltonika_rut955.dts
index 98ad19cdeb..7914928aa0 100644
--- a/target/linux/ath79/dts/ar9344_teltonika_rut955.dts
+++ b/target/linux/ath79/dts/ar9344_teltonika_rut955.dts
@@ -141,7 +141,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <3>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&pmx_spi>, <&pmx_spi_ext>;
 
diff --git a/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi b/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
index 5e1d810b1f..116d797eb2 100644
--- a/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
+++ b/target/linux/ath79/dts/ar9344_teltonika_rut9xx.dtsi
@@ -60,7 +60,7 @@
 
 &spi {
 	status = "okay";
-	num-cs = <2>;
+
 	pinctrl-names = "default";
 	pinctrl-0 = <&pmx_spi>;
 
diff --git a/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
index 4e9401e60b..39d4bd6ea9 100644
--- a/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_cpe.dtsi
@@ -32,8 +32,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_tplink_tl-wdrxxxx.dtsi b/target/linux/ath79/dts/ar9344_tplink_tl-wdrxxxx.dtsi
index e7430988ad..ea7dfeac93 100644
--- a/target/linux/ath79/dts/ar9344_tplink_tl-wdrxxxx.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_tl-wdrxxxx.dtsi
@@ -73,8 +73,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_ubnt_unifi-ap-pro.dts b/target/linux/ath79/dts/ar9344_ubnt_unifi-ap-pro.dts
index da3b0c63aa..8c62272897 100644
--- a/target/linux/ath79/dts/ar9344_ubnt_unifi-ap-pro.dts
+++ b/target/linux/ath79/dts/ar9344_ubnt_unifi-ap-pro.dts
@@ -53,8 +53,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_wd_mynet-n750.dts b/target/linux/ath79/dts/ar9344_wd_mynet-n750.dts
index c440d71721..992bbf6bc1 100644
--- a/target/linux/ath79/dts/ar9344_wd_mynet-n750.dts
+++ b/target/linux/ath79/dts/ar9344_wd_mynet-n750.dts
@@ -86,8 +86,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts b/target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts
index 6bacee4b4d..d04d517b19 100644
--- a/target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts
+++ b/target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts
@@ -88,8 +88,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = /* "s25fl064k", */ "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts b/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts
index cd2e389ccd..68d3d6a881 100644
--- a/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts
+++ b/target/linux/ath79/dts/ar9344_winchannel_wb2000.dts
@@ -87,8 +87,6 @@
 };
 
 &spi {
-	num-cs = <1>;
-
 	status = "okay";
 
 	flash at 0 {
diff --git a/target/linux/ath79/dts/qca9531_8dev_lima.dts b/target/linux/ath79/dts/qca9531_8dev_lima.dts
index d13ae66a1c..1adfe15b5f 100644
--- a/target/linux/ath79/dts/qca9531_8dev_lima.dts
+++ b/target/linux/ath79/dts/qca9531_8dev_lima.dts
@@ -45,8 +45,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	/* Winbond W25Q256 SPI flash */
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi
index 697b20e999..f0d3e0b617 100644
--- a/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi
+++ b/target/linux/ath79/dts/qca9531_alfa-network_r36a.dtsi
@@ -60,8 +60,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts b/target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts
index 749acedcda..c3097bf93b 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-e130n-v2.dts
@@ -74,8 +74,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts b/target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts
index 7e2ff5d0ee..ac387040bf 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts
@@ -72,7 +72,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts b/target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts
index 723c9eda13..842ed970a6 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-e314n-v2.dts
@@ -87,7 +87,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-e5.dts b/target/linux/ath79/dts/qca9531_comfast_cf-e5.dts
index 5c69a9bde0..45416089b7 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-e5.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-e5.dts
@@ -82,7 +82,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-e560ac.dts b/target/linux/ath79/dts/qca9531_comfast_cf-e560ac.dts
index 46b08da838..5065069863 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-e560ac.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-e560ac.dts
@@ -83,8 +83,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-ew72.dts b/target/linux/ath79/dts/qca9531_comfast_cf-ew72.dts
index f52467c4e2..7114df5cbc 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-ew72.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-ew72.dts
@@ -67,8 +67,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "winbond,w25q128", "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-wr752ac-v1.dts b/target/linux/ath79/dts/qca9531_comfast_cf-wr752ac-v1.dts
index 2fbdc8fd07..d57c943810 100644
--- a/target/linux/ath79/dts/qca9531_comfast_cf-wr752ac-v1.dts
+++ b/target/linux/ath79/dts/qca9531_comfast_cf-wr752ac-v1.dts
@@ -67,8 +67,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_dlink_dch-g020-a1.dts b/target/linux/ath79/dts/qca9531_dlink_dch-g020-a1.dts
index dafce16a2a..9f9dd44812 100644
--- a/target/linux/ath79/dts/qca9531_dlink_dch-g020-a1.dts
+++ b/target/linux/ath79/dts/qca9531_dlink_dch-g020-a1.dts
@@ -90,8 +90,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts b/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
index eb91d7e0b4..736ebf2dd3 100644
--- a/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
+++ b/target/linux/ath79/dts/qca9531_engenius_ews511ap.dts
@@ -91,8 +91,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <0>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
index 86c895fc6a..6422dc60f5 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
@@ -74,8 +74,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <2>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
index 57a7ed1a0c..f3d62b36a8 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar750.dts
@@ -90,7 +90,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <0>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-e750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-e750.dts
index b463be0ec4..de7d5f577a 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-e750.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-e750.dts
@@ -61,7 +61,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <2>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
index acb458f7ec..f32cb6e39a 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
@@ -80,7 +80,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <0>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9531_telco_t1.dts b/target/linux/ath79/dts/qca9531_telco_t1.dts
index 455bfb336f..252d9073c8 100644
--- a/target/linux/ath79/dts/qca9531_telco_t1.dts
+++ b/target/linux/ath79/dts/qca9531_telco_t1.dts
@@ -79,7 +79,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9531_tplink_tl-mr3420-v3.dts b/target/linux/ath79/dts/qca9531_tplink_tl-mr3420-v3.dts
index 2f6c4147c9..d163a73228 100644
--- a/target/linux/ath79/dts/qca9531_tplink_tl-mr3420-v3.dts
+++ b/target/linux/ath79/dts/qca9531_tplink_tl-mr3420-v3.dts
@@ -139,8 +139,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_tplink_tl-mr6400-v1.dts b/target/linux/ath79/dts/qca9531_tplink_tl-mr6400-v1.dts
index bd3858e59a..751a69154f 100644
--- a/target/linux/ath79/dts/qca9531_tplink_tl-mr6400-v1.dts
+++ b/target/linux/ath79/dts/qca9531_tplink_tl-mr6400-v1.dts
@@ -96,8 +96,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_wallys_dr531.dts b/target/linux/ath79/dts/qca9531_wallys_dr531.dts
index 777a55b6f3..2375a054ce 100644
--- a/target/linux/ath79/dts/qca9531_wallys_dr531.dts
+++ b/target/linux/ath79/dts/qca9531_wallys_dr531.dts
@@ -94,8 +94,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9531_yuncore_a770.dts b/target/linux/ath79/dts/qca9531_yuncore_a770.dts
index aaa9e1f908..a6738c7d9a 100644
--- a/target/linux/ath79/dts/qca9531_yuncore_a770.dts
+++ b/target/linux/ath79/dts/qca9531_yuncore_a770.dts
@@ -57,8 +57,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts b/target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts
index 961caa8ade..c4918205fd 100644
--- a/target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts
+++ b/target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts
@@ -92,8 +92,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "winbond,w25q128", "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9533_dlink_dap-13xx.dtsi b/target/linux/ath79/dts/qca9533_dlink_dap-13xx.dtsi
index 5002079940..cd095c1559 100644
--- a/target/linux/ath79/dts/qca9533_dlink_dap-13xx.dtsi
+++ b/target/linux/ath79/dts/qca9533_dlink_dap-13xx.dtsi
@@ -67,8 +67,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi
index 539c07c322..effa2d3619 100644
--- a/target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi
+++ b/target/linux/ath79/dts/qca9533_mikrotik_routerboard-16m.dtsi
@@ -21,8 +21,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi b/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi
index 7c64dcc24f..f663a1fcd7 100644
--- a/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi
+++ b/target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi
@@ -56,8 +56,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi
index c45280aff0..28e74d5ced 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi
@@ -70,8 +70,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts
index 7d8519ef9b..e723587a0b 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wa850re-v2.dts
@@ -98,8 +98,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi
index b6349e5371..26edbb2cd0 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi
@@ -41,8 +41,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
index b68cd87e98..842815d683 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi
@@ -76,8 +76,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
index 269ca03645..f0b42a6e4c 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
@@ -116,8 +116,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts b/target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts
index b74b0756fe..8b9469ebc0 100644
--- a/target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts
+++ b/target/linux/ath79/dts/qca9533_ubnt_aircube-isp.dts
@@ -27,7 +27,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi b/target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi
index 091d6696a3..53e5fe9bcc 100644
--- a/target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi
+++ b/target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi
@@ -58,8 +58,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi b/target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi
index 400f8eb974..befb933483 100644
--- a/target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi
+++ b/target/linux/ath79/dts/qca9556_avm_fritz-repeater.dtsi
@@ -23,7 +23,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts b/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
index 572dc02205..a3f9ec28a4 100644
--- a/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
+++ b/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
@@ -60,8 +60,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts b/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts
index 33053771ad..8d437a6792 100644
--- a/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts
+++ b/target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts
@@ -64,8 +64,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi b/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi
index f19e186796..2f6bf4dbee 100644
--- a/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi
+++ b/target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi
@@ -90,8 +90,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9557_zyxel_nbg6616.dts b/target/linux/ath79/dts/qca9557_zyxel_nbg6616.dts
index d56fab120b..fff23dcf2b 100644
--- a/target/linux/ath79/dts/qca9557_zyxel_nbg6616.dts
+++ b/target/linux/ath79/dts/qca9557_zyxel_nbg6616.dts
@@ -61,8 +61,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts b/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
index 1cca39de38..aee8bbff56 100644
--- a/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
+++ b/target/linux/ath79/dts/qca9558_allnet_all-wap02860ac.dts
@@ -91,8 +91,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts b/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts
index 240d20ff1f..639c877177 100644
--- a/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts
+++ b/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v1.dts
@@ -9,7 +9,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts b/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts
index 1b20c3b615..5dda5f1869 100644
--- a/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts
+++ b/target/linux/ath79/dts/qca9558_comfast_cf-wr650ac-v2.dts
@@ -9,7 +9,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi b/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
index f41d8985a2..a1b019a7ad 100644
--- a/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
+++ b/target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
@@ -47,8 +47,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts b/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts
index f0cf22511a..b8429fed45 100644
--- a/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts
+++ b/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts
@@ -50,7 +50,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		#address-cells = <1>;
diff --git a/target/linux/ath79/dts/qca9558_domywifi_dw33d.dts b/target/linux/ath79/dts/qca9558_domywifi_dw33d.dts
index 4af1860aca..fae0853922 100644
--- a/target/linux/ath79/dts/qca9558_domywifi_dw33d.dts
+++ b/target/linux/ath79/dts/qca9558_domywifi_dw33d.dts
@@ -108,8 +108,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
index 5e38f2e459..9f2c9c048b 100644
--- a/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
+++ b/target/linux/ath79/dts/qca9558_engenius_ecb1750.dts
@@ -65,8 +65,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_engenius_epg5000.dts b/target/linux/ath79/dts/qca9558_engenius_epg5000.dts
index 9d37664306..5e4d224d3e 100644
--- a/target/linux/ath79/dts/qca9558_engenius_epg5000.dts
+++ b/target/linux/ath79/dts/qca9558_engenius_epg5000.dts
@@ -99,8 +99,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts b/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
index c4a73f2563..5788623025 100644
--- a/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
+++ b/target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts
@@ -102,8 +102,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi b/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi
index 04abb8717e..40a4ead19d 100644
--- a/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi
+++ b/target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi
@@ -131,8 +131,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_ocedo_koala.dts b/target/linux/ath79/dts/qca9558_ocedo_koala.dts
index dbefa40dcf..a3a3cc3e31 100644
--- a/target/linux/ath79/dts/qca9558_ocedo_koala.dts
+++ b/target/linux/ath79/dts/qca9558_ocedo_koala.dts
@@ -69,7 +69,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
index 8c7a7af91b..79ed751d66 100644
--- a/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
+++ b/target/linux/ath79/dts/qca9558_ocedo_ursus.dts
@@ -40,7 +40,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
index eb196eb2e5..fabfe14cf8 100644
--- a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
+++ b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
@@ -91,7 +91,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9558_qxwlan_e558.dtsi b/target/linux/ath79/dts/qca9558_qxwlan_e558.dtsi
index 99f37ac025..aa4bd75f2f 100644
--- a/target/linux/ath79/dts/qca9558_qxwlan_e558.dtsi
+++ b/target/linux/ath79/dts/qca9558_qxwlan_e558.dtsi
@@ -62,7 +62,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts b/target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts
index 412a6e7b33..ccc08c39f1 100644
--- a/target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts
+++ b/target/linux/ath79/dts/qca9558_sitecom_wlr-8100.dts
@@ -63,8 +63,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-c.dtsi b/target/linux/ath79/dts/qca9558_tplink_archer-c.dtsi
index d59d87b5e6..87dbdd0a5f 100644
--- a/target/linux/ath79/dts/qca9558_tplink_archer-c.dtsi
+++ b/target/linux/ath79/dts/qca9558_tplink_archer-c.dtsi
@@ -118,8 +118,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-d7-v1.dts b/target/linux/ath79/dts/qca9558_tplink_archer-d7-v1.dts
index 689e478e19..fd1717b668 100644
--- a/target/linux/ath79/dts/qca9558_tplink_archer-d7-v1.dts
+++ b/target/linux/ath79/dts/qca9558_tplink_archer-d7-v1.dts
@@ -14,8 +14,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_tplink_archer-d7b-v1.dts b/target/linux/ath79/dts/qca9558_tplink_archer-d7b-v1.dts
index 2273298226..d2ef7e82a7 100644
--- a/target/linux/ath79/dts/qca9558_tplink_archer-d7b-v1.dts
+++ b/target/linux/ath79/dts/qca9558_tplink_archer-d7b-v1.dts
@@ -14,8 +14,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts b/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts
index 11ebbdacea..b0a3293d4f 100644
--- a/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts
+++ b/target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts
@@ -119,8 +119,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi b/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi
index 55f4edf19e..225af82c93 100644
--- a/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi
+++ b/target/linux/ath79/dts/qca9558_tplink_rex5x.dtsi
@@ -106,7 +106,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts
index 9f241ebc2f..8f525d57bc 100644
--- a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts
+++ b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts
@@ -141,8 +141,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
index 476162a00e..66059b890b 100644
--- a/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
+++ b/target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi
@@ -93,7 +93,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts b/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts
index bbbf69fa59..bb1993516e 100644
--- a/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts
+++ b/target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts
@@ -63,7 +63,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts b/target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts
index 871b69af78..e3f3643b37 100644
--- a/target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts
+++ b/target/linux/ath79/dts/qca9558_trendnet_tew-823dru.dts
@@ -104,8 +104,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
index 94991a8f49..9aee8c362c 100644
--- a/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
+++ b/target/linux/ath79/dts/qca9558_zyxel_nbg6716.dts
@@ -82,8 +82,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca955x_ubnt_xc.dtsi b/target/linux/ath79/dts/qca955x_ubnt_xc.dtsi
index 569ba3a720..7e022e46a1 100644
--- a/target/linux/ath79/dts/qca955x_ubnt_xc.dtsi
+++ b/target/linux/ath79/dts/qca955x_ubnt_xc.dtsi
@@ -15,7 +15,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts
index e7e421c076..13e6eb1673 100644
--- a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts
+++ b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts
@@ -102,8 +102,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts
index 6659bbe688..8776299080 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts
@@ -114,8 +114,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts
index 464bc40b44..ea86b8f35e 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts
@@ -9,7 +9,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts
index 4430d05247..07e8379172 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts
@@ -33,7 +33,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c59-v2.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c59-v2.dts
index c407dc3cde..c1321f5d20 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c59-v2.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c59-v2.dts
@@ -33,7 +33,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c60-v1.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c60-v1.dts
index 2a6bea30f2..a3bbf3e49c 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c60-v1.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c60-v1.dts
@@ -21,7 +21,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c60-v2.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c60-v2.dts
index afef276db2..2bcab77dbf 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c60-v2.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c60-v2.dts
@@ -21,7 +21,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9561_tplink_archer-c60-v3.dts b/target/linux/ath79/dts/qca9561_tplink_archer-c60-v3.dts
index cda2a3615b..c1a0a8c2e5 100644
--- a/target/linux/ath79/dts/qca9561_tplink_archer-c60-v3.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_archer-c60-v3.dts
@@ -16,8 +16,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts b/target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts
index 21203451cb..4dea09f429 100644
--- a/target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts
+++ b/target/linux/ath79/dts/qca9561_tplink_eap225-wall-v2.dts
@@ -66,7 +66,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts b/target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts
index a403877c89..22bd8c941d 100644
--- a/target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts
+++ b/target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts
@@ -58,7 +58,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_compex_wpj563.dts b/target/linux/ath79/dts/qca9563_compex_wpj563.dts
index 913155a0bd..74b6da9468 100644
--- a/target/linux/ath79/dts/qca9563_compex_wpj563.dts
+++ b/target/linux/ath79/dts/qca9563_compex_wpj563.dts
@@ -65,8 +65,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_dlink_dir-842-c.dtsi b/target/linux/ath79/dts/qca9563_dlink_dir-842-c.dtsi
index 02a3e3e44a..3b45681bc0 100644
--- a/target/linux/ath79/dts/qca9563_dlink_dir-842-c.dtsi
+++ b/target/linux/ath79/dts/qca9563_dlink_dir-842-c.dtsi
@@ -61,8 +61,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts b/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts
index 572a0bc6ea..49805ec319 100644
--- a/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts
+++ b/target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts
@@ -80,8 +80,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi b/target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi
index 7efdfa62af..90d91a6d8e 100644
--- a/target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi
+++ b/target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi
@@ -51,7 +51,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi b/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi
index 24b0860d7c..75103afdd7 100644
--- a/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi
+++ b/target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dtsi
@@ -70,8 +70,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <2>;
-
 	flash_nor: flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_nec_wg1200cr.dts b/target/linux/ath79/dts/qca9563_nec_wg1200cr.dts
index 0f77cfa5f1..a224ddbd5f 100644
--- a/target/linux/ath79/dts/qca9563_nec_wg1200cr.dts
+++ b/target/linux/ath79/dts/qca9563_nec_wg1200cr.dts
@@ -70,8 +70,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_nec_wg800hp.dts b/target/linux/ath79/dts/qca9563_nec_wg800hp.dts
index befd1620e9..8a4226f35c 100644
--- a/target/linux/ath79/dts/qca9563_nec_wg800hp.dts
+++ b/target/linux/ath79/dts/qca9563_nec_wg800hp.dts
@@ -94,7 +94,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi b/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
index ca29336147..e77298bbd9 100644
--- a/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
+++ b/target/linux/ath79/dts/qca9563_netgear_wndr.dtsi
@@ -95,8 +95,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <2>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_phicomm_k2t.dts b/target/linux/ath79/dts/qca9563_phicomm_k2t.dts
index e89a4de1ee..b86289a3ab 100644
--- a/target/linux/ath79/dts/qca9563_phicomm_k2t.dts
+++ b/target/linux/ath79/dts/qca9563_phicomm_k2t.dts
@@ -55,8 +55,6 @@
 };
 
 &spi {
-	num-cs = <1>;
-
 	status = "okay";
 
 	flash at 0 {
diff --git a/target/linux/ath79/dts/qca9563_qxwlan_e1700ac.dtsi b/target/linux/ath79/dts/qca9563_qxwlan_e1700ac.dtsi
index 0c397e7dd9..33d0095da4 100644
--- a/target/linux/ath79/dts/qca9563_qxwlan_e1700ac.dtsi
+++ b/target/linux/ath79/dts/qca9563_qxwlan_e1700ac.dtsi
@@ -56,8 +56,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_rosinson_wr818.dts b/target/linux/ath79/dts/qca9563_rosinson_wr818.dts
index ce73d0838f..512d36bbe0 100644
--- a/target/linux/ath79/dts/qca9563_rosinson_wr818.dts
+++ b/target/linux/ath79/dts/qca9563_rosinson_wr818.dts
@@ -50,8 +50,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts
index 95ac123f48..6e7bd9986a 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts
@@ -99,8 +99,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts
index 399f410612..892e87ebaf 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2-us.dts
@@ -77,8 +77,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2.dts
index d00320ad02..c64402bcfe 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c6-v2.dts
@@ -77,8 +77,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
index 77ba6c4ffb..e0d03e1640 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts
@@ -184,8 +184,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi b/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi
index 63c9977c6c..c13bafce0b 100644
--- a/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi
+++ b/target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi
@@ -126,8 +126,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_tplink_eap245-v3.dts b/target/linux/ath79/dts/qca9563_tplink_eap245-v3.dts
index 184c208f58..fdb3d8cdc1 100644
--- a/target/linux/ath79/dts/qca9563_tplink_eap245-v3.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_eap245-v3.dts
@@ -54,7 +54,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_tplink_eap2x5-1port.dtsi b/target/linux/ath79/dts/qca9563_tplink_eap2x5-1port.dtsi
index 4c550fff6e..0be46301f0 100644
--- a/target/linux/ath79/dts/qca9563_tplink_eap2x5-1port.dtsi
+++ b/target/linux/ath79/dts/qca9563_tplink_eap2x5-1port.dtsi
@@ -32,7 +32,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_tplink_re450.dtsi b/target/linux/ath79/dts/qca9563_tplink_re450.dtsi
index 85b9cf6a10..e09c1ba63f 100644
--- a/target/linux/ath79/dts/qca9563_tplink_re450.dtsi
+++ b/target/linux/ath79/dts/qca9563_tplink_re450.dtsi
@@ -115,8 +115,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi
index 0ce1da832c..1503bf4c8e 100644
--- a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi
+++ b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630.dtsi
@@ -85,8 +85,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n-v5.dts b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n-v5.dts
index 208a5ca88e..cba124aa85 100644
--- a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n-v5.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043n-v5.dts
@@ -9,7 +9,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts
index 2f2d59ebd3..ddb986ffdd 100644
--- a/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts
@@ -21,8 +21,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
index 7a5a957f7b..14532d3b7f 100644
--- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
+++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi
@@ -49,7 +49,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi b/target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi
index a14cf48340..f8fdf5e27d 100644
--- a/target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi
+++ b/target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi
@@ -64,8 +64,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi b/target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi
index 30e2cb6439..3e591ec908 100644
--- a/target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi
+++ b/target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi
@@ -14,8 +14,6 @@
 &spi {
 	status = "okay";
 
-	num-cs = <1>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;



More information about the lede-commits mailing list