From 0237bf1af58f322edebe88f5a9631cad31d4260a Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Mon, 21 Aug 2023 17:08:03 +0530 Subject: [PATCH] boards: shields: nrf7002ek: Fix SPI CS GPIOs overwrite In case the original DTS has multi-element array for CS GPIOs, then the Wi-Fi shield will overwrite causing build failures. E.g., nRF9160DK 0.14.0 (default now). As the default value needed for Wi-Fi is already set in original DTS remove the entry from the overlays. Signed-off-by: Chaitanya Tata --- boards/shields/nrf7002ek/nrf7002ek.overlay | 1 - boards/shields/nrf7002ek_nrf7000/nrf7002ek_nrf7000.overlay | 1 - boards/shields/nrf7002ek_nrf7001/nrf7002ek_nrf7001.overlay | 1 - 3 files changed, 3 deletions(-) diff --git a/boards/shields/nrf7002ek/nrf7002ek.overlay b/boards/shields/nrf7002ek/nrf7002ek.overlay index d2eb9352dd21..f1de896fb011 100644 --- a/boards/shields/nrf7002ek/nrf7002ek.overlay +++ b/boards/shields/nrf7002ek/nrf7002ek.overlay @@ -7,7 +7,6 @@ &arduino_spi { status = "okay"; - cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ nrf700x: nrf7002@0 { compatible = "nordic,nrf700x-spi"; diff --git a/boards/shields/nrf7002ek_nrf7000/nrf7002ek_nrf7000.overlay b/boards/shields/nrf7002ek_nrf7000/nrf7002ek_nrf7000.overlay index 4295f309bf91..6363b39d4133 100644 --- a/boards/shields/nrf7002ek_nrf7000/nrf7002ek_nrf7000.overlay +++ b/boards/shields/nrf7002ek_nrf7000/nrf7002ek_nrf7000.overlay @@ -7,7 +7,6 @@ &arduino_spi { status = "okay"; - cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ nrf700x: nrf7000@0 { compatible = "nordic,nrf700x-spi"; diff --git a/boards/shields/nrf7002ek_nrf7001/nrf7002ek_nrf7001.overlay b/boards/shields/nrf7002ek_nrf7001/nrf7002ek_nrf7001.overlay index bf3906b2da18..c25d28d63a03 100644 --- a/boards/shields/nrf7002ek_nrf7001/nrf7002ek_nrf7001.overlay +++ b/boards/shields/nrf7002ek_nrf7001/nrf7002ek_nrf7001.overlay @@ -7,7 +7,6 @@ &arduino_spi { status = "okay"; - cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ nrf700x: nrf7001@0 { compatible = "nordic,nrf700x-spi";