[openwrt/openwrt] ath79: drop cs-gpios property

LEDE Commits lede-commits at lists.infradead.org
Sat May 1 12:18:57 BST 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/e5f81ea3fe79ad484d454f5959814b3a1b094dcb

commit e5f81ea3fe79ad484d454f5959814b3a1b094dcb
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Wed Mar 3 10:23:00 2021 +0100

    ath79: drop cs-gpios property
    
    The spi-ath79 driver performs the chipselect by writing to dedicated
    register in the SPI register block. So the GPIO numbers were not used.
    
    Tested-on: Enterasys WS-AP3705i
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi    | 1 -
 target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi          | 2 --
 target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts | 2 --
 target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts      | 2 --
 4 files changed, 7 deletions(-)

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 109ed0caf3..b8176dc059 100644
--- a/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi
+++ b/target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi
@@ -219,7 +219,6 @@
 &spi {
 	status = "okay";
 
-	cs-gpios = <0>, <0>;
 
 	flash0: flash at 0 {
 		compatible = "jedec,spi-nor";
diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi b/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi
index 98f6759eac..df28111598 100644
--- a/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi
+++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi
@@ -107,8 +107,6 @@
 &spi {
 	status = "okay";
 
-	cs-gpios = <0>, <0>;
-
 	flash0: flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
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 7cb051a475..111d06491e 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
@@ -163,8 +163,6 @@
 &spi {
 	status = "okay";
 
-	cs-gpios = <0>, <0>;
-
 	flash0: flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;
diff --git a/target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts b/target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts
index 52becec18b..8f8276255a 100644
--- a/target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts
+++ b/target/linux/ath79/dts/ar9344_enterasys_ws-ap3705i.dts
@@ -114,8 +114,6 @@
 &spi {
 	status = "okay";
 
-	cs-gpios = <0>, <0>;
-
 	flash at 0 {
 		compatible = "jedec,spi-nor";
 		reg = <0>;



More information about the lede-commits mailing list