soc: arm: nrf5340: remove DTS nodes for non-functional devices

Several peripherals are non-functional in the ENG_A revision
of nRF5340 (Application MCU) so we delete the corresponding
DTS nodes in the device description.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2020-07-07 15:11:58 +02:00 committed by Carles Cufí
commit 619a498845
3 changed files with 21 additions and 8 deletions

View file

@ -104,14 +104,6 @@
ch0-pin = <28>;
};
&spi2 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = <47>;
miso-pin = <46>;
mosi-pin = <45>;
};
&timer0 {
status = "okay";
};

View file

@ -20,3 +20,11 @@
zephyr,sram-non-secure-partition = &sram0_ns;
};
};
&spi2 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = <47>;
miso-pin = <46>;
mosi-pin = <45>;
};

View file

@ -24,3 +24,16 @@
compatible = "nordic,nRF5340-CPUAPP-QKAA", "nordic,nRF5340-CPUAPP", "nordic,nRF53", "simple-bus";
};
};
/*
* Several peripherals are not functional on ENG_A revision
* so we delete the corresponding DTS nodes.
*/
/delete-node/ &i2c2;
/delete-node/ &i2c3;
/delete-node/ &spi2;
/delete-node/ &spi3;
/delete-node/ &uart2;
/delete-node/ &uart3;
/delete-node/ &pwm3;
/delete-node/ &wdt1;