[openwrt/openwrt] mediatek: redmi-ax6000: drop cs-gpios

LEDE Commits lede-commits at lists.infradead.org
Fri Dec 16 23:43:56 PST 2022


981213 pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7fb32285d543fa93a7998625edc3faabb06ae49f

commit 7fb32285d543fa93a7998625edc3faabb06ae49f
Author: Chuanhong Guo <gch981213 at gmail.com>
AuthorDate: Sat Dec 17 15:07:54 2022 +0800

    mediatek: redmi-ax6000: drop cs-gpios
    
    'cs-gpios = <0>, <0>' is a hack in ath79 to override the incorrectly
    specified maximum number of chipselects available in spi-ath79.c.
    It's not needed here and must have been copied here by mistake.
    
    Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
---
 target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi b/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
index 4b2754b001..1a80649721 100644
--- a/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
+++ b/target/linux/mediatek/dts/mt7986a-xiaomi-redmi-router-ax6000.dtsi
@@ -125,7 +125,6 @@
 &spi0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&spi_flash_pins>;
-	cs-gpios = <0>, <0>;
 	status = "okay";
 
 	flash at 0 {




More information about the lede-commits mailing list