mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-04 22:26:06 +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>
22 lines
380 B
Plaintext
22 lines
380 B
Plaintext
/*
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&spi1 {
|
|
status = "okay";
|
|
sck-pin = <25>;
|
|
mosi-pin = <23>;
|
|
miso-pin = <24>;
|
|
cs-gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
|
|
|
|
adxl362@0 {
|
|
compatible = "adi,adxl362";
|
|
label = "ADXL362";
|
|
spi-max-frequency = <8000000>;
|
|
reg = <0>;
|
|
int1-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|