[openwrt/openwrt] ath79: dts: remove SPI num-cs property

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 19 15:28:59 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/160a3a2fd7893dd289dd77d81ce15c526f3a0e27

commit 160a3a2fd7893dd289dd77d81ce15c526f3a0e27
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Sun Aug 24 20:56:32 2025 +0800

    ath79: dts: remove SPI num-cs property
    
    This is a useless property on ath79 target. Both spi-ar934x and
    spi-ath79 drivers don't check num-cs property. They always set
    chip select number to 3.
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
    Link: https://github.com/openwrt/openwrt/pull/19845
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts       | 1 -
 target/linux/ath79/dts/qca9531_teltonika_rut300.dts   | 1 -
 target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts | 1 -
 target/linux/ath79/dts/qca9563_tplink_deco-s4-v2.dts  | 1 -
 4 files changed, 4 deletions(-)

diff --git a/target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts b/target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts
index 10b6051c3b..35eb59616c 100644
--- a/target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts
+++ b/target/linux/ath79/dts/ar9331_hiwifi_hc6361.dts
@@ -61,7 +61,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9531_teltonika_rut300.dts b/target/linux/ath79/dts/qca9531_teltonika_rut300.dts
index 497cb6f43c..0a2df38b8c 100644
--- a/target/linux/ath79/dts/qca9531_teltonika_rut300.dts
+++ b/target/linux/ath79/dts/qca9531_teltonika_rut300.dts
@@ -64,7 +64,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts b/target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts
index 088ef7b63c..1f8ded0c14 100644
--- a/target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_deco-m4r-v1.dts
@@ -81,7 +81,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/qca9563_tplink_deco-s4-v2.dts b/target/linux/ath79/dts/qca9563_tplink_deco-s4-v2.dts
index 147a880de8..69d97f6e46 100644
--- a/target/linux/ath79/dts/qca9563_tplink_deco-s4-v2.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_deco-s4-v2.dts
@@ -81,7 +81,6 @@
 
 &spi {
 	status = "okay";
-	num-cs = <1>;
 
 	flash at 0 {
 		compatible = "jedec,spi-nor";




More information about the lede-commits mailing list