zephyr/boards/shields/lmp90100_evb/lmp90100_evb.overlay

41 lines
738 B
Plaintext
Raw Normal View History

/*
* Copyright (c) 2019 Vestas Wind Systems A/S
*
* SPDX-License-Identifier: Apache-2.0
*/
&arduino_spi {
status = "okay";
lmp90100: lmp90100@0 {
compatible = "ti,lmp90100";
reg = <0x0>;
spi-max-frequency = <1000000>;
label = "LMP90100";
/* Uncomment to use IRQ instead of polling: */
/* drdyb-gpios = <&arduino_header 15 GPIO_INT_ACTIVE_LOW>; */
#io-channel-cells = <2>;
gpio {
compatible = "ti,lmp90xxx-gpio";
gpio-controller;
label = "LMP90100_GPIO";
#gpio-cells = <2>;
};
};
};
&arduino_i2c {
status = "okay";
eeprom0: eeprom@57 {
compatible = "atmel,at24";
reg = <0x57>;
label = "EEPROM_LMP90100_EVB";
size = <256>;
pagesize = <8>;
address-width = <8>;
timeout = <5>;
};
};