blob: e4fbcf3acd08a99baa07ea691e557b09834f984e [file] [log] [blame]
/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi3 {
sck-pin = <11>;
mosi-pin = <12>;
miso-pin = <13>;
cs-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>,
<&gpio0 10 GPIO_ACTIVE_LOW>;
at45db0: at45db041e@0 {
compatible = "atmel,at45";
reg = <0>;
spi-max-frequency = <15000000>;
label = "DATAFLASH_0";
jedec-id = [1f 24 00];
size = <4194304>;
sector-size = <65536>;
block-size = <2048>;
page-size = <256>;
enter-dpd-delay = <2000>;
exit-dpd-delay = <35000>;
status = "disabled";
};
at45db1: at45db321e@1 {
compatible = "atmel,at45";
reg = <1>;
spi-max-frequency = <15000000>;
label = "DATAFLASH_1";
jedec-id = [1f 27 01];
size = <33554432>;
sector-size = <65536>;
block-size = <4096>;
page-size = <512>;
use-udpd;
enter-dpd-delay = <1000>;
exit-dpd-delay = <180000>;
status = "okay";
};
};
&uart0 {
/*
* Only TX is used in this sample, so delete the RX pin assignment
* to prevent UART receiver from being enabled and consuming power.
*/
/delete-property/ rx-pin;
};