mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-09 16:31:56 +00:00
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>
17 lines
298 B
Plaintext
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>;
|
|
};
|
|
};
|