From 68dfaee894422e823beb65f7040f193b248428cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20S=C3=B8rensen?= Date: Wed, 15 May 2024 16:23:01 +0200 Subject: [PATCH] boards: fixed SPI DTS bug for nrf5340_audio_dk board MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the SPI DTS bug on the nrf5340_audio_dk board which was introduced by b8978e9: unit address and first address in 'reg' (0x0) don't match for /soc/peripheral@50000000/spi@a000/sdhc@1 unit address and first address in 'reg' (0x1) don't match for /soc/peripheral@50000000/spi@a000/cs47l63@2 Signed-off-by: Tim Sørensen --- .../nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi b/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi index 278f7853078..8504e23ed7e 100644 --- a/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi +++ b/boards/nordic/nrf5340_audio_dk/nrf5340_audio_dk_nrf5340_cpuapp_common.dtsi @@ -193,7 +193,7 @@ arduino_spi: &spi4 { pinctrl-names = "default", "sleep"; sdhc0: sdhc@1 { compatible = "zephyr,sdhc-spi-slot"; - reg = <0>; + reg = <1>; status = "okay"; sdmmc { compatible = "zephyr,sdmmc-disk"; @@ -205,7 +205,7 @@ arduino_spi: &spi4 { cs47l63: cs47l63@2 { compatible = "cirrus,cs47l63"; - reg = <1>; + reg = <2>; spi-max-frequency = <8000000>; irq-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;