zephyr/samples/sensor/adxl372/boards/nrf52dk_nrf52832.overlay
Peter Bigot 9dc7640ede spi-device: set CS gpio flags for all devices that had none
The generic SPI GPIO chip select support now respects devicetree flags
for signal active level.  Update all cs-gpios properties to specify
active low.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-07-09 06:07:07 -05:00

17 lines
298 B
Plaintext

/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
&spi2 {
cs-gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
adxl372@0 {
compatible = "adi,adxl372";
reg = <0>;
spi-max-frequency = <8000000>;
label = "ADXL372";
int1-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
};
};