/* * Copyright (c) 2020 TDK Invensense * * SPDX-License-Identifier: Apache-2.0 */ &pinctrl { spi0_default_alt: spi0_default_alt { group1 { psels = , , ; }; }; spi0_sleep_alt: spi0_sleep_alt { group1 { psels = , , ; low-power-enable; }; }; }; &spi0 { compatible = "nordic,nrf-spi"; status = "okay"; pinctrl-0 = <&spi0_default_alt>; pinctrl-1 = <&spi0_sleep_alt>; pinctrl-names = "default", "sleep"; cs-gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; icm42605@0 { compatible = "invensense,icm42605"; spi-max-frequency = <24000000>; reg = <0>; int-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; }; };