zephyr/samples/sensor/ccs811/boards/nrf51_ble400.overlay

22 lines
558 B
Plaintext

/*
* Copyright (c) 2018 Peter Bigot Consulting, LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
&i2c0 {
status = "okay";
sda-pin = <0>;
scl-pin = <1>;
/* Sparkfun Environment Combo uses second I2C address */
ccs811: ccs811@5b {
compatible = "ams,ccs811";
reg = <0x5b>;
label = "CCS811";
irq-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
wake-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
};
};