Hello,
I'm working with nRF52840, BL653-DK board (Laird), and I'm trying to bind and read from the flash memory of the device (MX25L32, SPI NOR).
I've added this node to the board's .dts file, as a child node to the spi1 node:
...
&spi1 {
compatible = "nordic,nrf-spi";
status = "okay";
sck-pin = <41>;
mosi-pin = <40>;
miso-pin = <4>;
cs-gpios = <&gpio1 23 0>;
mx25l32: mx25l3235f@0 {
compatible = "nordic,qspi-nor";
reg = <0>;
spi-max-frequency = <80000000>;
label = "MX25L32";
jedec-id = [c2 28 17];
size = <67108864>;
wp-gpios = <&gpio0 22 0>;
hold-gpios = <&gpio0 23 0>;
};
};
When trying to bind to this flash from my project it does not seem to identify the drive and I get NULL from the device_get_binding() func: