I'm running in to the issue mentioned in the tile; "Only spi nodes accepted in /soc/spi@40023000/". I'm using nRF connect and built a driver for the TI ADS1291 analog front end but I'm facing this error and I'm unable to find any documentation. I've compared it as much as possible with the ADXL372 example but the in and outputs seem the same to me.
I added a ti,ads1291.yaml file at dts/bindings/ and added "set(DTS_ROOT dts)" to CMakeLists.txt with the following contents:
# A high level description of the device the binding applies to:
description: |
This is the TI ADS1291
# Used to match nodes to this binding as discussed above:
compatible: "ti,ads1291"
include: spi-device.yaml
properties:
int1-gpios:
type: phandle-array
required: false
description: |
The INT1 signal defaults to active low as produced by the
sensor. The property value should ensure the flags properly
describe the signal that is presented to the driver.
s
I also added the ADS1291 by means of an overlay to the nrf52dk_nrf52832 devicetree:
&spi2 {
cs-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
ads1291@0 {
compatible = "ti,ads1291";
reg = <0>;
spi-max-frequency = <2000000>;
label = "ADS1291";
int1-gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
};
};
I enabled my custom driver from prj.conf:
The build system seems to pick up the config correctly: