1/*
2 * Copyright (c) 2019 Vestas Wind Systems A/S
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <zephyr/dt-bindings/adc/adc.h>
8#include <zephyr/dt-bindings/gpio/gpio.h>
9
10&arduino_spi {
11	status = "okay";
12
13	lmp90100_lmp90100_evb: lmp90100@0 {
14		compatible = "ti,lmp90100";
15		reg = <0x0>;
16		spi-max-frequency = <1000000>;
17		/* Uncomment to use IRQ instead of polling: */
18		/* drdyb-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>; */
19		#io-channel-cells = <1>;
20
21		lmp90100_gpio: gpio {
22			compatible = "ti,lmp90xxx-gpio";
23			gpio-controller;
24			/* Reduce to 6 if drdyb is used */
25			ngpios = <7>;
26			#gpio-cells = <2>;
27		};
28	};
29};
30
31&arduino_i2c {
32	status = "okay";
33
34	eeprom0_lmp90100_evb: eeprom@57 {
35		compatible = "atmel,at24c02", "atmel,at24";
36		reg = <0x57>;
37		size = <256>;
38		pagesize = <8>;
39		address-width = <8>;
40		timeout = <5>;
41	};
42};
43