1/*
2 * Copyright (c) 2024, TDK Invensense
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/*
8 * Get a node identifier for pressure sensor.
9 */
10/ {
11	aliases {
12		pressure-sensor = &icp201xx;
13	};
14};
15
16/* Example configuration of a ICP2021XX device on an Arduino SPI bus. */
17&arduino_spi {
18	status = "okay";
19	cs-gpios = <&arduino_header 14 GPIO_ACTIVE_LOW>; /* D8 */
20	icp201xx: icp201xx@0 {
21		compatible = "invensense,icp201xx";
22		reg = <0>;
23		spi-max-frequency = <500000>; /* conservatively set to 500k */
24		int-gpios = <&arduino_header 8 GPIO_ACTIVE_HIGH>; /* D2 */
25		drive-strength = "current_4mA_1_8V"; /* Avoid cross talk */
26	};
27};
28
29/*
30 * Increase native UART speed.
31 */
32&uart0 {
33	compatible = "nordic,nrf-uarte";
34	status = "okay";
35	current-speed = <1000000>;
36};
37