tests: drivers: build_all: Remove dts_fixup.h replace with overlay

Remove the dts_fixup.h with a DTS app overlay file instead.  We have
sensors that show up on both the I2C and SPI busses, and we disable
the sensors to match how the tests work currently.

The app.overlay utilizes the testing dts bindings to create test nodes
that should not conflict with any existing SoC nodes.  Thus allowing the
test to run on any platform.

The dts overlay is structured such that i2c.dtsi and spi.dtsi are
generated with default values for required properties.  We than update
device properties for those nodes that the defaults are sufficient for
one reason or another.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-03-26 15:11:19 -05:00 committed by Kumar Gala
commit 5a830b2238
4 changed files with 1131 additions and 683 deletions

View file

@ -0,0 +1,146 @@
/*
* Copyright (c) 2020, Linaro Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*
* Application overlay for testing driver builds
*
* Names in this file should be chosen in a way that won't conflict
* with real-world devicetree nodes, to allow these tests to run on
* (and be extended to test) real hardware.
*/
/ {
test {
#address-cells = <1>;
#size-cells = <1>;
test_gpio: gpio@deadbeef {
compatible = "vnd,gpio";
gpio-controller;
reg = <0xdeadbeef 0x1000>;
#gpio-cells = <0x2>;
label = "TEST_GPIO_1";
status = "okay";
};
test_i2c: i2c@11112222 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "vnd,i2c";
reg = <0x11112222 0x1000>;
label = "TEST_I2C_CTLR";
status = "okay";
clock-frequency = <100000>;
#include "i2c.dtsi"
};
test_spi: spi@33334444 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "vnd,spi";
reg = <0x33334444 0x1000>;
label = "TEST_SPI_CTLR";
status = "okay";
clock-frequency = <2000000>;
#include "spi.dtsi"
};
dht22 {
compatible = "aosong,dht";
status = "okay";
label = "DHT22";
dio-gpios = <&test_gpio 0 0>;
/* dht22; */
};
};
};
/* Put device specific modifications to properties or disabling of devices
* here to keep the bus specific dtsi files (i2c.dtsi, spi.dtsi, etc..)
* pristine
*/
/* setup valid params for the device */
&test_i2c_at24 {
reg = <0x8>;
size = <32768>;
pagesize = <64>;
address-width = <16>;
timeout = <5>;
};
/* disable device to conflict with i2c version */
&test_i2c_iis2dlpc {
status = "disabled";
};
/* disable device to conflict with i2c version */
&test_i2c_ism330dhcx {
status = "disabled";
};
/* disable device to conflict with i2c version */
&test_i2c_lis2dh {
status = "disabled";
};
/* disable device to conflict with i2c version */
&test_i2c_lis2ds12 {
status = "disabled";
};
/* disable device to conflict with i2c version */
&test_i2c_lis2dw12 {
status = "disabled";
};
/* disable device to conflict with i2c version */
&test_i2c_lis2mdl {
status = "disabled";
};
/* disable device to conflict with i2c version */
&test_i2c_lps22hh {
status = "disabled";
};
/* disable device to conflict with i2c version */
&test_i2c_lsm6dsl {
status = "disabled";
};
/* disable device to conflict with i2c version */
&test_i2c_lsm6dso {
status = "disabled";
};
/* setup valid params for the device */
&test_spi_at25 {
size = <32768>;
pagesize = <64>;
address-width = <16>;
timeout = <5>;
};
/* disable device to conflict with i2c version */
&test_spi_bme280 {
status = "disabled";
};
/* setup valid params for the device */
&test_spi_enc28j60 {
local-mac-address = [00 00 00 00 00 00];
};
/* disable device to conflict with i2c version */
&test_spi_iis2mdc {
status = "disabled";
};
/* setup valid params for the device */
&test_spi_iis3dhhc {
irq-gpios = <&test_gpio 0 0>, <&test_gpio 0 0>;
};

View file

@ -1,683 +0,0 @@
/* SPDX-License-Identifier: Apache-2.0 */
#if defined(CONFIG_HAS_DTS_I2C)
#ifndef DT_INST_0_ADI_ADT7420_LABEL
#define DT_INST_0_ADI_ADT7420_LABEL ""
#define DT_INST_0_ADI_ADT7420_BASE_ADDRESS 0
#define DT_INST_0_ADI_ADT7420_BUS_NAME ""
#define DT_INST_0_ADI_ADT7420_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_ADI_ADT7420_INT_GPIOS_FLAGS 0
#define DT_INST_0_ADI_ADT7420_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_ADI_ADXL362_LABEL
#define DT_INST_0_ADI_ADXL362_LABEL ""
#define DT_INST_0_ADI_ADXL362_BUS_NAME ""
#define DT_INST_0_ADI_ADXL362_BASE_ADDRESS 0
#define DT_INST_0_ADI_ADXL362_INT1_GPIOS_CONTROLLER ""
#define DT_INST_0_ADI_ADXL362_INT1_GPIOS_FLAGS 0
#define DT_INST_0_ADI_ADXL362_INT1_GPIOS_PIN 0
#define DT_INST_0_ADI_ADXL362_CS_GPIOS_CONTROLLER 0
#define DT_INST_0_ADI_ADXL362_CS_GPIOS_FLAGS 0
#define DT_INST_0_ADI_ADXL362_CS_GPIOS_PIN 0
#define DT_INST_0_ADI_ADXL362_SPI_MAX_FREQUENCY 0
#endif
#ifndef DT_INST_0_ADI_ADXL372_LABEL
#define DT_INST_0_ADI_ADXL372_LABEL ""
#define DT_INST_0_ADI_ADXL372_BUS_NAME ""
#define DT_INST_0_ADI_ADXL372_BASE_ADDRESS 0
#define DT_INST_0_ADI_ADXL372_INT1_GPIOS_CONTROLLER ""
#define DT_INST_0_ADI_ADXL372_INT1_GPIOS_FLAGS 0
#define DT_INST_0_ADI_ADXL372_INT1_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_AVAGO_APDS9960_LABEL
#define DT_INST_0_AVAGO_APDS9960_LABEL ""
#define DT_INST_0_AVAGO_APDS9960_BUS_NAME ""
#define DT_INST_0_AVAGO_APDS9960_BASE_ADDRESS 0
#define DT_INST_0_AVAGO_APDS9960_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_AVAGO_APDS9960_INT_GPIOS_FLAGS 0
#define DT_INST_0_AVAGO_APDS9960_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_BOSCH_BMA280_LABEL
#define DT_INST_0_BOSCH_BMA280_LABEL ""
#define DT_INST_0_BOSCH_BMA280_BASE_ADDRESS 0
#define DT_INST_0_BOSCH_BMA280_BUS_NAME ""
#define DT_INST_0_BOSCH_BMA280_IS_BMC150 0
#define DT_INST_0_BOSCH_BMA280_INT1_GPIOS_CONTROLLER ""
#define DT_INST_0_BOSCH_BMA280_INT1_GPIOS_FLAGS 0
#define DT_INST_0_BOSCH_BMA280_INT1_GPIOS_PIN 0
#define DT_BOSCH_BMA280_BUS_I2C 1
#endif
#ifndef DT_INST_0_BOSCH_BME280_LABEL
#define DT_INST_0_BOSCH_BME280_LABEL ""
#define DT_INST_0_BOSCH_BME280_BASE_ADDRESS 0
#define DT_INST_0_BOSCH_BME280_BUS_NAME ""
#define DT_BOSCH_BME280_BUS_I2C 1
#endif
#ifndef DT_INST_0_BOSCH_BME680_LABEL
#define DT_INST_0_BOSCH_BME680_LABEL ""
#define DT_INST_0_BOSCH_BME680_BASE_ADDRESS 0
#define DT_INST_0_BOSCH_BME680_BUS_NAME ""
#define DT_BOSCH_BME680_BUS_I2C 1
#endif
#ifndef DT_INST_0_AMS_CCS811_LABEL
#define DT_INST_0_AMS_CCS811_LABEL ""
#define DT_INST_0_AMS_CCS811_BUS_NAME ""
#define DT_INST_0_AMS_CCS811_BASE_ADDRESS 0
#endif
#ifndef DT_INST_0_AOSONG_DHT_LABEL
#define DT_INST_0_AOSONG_DHT_LABEL ""
#define DT_INST_0_AOSONG_DHT_DIO_GPIOS_CONTROLLER ""
#define DT_INST_0_AOSONG_DHT_DIO_GPIOS_PIN 0
#define DT_INST_0_AOSONG_DHT_DIO_GPIOS_FLAGS 0
#endif
#ifndef DT_INST_0_NXP_FXAS21002_LABEL
#define DT_INST_0_NXP_FXAS21002_LABEL ""
#define DT_INST_0_NXP_FXAS21002_BASE_ADDRESS 0
#define DT_INST_0_NXP_FXAS21002_BUS_NAME ""
#define DT_INST_0_NXP_FXAS21002_INT2_GPIOS_CONTROLLER ""
#define DT_INST_0_NXP_FXAS21002_INT2_GPIOS_FLAGS 0
#define DT_INST_0_NXP_FXAS21002_INT2_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_NXP_FXOS8700_LABEL
#define DT_INST_0_NXP_FXOS8700_LABEL ""
#define DT_INST_0_NXP_FXOS8700_BASE_ADDRESS 0
#define DT_INST_0_NXP_FXOS8700_BUS_NAME ""
#define DT_INST_0_NXP_FXOS8700_INT1_GPIOS_CONTROLLER ""
#define DT_INST_0_NXP_FXOS8700_INT1_GPIOS_FLAGS 0
#define DT_INST_0_NXP_FXOS8700_INT1_GPIOS_PIN 0
#define DT_INST_0_NXP_FXOS8700_INT2_GPIOS_CONTROLLER ""
#define DT_INST_0_NXP_FXOS8700_INT2_GPIOS_FLAGS 0
#define DT_INST_0_NXP_FXOS8700_INT2_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_PANASONIC_AMG88XX_LABEL
#define DT_INST_0_PANASONIC_AMG88XX_LABEL ""
#define DT_INST_0_PANASONIC_AMG88XX_BUS_NAME ""
#define DT_INST_0_PANASONIC_AMG88XX_BASE_ADDRESS 0
#define DT_INST_0_PANASONIC_AMG88XX_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_PANASONIC_AMG88XX_INT_GPIOS_FLAGS 0
#define DT_INST_0_PANASONIC_AMG88XX_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_ST_ISM330DHCX_LABEL
#define DT_INST_0_ST_ISM330DHCX_LABEL ""
#define DT_INST_0_ST_ISM330DHCX_BUS_NAME ""
#define DT_INST_0_ST_ISM330DHCX_BASE_ADDRESS 0
#define DT_INST_0_ST_ISM330DHCX_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_ISM330DHCX_DRDY_GPIOS_PIN 0
#define DT_INST_0_ST_ISM330DHCX_DRDY_GPIOS_CONTROLLER ""
#define DT_ST_ISM330DHCX_BUS_I2C 1
#endif
#ifndef DT_INST_0_ST_HTS221_LABEL
#define DT_INST_0_ST_HTS221_LABEL ""
#define DT_INST_0_ST_HTS221_BUS_NAME ""
#define DT_INST_0_ST_HTS221_BASE_ADDRESS 0
#define DT_INST_0_ST_HTS221_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_HTS221_DRDY_GPIOS_PIN 0
#define DT_INST_0_ST_HTS221_DRDY_GPIOS_CONTROLLER ""
#endif
#ifndef DT_INST_0_ST_IIS2DLPC_LABEL
#define DT_INST_0_ST_IIS2DLPC_LABEL ""
#define DT_INST_0_ST_IIS2DLPC_BUS_NAME ""
#define DT_INST_0_ST_IIS2DLPC_BASE_ADDRESS 0
#define DT_INST_0_ST_IIS2DLPC_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_IIS2DLPC_DRDY_GPIOS_PIN 0
#define DT_INST_0_ST_IIS2DLPC_DRDY_GPIOS_CONTROLLER ""
#define DT_ST_IIS2DLPC_BUS_I2C 1
#endif
#ifndef DT_INST_0_ST_IIS2MDC_LABEL
#define DT_INST_0_ST_IIS2MDC_LABEL ""
#define DT_INST_0_ST_IIS2MDC_BUS_NAME ""
#define DT_INST_0_ST_IIS2MDC_BASE_ADDRESS 0
#define DT_INST_0_ST_IIS2MDC_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_IIS2MDC_DRDY_GPIOS_PIN 0
#define DT_INST_0_ST_IIS2MDC_DRDY_GPIOS_CONTROLLER ""
#define DT_ST_IIS2MDC_BUS_I2C 1
#endif
#ifndef DT_INST_0_ST_LIS3MDL_MAGN_LABEL
#define DT_INST_0_ST_LIS3MDL_MAGN_LABEL ""
#define DT_INST_0_ST_LIS3MDL_MAGN_BUS_NAME ""
#define DT_INST_0_ST_LIS3MDL_MAGN_BASE_ADDRESS 0x19
#define DT_INST_0_ST_LIS3MDL_MAGN_IRQ_GPIOS_PIN 0
#define DT_INST_0_ST_LIS3MDL_MAGN_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LIS3MDL_MAGN_IRQ_GPIOS_FLAGS 0
#endif
#ifndef DT_INST_0_ST_LPS25HB_PRESS_LABEL
#define DT_INST_0_ST_LPS25HB_PRESS_LABEL ""
#define DT_INST_0_ST_LPS25HB_PRESS_BUS_NAME ""
#define DT_INST_0_ST_LPS25HB_PRESS_BASE_ADDRESS 0x19
#endif
#ifndef DT_INST_0_ST_LSM6DS0_LABEL
#define DT_INST_0_ST_LSM6DS0_LABEL ""
#define DT_INST_0_ST_LSM6DS0_BUS_NAME ""
#define DT_INST_0_ST_LSM6DS0_BASE_ADDRESS 0x19
#endif
#ifndef DT_INST_0_MAX_MAX30101_LABEL
#define DT_INST_0_MAX_MAX30101_BUS_NAME ""
#define DT_INST_0_MAX_MAX30101_LABEL ""
#define DT_INST_0_MAX_MAX30101_BASE_ADDRESS 0x57
#endif
#ifndef DT_INST_0_SEMTECH_SX1509B_LABEL
#define DT_INST_0_SEMTECH_SX1509B_LABEL ""
#define DT_INST_0_SEMTECH_SX1509B_BASE_ADDRESS 0
#define DT_INST_0_SEMTECH_SX1509B_BUS_NAME ""
#define DT_INST_0_SEMTECH_SX1509B_INIT_OUT_LOW 0
#define DT_INST_0_SEMTECH_SX1509B_INIT_OUT_HIGH 0
#define DT_INST_0_SEMTECH_SX1509B_NGPIOS 0
#endif
#ifndef DT_INST_0_ST_LSM6DSL_LABEL
#define DT_INST_0_ST_LSM6DSL_LABEL ""
#define DT_INST_0_ST_LSM6DSL_BASE_ADDRESS 0x6a
#define DT_INST_0_ST_LSM6DSL_BUS_NAME ""
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_PIN 0
#define DT_ST_LSM6DSL_BUS_I2C 1
#endif
#ifndef DT_INST_0_ST_LSM6DSO_LABEL
#define DT_INST_0_ST_LSM6DSO_LABEL ""
#define DT_INST_0_ST_LSM6DSO_BASE_ADDRESS 0x6a
#define DT_INST_0_ST_LSM6DSO_BUS_NAME ""
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_PIN 0
#define DT_ST_LSM6DSO_BUS_I2C 1
#endif
#ifndef DT_INST_0_ST_LPS22HB_PRESS_LABEL
#define DT_INST_0_ST_LPS22HB_PRESS_LABEL ""
#define DT_INST_0_ST_LPS22HB_PRESS_BASE_ADDRESS 0
#define DT_INST_0_ST_LPS22HB_PRESS_BUS_NAME ""
#endif
#ifndef DT_INST_0_ST_VL53L0X_LABEL
#define DT_INST_0_ST_VL53L0X_LABEL ""
#define DT_INST_0_ST_VL53L0X_BASE_ADDRESS 0
#define DT_INST_0_ST_VL53L0X_BUS_NAME ""
#endif
#ifndef DT_INST_0_ST_LSM303DLHC_MAGN_LABEL
#define DT_INST_0_ST_LSM303DLHC_MAGN_LABEL ""
#define DT_INST_0_ST_LSM303DLHC_MAGN_BUS_NAME ""
#define DT_INST_0_ST_LSM303DLHC_MAGN_BASE_ADDRESS 0x1e
#endif
#ifndef DT_INST_0_ST_LIS2DH_LABEL
#define DT_INST_0_ST_LIS2DH_LABEL ""
#define DT_INST_0_ST_LIS2DH_BASE_ADDRESS 0x19
#define DT_INST_0_ST_LIS2DH_BUS_NAME ""
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_PIN 0
#define DT_ST_LIS2DH_BUS_I2C 1
#endif
#ifndef DT_INST_0_SENSIRION_SHT3XD_LABEL
#define DT_INST_0_SENSIRION_SHT3XD_LABEL ""
#define DT_INST_0_SENSIRION_SHT3XD_ALERT_GPIOS_CONTROLLER ""
#define DT_INST_0_SENSIRION_SHT3XD_ALERT_GPIOS_FLAGS 0
#define DT_INST_0_SENSIRION_SHT3XD_ALERT_GPIOS_PIN 0
#define DT_INST_0_SENSIRION_SHT3XD_BASE_ADDRESS 0x44
#define DT_INST_0_SENSIRION_SHT3XD_BUS_NAME ""
#endif
#ifndef DT_INST_0_SILABS_SI7006_LABEL
#define DT_INST_0_SILABS_SI7006_LABEL ""
#define DT_INST_0_SILABS_SI7006_BASE_ADDRESS 0x40
#define DT_INST_0_SILABS_SI7006_BUS_NAME ""
#endif
#ifndef DT_INST_0_SILABS_SI7060_LABEL
#define DT_INST_0_SILABS_SI7060_LABEL ""
#define DT_INST_0_SILABS_SI7060_BASE_ADDRESS 0x00
#define DT_INST_0_SILABS_SI7060_BUS_NAME ""
#endif
#ifndef DT_INST_0_ST_LIS2DS12_LABEL
#define DT_INST_0_ST_LIS2DS12_LABEL ""
#define DT_INST_0_ST_LIS2DS12_BUS_NAME ""
#define DT_INST_0_ST_LIS2DS12_BASE_ADDRESS 0x19
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_PIN 0
#define DT_ST_LIS2DS12_BUS_I2C 1
#endif
#ifndef DT_INST_0_ST_LIS2MDL_LABEL
#define DT_INST_0_ST_LIS2MDL_LABEL ""
#define DT_INST_0_ST_LIS2MDL_BUS_NAME ""
#define DT_INST_0_ST_LIS2MDL_BASE_ADDRESS 0x19
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_PIN 0
#define DT_ST_LIS2MDL_BUS_I2C 1
#endif
#ifndef DT_INST_0_ST_LIS2DW12_LABEL
#define DT_INST_0_ST_LIS2DW12_LABEL ""
#define DT_INST_0_ST_LIS2DW12_BUS_NAME ""
#define DT_INST_0_ST_LIS2DW12_BASE_ADDRESS 0x19
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_PIN 0
#define DT_ST_LIS2DW12_BUS_I2C 1
#endif
#ifndef DT_INST_0_ST_LPS22HH_LABEL
#define DT_INST_0_ST_LPS22HH_LABEL ""
#define DT_INST_0_ST_LPS22HH_BUS_NAME ""
#define DT_INST_0_ST_LPS22HH_BASE_ADDRESS 0x19
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_PIN 0
#define DT_ST_LPS22HH_BUS_I2C 1
#endif
#ifndef DT_INST_0_ST_LSM9DS0_MFD_LABEL
#define DT_INST_0_ST_LSM9DS0_MFD_LABEL ""
#define DT_INST_0_ST_LSM9DS0_MFD_BUS_NAME ""
#define DT_INST_0_ST_LSM9DS0_MFD_BASE_ADDRESS 0x1d
#define DT_LSM9DS0_MFD_I2C_MASTER_DEV_NAME ""
#endif
#ifndef DT_INST_0_ST_LSM9DS0_GYRO_LABEL
#define DT_INST_0_ST_LSM9DS0_GYRO_LABEL ""
#define DT_INST_0_ST_LSM9DS0_GYRO_BUS_NAME ""
#define DT_INST_0_ST_LSM9DS0_GYRO_BASE_ADDRESS 0x1d
#define DT_INST_0_ST_LSM9DS0_GYRO_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LSM9DS0_GYRO_IRQ_GPIOS_PIN 1
#define DT_INST_0_ST_LSM9DS0_GYRO_IRQ_GPIOS_FLAGS 0
#endif
#ifndef DT_INST_0_ST_STTS751_LABEL
#define DT_INST_0_ST_STTS751_LABEL ""
#define DT_INST_0_ST_STTS751_BUS_NAME ""
#define DT_INST_0_ST_STTS751_BASE_ADDRESS 0x19
#define DT_INST_0_ST_STTS751_DRDY_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_STTS751_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_STTS751_DRDY_GPIOS_PIN 0
#define DT_ST_STTS751_BUS_I2C 1
#endif
#ifndef DT_INST_0_AMS_IAQCORE_LABEL
#define DT_INST_0_AMS_IAQCORE_LABEL ""
#define DT_INST_0_AMS_IAQCORE_BUS_NAME ""
#define DT_INST_0_AMS_IAQCORE_BASE_ADDRESS 0x00
#endif
#ifndef DT_INST_0_AMS_ENS210_LABEL
#define DT_INST_0_AMS_ENS210_LABEL ""
#define DT_INST_0_AMS_ENS210_BUS_NAME ""
#define DT_INST_0_AMS_ENS210_BASE_ADDRESS 0x00
#endif
#ifndef DT_INST_0_TI_HDC_LABEL
#define DT_INST_0_TI_HDC_LABEL ""
#define DT_INST_0_TI_HDC_BUS_NAME ""
#define DT_INST_0_TI_HDC_BASE_ADDRESS 0
#endif
#ifndef DT_INST_0_TI_OPT3001_LABEL
#define DT_INST_0_TI_OPT3001_LABEL ""
#define DT_INST_0_TI_OPT3001_BASE_ADDRESS 0x00
#define DT_INST_0_TI_OPT3001_BUS_NAME ""
#endif
#ifndef DT_INST_0_TI_TMP116_LABEL
#define DT_INST_0_TI_TMP116_LABEL ""
#define DT_INST_0_TI_TMP116_BASE_ADDRESS 0
#define DT_INST_0_TI_TMP116_BUS_NAME ""
#define DT_TI_TMP116_BUS_I2C 1
#endif
#ifndef DT_INST_0_ATMEL_AT24
#define DT_INST_0_ATMEL_AT24 1
#define DT_INST_0_ATMEL_AT24_LABEL ""
#define DT_INST_0_ATMEL_AT24_BUS_NAME ""
#define DT_INST_0_ATMEL_AT24_BASE_ADDRESS 0
#define DT_INST_0_ATMEL_AT24_WP_GPIOS_CONTROLLER ""
#define DT_INST_0_ATMEL_AT24_WP_GPIOS_PIN 0
#define DT_INST_0_ATMEL_AT24_WP_GPIOS_FLAGS 0
#define DT_INST_0_ATMEL_AT24_SIZE 32768
#define DT_INST_0_ATMEL_AT24_PAGESIZE 64
#define DT_INST_0_ATMEL_AT24_ADDRESS_WIDTH 16
#define DT_INST_0_ATMEL_AT24_READ_ONLY 0
#define DT_INST_0_ATMEL_AT24_TIMEOUT 5
#endif
#ifndef DT_INST_0_HOPERF_TH02_LABEL
#define DT_INST_0_HOPERF_TH02_LABEL ""
#define DT_INST_0_HOPERF_TH02_BUS_NAME ""
#define DT_INST_0_HOPERF_TH02_BASE_ADDRESS 0
#endif
#ifndef DT_INST_0_TI_TMP112_LABEL
#define DT_INST_0_TI_TMP112_LABEL ""
#define DT_INST_0_TI_TMP112_BASE_ADDRESS 0
#define DT_INST_0_TI_TMP112_BUS_NAME ""
#endif
#ifndef DT_INST_0_TI_TMP007_LABEL
#define DT_INST_0_TI_TMP007_LABEL ""
#define DT_INST_0_TI_TMP007_BASE_ADDRESS 0
#define DT_INST_0_TI_TMP007_BUS_NAME ""
#define DT_INST_0_TI_TMP007_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_TI_TMP007_INT_GPIOS_FLAGS 0
#define DT_INST_0_TI_TMP007_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_SEMTECH_SX9500_LABEL
#define DT_INST_0_SEMTECH_SX9500_LABEL ""
#define DT_INST_0_SEMTECH_SX9500_BASE_ADDRESS 0
#define DT_INST_0_SEMTECH_SX9500_BUS_NAME ""
#define DT_INST_0_SEMTECH_SX9500_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_SEMTECH_SX9500_INT_GPIOS_FLAGS 0
#define DT_INST_0_SEMTECH_SX9500_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_MICROCHIP_MCP9808_LABEL
#define DT_INST_0_MICROCHIP_MCP9808_LABEL ""
#define DT_INST_0_MICROCHIP_MCP9808_BASE_ADDRESS 0
#define DT_INST_0_MICROCHIP_MCP9808_BUS_NAME ""
#define DT_INST_0_MICROCHIP_MCP9808_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_MICROCHIP_MCP9808_INT_GPIOS_FLAGS 0
#define DT_INST_0_MICROCHIP_MCP9808_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_MAXIM_MAX44009_LABEL
#define DT_INST_0_MAXIM_MAX44009_LABEL ""
#define DT_INST_0_MAXIM_MAX44009_BASE_ADDRESS 0
#define DT_INST_0_MAXIM_MAX44009_BUS_NAME ""
#define DT_INST_0_MAXIM_MAX44009_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_MAXIM_MAX44009_INT_GPIOS_FLAGS 0
#define DT_INST_0_MAXIM_MAX44009_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_ISIL_ISL29035_LABEL
#define DT_INST_0_ISIL_ISL29035_LABEL ""
#define DT_INST_0_ISIL_ISL29035_BASE_ADDRESS 0
#define DT_INST_0_ISIL_ISL29035_BUS_NAME ""
#define DT_INST_0_ISIL_ISL29035_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_ISIL_ISL29035_INT_GPIOS_FLAGS 0
#define DT_INST_0_ISIL_ISL29035_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_INVENSENSE_MPU6050_LABEL
#define DT_INST_0_INVENSENSE_MPU6050_LABEL ""
#define DT_INST_0_INVENSENSE_MPU6050_BASE_ADDRESS 0
#define DT_INST_0_INVENSENSE_MPU6050_BUS_NAME ""
#define DT_INST_0_INVENSENSE_MPU6050_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_INVENSENSE_MPU6050_INT_GPIOS_FLAGS 0
#define DT_INST_0_INVENSENSE_MPU6050_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_GROVE_LIGHT_LABEL
#define DT_INST_0_GROVE_LIGHT_LABEL ""
#define DT_INST_0_GROVE_LIGHT_IO_CHANNELS_CONTROLLER ""
#define DT_INST_0_GROVE_LIGHT_IO_CHANNELS_INPUT 0
#endif
#ifndef DT_INST_0_GROVE_TEMPERATURE_LABEL
#define DT_INST_0_GROVE_TEMPERATURE_LABEL ""
#define DT_INST_0_GROVE_TEMPERATURE_IO_CHANNELS_CONTROLLER ""
#define DT_INST_0_GROVE_TEMPERATURE_IO_CHANNELS_INPUT 0
#endif
#ifndef DT_INST_0_HOPERF_HP206C_LABEL
#define DT_INST_0_HOPERF_HP206C_LABEL ""
#define DT_INST_0_HOPERF_HP206C_BASE_ADDRESS 0
#define DT_INST_0_HOPERF_HP206C_BUS_NAME ""
#endif
#ifndef DT_INST_0_BOSCH_BMM150_LABEL
#define DT_INST_0_BOSCH_BMM150_LABEL ""
#define DT_INST_0_BOSCH_BMM150_BASE_ADDRESS 0
#define DT_INST_0_BOSCH_BMM150_BUS_NAME ""
#endif
#ifndef DT_INST_0_BOSCH_BMG160_LABEL
#define DT_INST_0_BOSCH_BMG160_LABEL ""
#define DT_INST_0_BOSCH_BMG160_BASE_ADDRESS 0
#define DT_INST_0_BOSCH_BMG160_BUS_NAME ""
#define DT_INST_0_BOSCH_BMG160_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_BOSCH_BMG160_INT_GPIOS_FLAGS 0
#define DT_INST_0_BOSCH_BMG160_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_BOSCH_BMC150_MAGN_LABEL
#define DT_INST_0_BOSCH_BMC150_MAGN_LABEL ""
#define DT_INST_0_BOSCH_BMC150_MAGN_BASE_ADDRESS 0
#define DT_INST_0_BOSCH_BMC150_MAGN_BUS_NAME ""
#define DT_INST_0_BOSCH_BMC150_MAGN_DRDY_GPIOS_CONTROLLER ""
#define DT_INST_0_BOSCH_BMC150_MAGN_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_BOSCH_BMC150_MAGN_DRDY_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_HONEYWELL_HMC5883L_LABEL
#define DT_INST_0_HONEYWELL_HMC5883L_LABEL ""
#define DT_INST_0_HONEYWELL_HMC5883L_BASE_ADDRESS 0
#define DT_INST_0_HONEYWELL_HMC5883L_BUS_NAME ""
#define DT_INST_0_HONEYWELL_HMC5883L_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_HONEYWELL_HMC5883L_INT_GPIOS_FLAGS 0
#define DT_INST_0_HONEYWELL_HMC5883L_INT_GPIOS_PIN 0
#endif
#ifndef DT_INST_0_ASAHI_KASEI_AK8975_LABEL
#define DT_INST_0_ASAHI_KASEI_AK8975_LABEL ""
#define DT_INST_0_ASAHI_KASEI_AK8975_BASE_ADDRESS 0
#define DT_INST_0_ASAHI_KASEI_AK8975_BUS_NAME ""
#endif
#ifndef DT_INST_0_ADI_ADXL345_LABEL
#define DT_INST_0_ADI_ADXL345_LABEL ""
#define DT_INST_0_ADI_ADXL345_BUS_NAME ""
#define DT_INST_0_ADI_ADXL345_BASE_ADDRESS 0
#endif
#endif /* CONFIG_HAS_DTS_I2C */
#ifndef DT_ADXL372_DEV_NAME
#define DT_ADXL372_DEV_NAME ""
#define DT_ADXL372_SPI_DEV_NAME ""
#define DT_ADXL372_SPI_DEV_SLAVE 0
#define DT_ADXL372_SPI_BUS_FREQ 8000000
#endif
#ifndef DT_INST_0_BOSCH_BMI160_LABEL
#define DT_INST_0_BOSCH_BMI160_LABEL ""
#define DT_INST_0_BOSCH_BMI160_BASE_ADDRESS 0
#define DT_INST_0_BOSCH_BMI160_BUS_NAME ""
#define DT_INST_0_BOSCH_BMI160_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_BOSCH_BMI160_INT_GPIOS_FLAGS 0
#define DT_INST_0_BOSCH_BMI160_INT_GPIOS_PIN 0
#define DT_INST_0_BOSCH_BMI160_SPI_MAX_FREQUENCY 6400000
#endif
#ifndef DT_INST_0_ST_IIS2DLPC_LABEL
#define DT_INST_0_ST_IIS2DLPC_LABEL ""
#define DT_INST_0_ST_IIS2DLPC_BUS_NAME ""
#define DT_INST_0_ST_IIS2DLPC_SPI_MAX_FREQUENCY 100000
#define DT_INST_0_ST_IIS2DLPC_BASE_ADDRESS 1
#define DT_INST_0_ST_IIS2DLPC_DRDY_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_IIS2DLPC_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_IIS2DLPC_DRDY_GPIOS_PIN 0
#define DT_ST_IIS2DLPC_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_ISM330DHCX_LABEL
#define DT_INST_0_ST_ISM330DHCX_LABEL ""
#define DT_INST_0_ST_ISM330DHCX_BUS_NAME ""
#define DT_INST_0_ST_ISM330DHCX_SPI_MAX_FREQUENCY 100000
#define DT_INST_0_ST_ISM330DHCX_BASE_ADDRESS 1
#define DT_INST_0_ST_ISM330DHCX_DRDY_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_ISM330DHCX_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_ISM330DHCX_DRDY_GPIOS_PIN 0
#define DT_ST_ISM330DHCX_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_IIS2MDC_LABEL
#define DT_INST_0_ST_IIS2MDC_LABEL ""
#define DT_INST_0_ST_IIS2MDC_BUS_NAME ""
#define DT_INST_0_ST_IIS2MDC_SPI_MAX_FREQUENCY 100000
#define DT_INST_0_ST_IIS2MDC_BASE_ADDRESS 1
#define DT_INST_0_ST_IIS2MDC_DRDY_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_IIS2MDC_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_IIS2MDC_DRDY_GPIOS_PIN 0
#define DT_ST_IIS2MDC_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_IIS3DHHC_LABEL
#define DT_INST_0_ST_IIS3DHHC_LABEL ""
#define DT_INST_0_ST_IIS3DHHC_BASE_ADDRESS 0
#define DT_INST_0_ST_IIS3DHHC_BUS_NAME ""
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_CONTROLLER_0 ""
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_PIN_0 0
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_FLAGS_0 0
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_CONTROLLER_1 ""
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_PIN_1 0
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_FLAGS_1 0
#define DT_INST_0_ST_IIS3DHHC_SPI_MAX_FREQUENCY 6400000
#define DT_ST_IIS3DHHC_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_LIS2DH_LABEL
#define DT_INST_0_ST_LIS2DH_LABEL ""
#define DT_INST_0_ST_LIS2DH_BASE_ADDRESS 0
#define DT_INST_0_ST_LIS2DH_BUS_NAME ""
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_PIN 0
#define DT_INST_0_ST_LIS2DH_SPI_MAX_FREQUENCY 6400000
#define DT_ST_LIS2DH_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_LSM6DSL_LABEL
#define DT_INST_0_ST_LSM6DSL_LABEL ""
#define DT_INST_0_ST_LSM6DSL_BASE_ADDRESS 0
#define DT_INST_0_ST_LSM6DSL_BUS_NAME ""
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_PIN 0
#define DT_INST_0_ST_LSM6DSL_SPI_MAX_FREQUENCY 6400000
#define DT_ST_LSM6DSL_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_LSM6DSO_LABEL
#define DT_INST_0_ST_LSM6DSO_LABEL ""
#define DT_INST_0_ST_LSM6DSO_BASE_ADDRESS 0
#define DT_INST_0_ST_LSM6DSO_BUS_NAME ""
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_PIN 0
#define DT_INST_0_ST_LSM6DSO_SPI_MAX_FREQUENCY 6400000
#define DT_ST_LSM6DSO_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_LIS2DS12_LABEL
#define DT_INST_0_ST_LIS2DS12_LABEL ""
#define DT_INST_0_ST_LIS2DS12_BUS_NAME ""
#define DT_INST_0_ST_LIS2DS12_SPI_MAX_FREQUENCY 100000
#define DT_INST_0_ST_LIS2DS12_BASE_ADDRESS 1
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_PIN 0
#define DT_ST_LIS2DS12_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_LIS2DW12_LABEL
#define DT_INST_0_ST_LIS2DW12_LABEL ""
#define DT_INST_0_ST_LIS2DW12_BUS_NAME ""
#define DT_INST_0_ST_LIS2DW12_SPI_MAX_FREQUENCY 100000
#define DT_INST_0_ST_LIS2DW12_BASE_ADDRESS 1
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_PIN 0
#define DT_ST_LIS2DW12_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_LIS2MDL_LABEL
#define DT_INST_0_ST_LIS2MDL_LABEL ""
#define DT_INST_0_ST_LIS2MDL_BUS_NAME ""
#define DT_INST_0_ST_LIS2MDL_SPI_MAX_FREQUENCY 100000
#define DT_INST_0_ST_LIS2MDL_BASE_ADDRESS 1
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_FLAGS 0
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_PIN 0
#define DT_INST_0_ST_LIS2MDL_CS_GPIOS_CONTROLLER 0
#define DT_INST_0_ST_LIS2MDL_CS_GPIOS_FLAGS 0
#define DT_INST_0_ST_LIS2MDL_CS_GPIOS_PIN 0
#define DT_ST_LIS2MDL_BUS_SPI 1
#endif
#ifndef DT_INST_0_ST_LPS22HH_LABEL
#define DT_INST_0_ST_LPS22HH_LABEL ""
#define DT_INST_0_ST_LPS22HH_BUS_NAME ""
#define DT_INST_0_ST_LPS22HH_SPI_MAX_FREQUENCY 100000
#define DT_INST_0_ST_LPS22HH_BASE_ADDRESS 1
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_CONTROLLER ""
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_FLAGS 0
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_PIN 0
#define DT_INST_0_ST_LPS22HH_CS_GPIOS_CONTROLLER 0
#define DT_INST_0_ST_LPS22HH_CS_GPIOS_FLAGS 0
#define DT_INST_0_ST_LPS22HH_CS_GPIOS_PIN 0
#define DT_ST_LPS22HH_BUS_SPI 1
#endif
#ifndef DT_INST_0_MICROCHIP_ENC28J60_LABEL
#define DT_INST_0_MICROCHIP_ENC28J60_BASE_ADDRESS 0
#define DT_INST_0_MICROCHIP_ENC28J60_BUS_NAME ""
#define DT_INST_0_MICROCHIP_ENC28J60_INT_GPIOS_CONTROLLER ""
#define DT_INST_0_MICROCHIP_ENC28J60_INT_GPIOS_FLAGS 0
#define DT_INST_0_MICROCHIP_ENC28J60_INT_GPIOS_PIN 0
#define DT_INST_0_MICROCHIP_ENC28J60_LABEL ""
#define DT_INST_0_MICROCHIP_ENC28J60_LOCAL_MAC_ADDRESS {0, 0, 0, 0, 0, 0}
#define DT_INST_0_MICROCHIP_ENC28J60_SPI_MAX_FREQUENCY 0
#endif
#ifndef DT_INST_0_ATMEL_AT25
#define DT_INST_0_ATMEL_AT25 1
#define DT_INST_0_ATMEL_AT25_LABEL ""
#define DT_INST_0_ATMEL_AT25_BUS_NAME ""
#define DT_INST_0_ATMEL_AT25_BASE_ADDRESS 0
#define DT_INST_0_ATMEL_AT25_SPI_MAX_FREQUENCY 1000000
#define DT_INST_0_ATMEL_AT25_WP_GPIOS_CONTROLLER ""
#define DT_INST_0_ATMEL_AT25_WP_GPIOS_PIN 0
#define DT_INST_0_ATMEL_AT25_WP_GPIOS_FLAGS 0
#define DT_INST_0_ATMEL_AT25_SIZE 32768
#define DT_INST_0_ATMEL_AT25_PAGESIZE 64
#define DT_INST_0_ATMEL_AT25_ADDRESS_WIDTH 16
#define DT_INST_0_ATMEL_AT25_READ_ONLY 0
#define DT_INST_0_ATMEL_AT25_TIMEOUT 5
#endif
#ifndef DT_INST_0_MEAS_MS5607_LABEL
#define DT_INST_0_MEAS_MS5607_LABEL ""
#define DT_INST_0_MEAS_MS5607_BUS_NAME ""
#define DT_INST_0_MEAS_MS5607_CS_GPIOS_CONTROLLER 0
#define DT_INST_0_MEAS_MS5607_CS_GPIOS_PIN 0
#define DT_INST_0_MEAS_MS5607_BASE_ADDRESS 0
#define DT_INST_0_MEAS_MS5607_SPI_MAX_FREQUENCY 10000
#define DT_MEAS_MS5607_SPI 1
#endif

View file

@ -0,0 +1,510 @@
/*
* Copyright (c) 2020, Linaro Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*
* Application overlay for i2c devices
*/
test_i2c_adt7420: adt7420@0 {
compatible = "adi,adt7420";
label = "ADT7420";
reg = <0x0>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_adxl345: adxl345@1 {
compatible = "adi,adxl345";
label = "ADXL345";
reg = <0x1>;
};
test_i2c_adxl372: adxl372@2 {
compatible = "adi,adxl372";
label = "ADXL372";
reg = <0x2>;
int1-gpios = <&test_gpio 0 0>;
};
test_i2c_ccs811: ccs811@3 {
compatible = "ams,ccs811";
label = "CCS811";
reg = <0x3>;
wake-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_ens210: ens210@4 {
compatible = "ams,ens210";
label = "ENS210";
reg = <0x4>;
};
test_i2c_iaqcore: iaqcore@5 {
compatible = "ams,iaqcore";
label = "IAQCORE";
reg = <0x5>;
};
test_i2c_mt9m114: mt9m114@6 {
compatible = "aptina,mt9m114";
label = "MT9M114";
reg = <0x6>;
};
test_i2c_bme280: bme280@7 {
compatible = "bosch,bme280";
label = "BME280";
reg = <0x7>;
};
test_i2c_at24: at24@8 {
compatible = "atmel,at24";
label = "AT24";
reg = <0x8>;
size = <0>;
pagesize = <0>;
address-width = <0>;
timeout = <0>;
wp-gpios = <&test_gpio 0 0>;
/* read-only; */
};
test_i2c_apds9960: apds9960@9 {
compatible = "avago,apds9960";
label = "APDS9960";
reg = <0x9>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_bma280: bma280@a {
compatible = "bosch,bma280";
label = "BMA280";
reg = <0xa>;
int1-gpios = <&test_gpio 0 0>;
/* is-bmc150; */
};
test_i2c_bmc150_magn: bmc150_magn@b {
compatible = "bosch,bmc150_magn";
label = "BMC150_MAGN";
reg = <0xb>;
drdy-gpios = <&test_gpio 0 0>;
};
test_i2c_ak8975: ak8975@c {
compatible = "asahi-kasei,ak8975";
label = "AK8975";
reg = <0xc>;
};
test_i2c_bme680: bme680@d {
compatible = "bosch,bme680";
label = "BME680";
reg = <0xd>;
};
test_i2c_bmg160: bmg160@e {
compatible = "bosch,bmg160";
label = "BMG160";
reg = <0xe>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_bmm150: bmm150@f {
compatible = "bosch,bmm150";
label = "BMM150";
reg = <0xf>;
};
test_i2c_ft5336: ft5336@10 {
compatible = "focaltech,ft5336";
label = "FT5336";
reg = <0x10>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_ht16k33: ht16k33@11 {
compatible = "holtek,ht16k33";
label = "HT16K33";
reg = <0x11>;
#address-cells = <1>;
#size-cells = <0>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_hmc5883l: hmc5883l@12 {
compatible = "honeywell,hmc5883l";
label = "HMC5883L";
reg = <0x12>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_hp206c: hp206c@13 {
compatible = "hoperf,hp206c";
label = "HP206C";
reg = <0x13>;
};
test_i2c_th02: th02@14 {
compatible = "hoperf,th02";
label = "TH02";
reg = <0x14>;
};
test_i2c_mpu6050: mpu6050@15 {
compatible = "invensense,mpu6050";
label = "MPU6050";
reg = <0x15>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_mpu9150: mpu9150@16 {
compatible = "invensense,mpu9150";
label = "MPU9150";
reg = <0x16>;
};
test_i2c_isl29035: isl29035@17 {
compatible = "isil,isl29035";
label = "ISL29035";
reg = <0x17>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_max30101: max30101@18 {
compatible = "max,max30101";
label = "MAX30101";
reg = <0x18>;
};
test_i2c_max44009: max44009@19 {
compatible = "maxim,max44009";
label = "MAX44009";
reg = <0x19>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_ms5837: ms5837@1a {
compatible = "meas,ms5837";
label = "MS5837";
reg = <0x1a>;
};
test_i2c_mcp9808: mcp9808@1b {
compatible = "microchip,mcp9808";
label = "MCP9808";
reg = <0x1b>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_fxas21002: fxas21002@1c {
compatible = "nxp,fxas21002";
label = "FXAS21002";
reg = <0x1c>;
int1-gpios = <&test_gpio 0 0>;
int2-gpios = <&test_gpio 0 0>;
};
test_i2c_fxos8700: fxos8700@1d {
compatible = "nxp,fxos8700";
label = "FXOS8700";
reg = <0x1d>;
reset-gpios = <&test_gpio 0 0>;
int1-gpios = <&test_gpio 0 0>;
int2-gpios = <&test_gpio 0 0>;
};
test_i2c_pca95xx: pca95xx@1e {
compatible = "nxp,pca95xx";
label = "PCA95XX";
reg = <0x1e>;
/* has-pud; */
#gpio-cells = <2>;
gpio-controller;
};
test_i2c_pca9633: pca9633@1f {
compatible = "nxp,pca9633";
label = "PCA9633";
reg = <0x1f>;
};
test_i2c_amg88xx: amg88xx@20 {
compatible = "panasonic,amg88xx";
label = "AMG88XX";
reg = <0x20>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_sx1509b: sx1509b@21 {
compatible = "semtech,sx1509b";
label = "SX1509B";
reg = <0x21>;
#gpio-cells = <2>;
ngpios = <16>;
gpio-controller;
};
test_i2c_sx9500: sx9500@22 {
compatible = "semtech,sx9500";
label = "SX9500";
reg = <0x22>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_sht3xd: sht3xd@23 {
compatible = "sensirion,sht3xd";
label = "SHT3XD";
reg = <0x23>;
alert-gpios = <&test_gpio 0 0>;
};
test_i2c_si7006: si7006@24 {
compatible = "silabs,si7006";
label = "SI7006";
reg = <0x24>;
};
test_i2c_si7060: si7060@25 {
compatible = "silabs,si7060";
label = "SI7060";
reg = <0x25>;
};
test_i2c_ssd1306fb: ssd1306fb@26 {
compatible = "solomon,ssd1306fb";
label = "SSD1306FB";
reg = <0x26>;
height = <0>;
width = <0>;
segment-offset = <0>;
page-offset = <0>;
display-offset = <0>;
multiplex-ratio = <0>;
/* segment-remap; */
/* com-invdir; */
/* com-sequential; */
prechargep = <0>;
reset-gpios = <&test_gpio 0 0>;
};
test_i2c_hts221: hts221@27 {
compatible = "st,hts221";
label = "HTS221";
reg = <0x27>;
drdy-gpios = <&test_gpio 0 0>;
};
test_i2c_iis2dlpc: iis2dlpc@28 {
compatible = "st,iis2dlpc";
label = "IIS2DLPC";
reg = <0x28>;
drdy-gpios = <&test_gpio 0 0>;
};
test_i2c_iis2mdc: iis2mdc@29 {
compatible = "st,iis2mdc";
label = "IIS2MDC";
reg = <0x29>;
drdy-gpios = <&test_gpio 0 0>;
};
test_i2c_ism330dhcx: ism330dhcx@2a {
compatible = "st,ism330dhcx";
label = "ISM330DHCX";
reg = <0x2a>;
drdy-gpios = <&test_gpio 0 0>;
};
test_i2c_lis2dh: lis2dh@2b {
compatible = "st,lis2dh";
label = "LIS2DH";
reg = <0x2b>;
irq-gpios = <&test_gpio 0 0>;
/* disconnect-sdo-sa0-pull-up; */
};
test_i2c_lis2dh12: lis2dh12@2c {
compatible = "st,lis2dh12";
label = "LIS2DH12";
reg = <0x2c>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_lis2ds12: lis2ds12@2d {
compatible = "st,lis2ds12";
label = "LIS2DS12";
reg = <0x2d>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_lis2dw12: lis2dw12@2e {
compatible = "st,lis2dw12";
label = "LIS2DW12";
reg = <0x2e>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_lis2mdl: lis2mdl@2f {
compatible = "st,lis2mdl";
label = "LIS2MDL";
reg = <0x2f>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_lis3dh: lis3dh@30 {
compatible = "st,lis3dh";
label = "LIS3DH";
reg = <0x30>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_lis3mdl_magn: lis3mdl-magn@31 {
compatible = "st,lis3mdl-magn";
label = "LIS3MDL-MAGN";
reg = <0x31>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_lps22hb_press: lps22hb-press@32 {
compatible = "st,lps22hb-press";
label = "LPS22HB-PRESS";
reg = <0x32>;
};
test_i2c_lps22hh: lps22hh@33 {
compatible = "st,lps22hh";
label = "LPS22HH";
reg = <0x33>;
drdy-gpios = <&test_gpio 0 0>;
};
test_i2c_lps25hb_press: lps25hb-press@34 {
compatible = "st,lps25hb-press";
label = "LPS25HB-PRESS";
reg = <0x34>;
};
test_i2c_lsm303agr_accel: lsm303agr-accel@35 {
compatible = "st,lsm303agr-accel";
label = "LSM303AGR-ACCEL";
reg = <0x35>;
irq-gpios = <&test_gpio 0 0>;
/* disconnect-sdo-sa0-pull-up; */
};
test_i2c_lsm303dlhc_accel: lsm303dlhc-accel@36 {
compatible = "st,lsm303dlhc-accel";
label = "LSM303DLHC-ACCEL";
reg = <0x36>;
irq-gpios = <&test_gpio 0 0>;
/* disconnect-sdo-sa0-pull-up; */
};
test_i2c_lsm303dlhc_magn: lsm303dlhc-magn@37 {
compatible = "st,lsm303dlhc-magn";
label = "LSM303DLHC-MAGN";
reg = <0x37>;
};
test_i2c_lsm6ds0: lsm6ds0@38 {
compatible = "st,lsm6ds0";
label = "LSM6DS0";
reg = <0x38>;
};
test_i2c_lsm6dsl: lsm6dsl@39 {
compatible = "st,lsm6dsl";
label = "LSM6DSL";
reg = <0x39>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_lsm6dso: lsm6dso@3a {
compatible = "st,lsm6dso";
label = "LSM6DSO";
reg = <0x3a>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_lsm9ds0_gyro: lsm9ds0-gyro@3b {
compatible = "st,lsm9ds0-gyro";
label = "LSM9DS0-GYRO";
reg = <0x3b>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_lsm9ds0_mfd: lsm9ds0-mfd@3c {
compatible = "st,lsm9ds0-mfd";
label = "LSM9DS0-MFD";
reg = <0x3c>;
irq-gpios = <&test_gpio 0 0>;
};
test_i2c_stts751: stts751@3d {
compatible = "st,stts751";
label = "STTS751";
reg = <0x3d>;
drdy-gpios = <&test_gpio 0 0>;
};
test_i2c_vl53l0x: vl53l0x@3e {
compatible = "st,vl53l0x";
label = "VL53L0X";
reg = <0x3e>;
xshut-gpios = <&test_gpio 0 0>;
};
test_i2c_hdc: hdc@3f {
compatible = "ti,hdc";
label = "HDC";
reg = <0x3f>;
drdy-gpios = <&test_gpio 0 0>;
};
test_i2c_lp3943: lp3943@40 {
compatible = "ti,lp3943";
label = "LP3943";
reg = <0x40>;
};
test_i2c_lp5562: lp5562@41 {
compatible = "ti,lp5562";
label = "LP5562";
reg = <0x41>;
};
test_i2c_opt3001: opt3001@42 {
compatible = "ti,opt3001";
label = "OPT3001";
reg = <0x42>;
};
test_i2c_tlv320dac: tlv320dac@43 {
compatible = "ti,tlv320dac";
label = "TLV320DAC";
reg = <0x43>;
reset-gpios = <&test_gpio 0 0>;
};
test_i2c_tmp007: tmp007@44 {
compatible = "ti,tmp007";
label = "TMP007";
reg = <0x44>;
int-gpios = <&test_gpio 0 0>;
};
test_i2c_tmp112: tmp112@45 {
compatible = "ti,tmp112";
label = "TMP112";
reg = <0x45>;
};
test_i2c_tmp116: tmp116@46 {
compatible = "ti,tmp116";
label = "TMP116";
reg = <0x46>;
};

View file

@ -0,0 +1,475 @@
/*
* Copyright (c) 2020, Linaro Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*
* Application overlay for spi devices
*/
test_spi_adxl362: adxl362@0 {
compatible = "adi,adxl362";
label = "ADXL362";
reg = <0x0>;
spi-max-frequency = <0>;
int1-gpios = <&test_gpio 0 0>;
};
test_spi_adxl372: adxl372@1 {
compatible = "adi,adxl372";
label = "ADXL372";
reg = <0x1>;
spi-max-frequency = <0>;
int1-gpios = <&test_gpio 0 0>;
};
test_spi_apa102: apa102@2 {
compatible = "apa,apa102";
label = "APA102";
reg = <0x2>;
spi-max-frequency = <0>;
};
test_spi_at25: at25@3 {
compatible = "atmel,at25";
label = "AT25";
reg = <0x3>;
spi-max-frequency = <0>;
size = <0>;
pagesize = <0>;
address-width = <0>;
timeout = <0>;
wp-gpios = <&test_gpio 0 0>;
/* read-only; */
};
test_spi_rf2xx: rf2xx@4 {
compatible = "atmel,rf2xx";
label = "RF2XX";
reg = <0x4>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
slptr-gpios = <&test_gpio 0 0>;
dig2-gpios = <&test_gpio 0 0>;
clkm-gpios = <&test_gpio 0 0>;
};
test_spi_winc1500: winc1500@5 {
compatible = "atmel,winc1500";
label = "WINC1500";
reg = <0x5>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
enable-gpios = <&test_gpio 0 0>;
};
test_spi_bme280: bme280@6 {
compatible = "bosch,bme280";
label = "BME280";
reg = <0x6>;
spi-max-frequency = <0>;
};
test_spi_bmi160: bmi160@7 {
compatible = "bosch,bmi160";
label = "BMI160";
reg = <0x7>;
spi-max-frequency = <0>;
int-gpios = <&test_gpio 0 0>;
};
test_spi_lpd8803: lpd8803@8 {
compatible = "colorway,lpd8803";
label = "LPD8803";
reg = <0x8>;
spi-max-frequency = <0>;
};
test_spi_lpd8806: lpd8806@9 {
compatible = "colorway,lpd8806";
label = "LPD8806";
reg = <0x9>;
spi-max-frequency = <0>;
};
test_spi_gd7965: gd7965@a {
compatible = "gooddisplay,gd7965";
label = "GD7965";
reg = <0xa>;
spi-max-frequency = <0>;
height = <0>;
width = <0>;
reset-gpios = <&test_gpio 0 0>;
dc-gpios = <&test_gpio 0 0>;
busy-gpios = <&test_gpio 0 0>;
pwr = [];
softstart = [];
cdi = <0>;
tcon = <0>;
};
test_spi_ili9340: ili9340@b {
compatible = "ilitek,ili9340";
label = "ILI9340";
reg = <0xb>;
spi-max-frequency = <0>;
reset-gpios = <&test_gpio 0 0>;
cmd-data-gpios = <&test_gpio 0 0>;
};
test_spi_eswifi: eswifi@c {
compatible = "inventek,eswifi";
label = "ESWIFI";
reg = <0xc>;
spi-max-frequency = <0>;
resetn-gpios = <&test_gpio 0 0>;
data-gpios = <&test_gpio 0 0>;
wakeup-gpios = <&test_gpio 0 0>;
boot0-gpios = <&test_gpio 0 0>;
};
test_spi_spi_nor: spi-nor@d {
compatible = "jedec,spi-nor";
label = "SPI-NOR";
reg = <0xd>;
spi-max-frequency = <0>;
wp-gpios = <&test_gpio 0 0>;
hold-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
jedec-id = [];
/* has-be32k; */
/* requires-ulbpr; */
/* has-dpd; */
size = <0>;
};
test_spi_ms5607: ms5607@e {
compatible = "meas,ms5607";
label = "MS5607";
reg = <0xe>;
spi-max-frequency = <0>;
};
test_spi_enc28j60: enc28j60@f {
compatible = "microchip,enc28j60";
label = "ENC28J60";
reg = <0xf>;
spi-max-frequency = <0>;
int-gpios = <&test_gpio 0 0>;
};
test_spi_enc424j600: enc424j600@10 {
compatible = "microchip,enc424j600";
label = "ENC424J600";
reg = <0x10>;
spi-max-frequency = <0>;
int-gpios = <&test_gpio 0 0>;
};
test_spi_mcp2515: mcp2515@11 {
compatible = "microchip,mcp2515";
label = "MCP2515";
reg = <0x11>;
spi-max-frequency = <0>;
osc-freq = <0>;
int-gpios = <&test_gpio 0 0>;
#address-cells = <1>;
#size-cells = <0>;
bus-speed = <0>;
sjw = <0>;
prop-seg = <0>;
phase-seg1 = <0>;
phase-seg2 = <0>;
};
test_spi_mcr20a: mcr20a@12 {
compatible = "nxp,mcr20a";
label = "MCR20A";
reg = <0x12>;
spi-max-frequency = <0>;
irqb-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
};
test_spi_sx1276: sx1276@13 {
compatible = "semtech,sx1276";
label = "SX1276";
reg = <0x13>;
spi-max-frequency = <0>;
reset-gpios = <&test_gpio 0 0>;
dio-gpios = <&test_gpio 0 0>;
};
test_spi_st7789v: st7789v@14 {
compatible = "sitronix,st7789v";
label = "ST7789V";
reg = <0x14>;
spi-max-frequency = <0>;
reset-gpios = <&test_gpio 0 0>;
cmd-data-gpios = <&test_gpio 0 0>;
height = <0>;
width = <0>;
x-offset = <0>;
y-offset = <0>;
vcom = <0>;
gctrl = <0>;
mdac = <0>;
lcm = <0>;
colmod = <0>;
gamma = <0>;
porch-param = [];
cmd2en-param = [];
pwctrl1-param = [];
pvgam-param = [];
nvgam-param = [];
ram-param = [];
rgb-param = [];
};
test_spi_ssd16xxfb: ssd16xxfb@15 {
compatible = "solomon,ssd16xxfb";
label = "SSD16XXFB";
reg = <0x15>;
spi-max-frequency = <0>;
height = <0>;
width = <0>;
pp-height-bits = <0>;
pp-width-bits = <0>;
gdv = [];
sdv = [];
vcom = <0>;
border-waveform = <0>;
/* orientation-flipped; */
reset-gpios = <&test_gpio 0 0>;
dc-gpios = <&test_gpio 0 0>;
busy-gpios = <&test_gpio 0 0>;
lut-initial = [];
lut-default = [];
};
test_spi_iis2dlpc: iis2dlpc@16 {
compatible = "st,iis2dlpc";
label = "IIS2DLPC";
reg = <0x16>;
spi-max-frequency = <0>;
drdy-gpios = <&test_gpio 0 0>;
};
test_spi_iis2mdc: iis2mdc@17 {
compatible = "st,iis2mdc";
label = "IIS2MDC";
reg = <0x17>;
spi-max-frequency = <0>;
drdy-gpios = <&test_gpio 0 0>;
};
test_spi_iis3dhhc: iis3dhhc@18 {
compatible = "st,iis3dhhc";
label = "IIS3DHHC";
reg = <0x18>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
};
test_spi_ism330dhcx: ism330dhcx@19 {
compatible = "st,ism330dhcx";
label = "ISM330DHCX";
reg = <0x19>;
spi-max-frequency = <0>;
drdy-gpios = <&test_gpio 0 0>;
};
test_spi_lis2dh: lis2dh@1a {
compatible = "st,lis2dh";
label = "LIS2DH";
reg = <0x1a>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
/* disconnect-sdo-sa0-pull-up; */
};
test_spi_lis2ds12: lis2ds12@1b {
compatible = "st,lis2ds12";
label = "LIS2DS12";
reg = <0x1b>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
};
test_spi_lis2dw12: lis2dw12@1c {
compatible = "st,lis2dw12";
label = "LIS2DW12";
reg = <0x1c>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
};
test_spi_lis2mdl: lis2mdl@1d {
compatible = "st,lis2mdl";
label = "LIS2MDL";
reg = <0x1d>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
};
test_spi_lps22hh: lps22hh@1e {
compatible = "st,lps22hh";
label = "LPS22HH";
reg = <0x1e>;
spi-max-frequency = <0>;
drdy-gpios = <&test_gpio 0 0>;
};
test_spi_lsm303agr_accel: lsm303agr-accel@1f {
compatible = "st,lsm303agr-accel";
label = "LSM303AGR-ACCEL";
reg = <0x1f>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
/* disconnect-sdo-sa0-pull-up; */
};
test_spi_lsm6dsl: lsm6dsl@20 {
compatible = "st,lsm6dsl";
label = "LSM6DSL";
reg = <0x20>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
};
test_spi_lsm6dso: lsm6dso@21 {
compatible = "st,lsm6dso";
label = "LSM6DSO";
reg = <0x21>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
};
test_spi_cc1200: cc1200@22 {
compatible = "ti,cc1200";
label = "CC1200";
reg = <0x22>;
spi-max-frequency = <0>;
int-gpios = <&test_gpio 0 0>;
};
test_spi_cc2520: cc2520@23 {
compatible = "ti,cc2520";
label = "CC2520";
reg = <0x23>;
spi-max-frequency = <0>;
vreg-en-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
fifo-gpios = <&test_gpio 0 0>;
cca-gpios = <&test_gpio 0 0>;
sfd-gpios = <&test_gpio 0 0>;
fifop-gpios = <&test_gpio 0 0>;
};
test_spi_lmp90077: lmp90077@24 {
compatible = "ti,lmp90077";
label = "LMP90077";
reg = <0x24>;
spi-max-frequency = <0>;
drdyb-gpios = <&test_gpio 0 0>;
#io-channel-cells = <2>;
};
test_spi_lmp90078: lmp90078@25 {
compatible = "ti,lmp90078";
label = "LMP90078";
reg = <0x25>;
spi-max-frequency = <0>;
drdyb-gpios = <&test_gpio 0 0>;
#io-channel-cells = <2>;
};
test_spi_lmp90079: lmp90079@26 {
compatible = "ti,lmp90079";
label = "LMP90079";
reg = <0x26>;
spi-max-frequency = <0>;
drdyb-gpios = <&test_gpio 0 0>;
#io-channel-cells = <2>;
};
test_spi_lmp90080: lmp90080@27 {
compatible = "ti,lmp90080";
label = "LMP90080";
reg = <0x27>;
spi-max-frequency = <0>;
drdyb-gpios = <&test_gpio 0 0>;
#io-channel-cells = <2>;
};
test_spi_lmp90097: lmp90097@28 {
compatible = "ti,lmp90097";
label = "LMP90097";
reg = <0x28>;
spi-max-frequency = <0>;
drdyb-gpios = <&test_gpio 0 0>;
#io-channel-cells = <2>;
};
test_spi_lmp90098: lmp90098@29 {
compatible = "ti,lmp90098";
label = "LMP90098";
reg = <0x29>;
spi-max-frequency = <0>;
drdyb-gpios = <&test_gpio 0 0>;
#io-channel-cells = <2>;
};
test_spi_lmp90099: lmp90099@2a {
compatible = "ti,lmp90099";
label = "LMP90099";
reg = <0x2a>;
spi-max-frequency = <0>;
drdyb-gpios = <&test_gpio 0 0>;
#io-channel-cells = <2>;
};
test_spi_lmp90100: lmp90100@2b {
compatible = "ti,lmp90100";
label = "LMP90100";
reg = <0x2b>;
spi-max-frequency = <0>;
drdyb-gpios = <&test_gpio 0 0>;
#io-channel-cells = <2>;
};
test_spi_w25q16: w25q16@2c {
compatible = "winbond,w25q16";
label = "W25Q16";
reg = <0x2c>;
spi-max-frequency = <0>;
};
test_spi_ws2812_spi: ws2812-spi@2d {
compatible = "worldsemi,ws2812-spi";
label = "WS2812-SPI";
reg = <0x2d>;
spi-max-frequency = <0>;
spi-one-frame = <0>;
spi-zero-frame = <0>;
chain-length = <0>;
/* has-white-channel; */
};
test_spi_bt_hci_spi: bt-hci-spi@2e {
compatible = "zephyr,bt-hci-spi";
label = "BT-HCI-SPI";
reg = <0x2e>;
spi-max-frequency = <0>;
irq-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
};
test_spi_mmc_spi_slot: mmc-spi-slot@2f {
compatible = "zephyr,mmc-spi-slot";
label = "MMC-SPI-SLOT";
reg = <0x2f>;
spi-max-frequency = <0>;
};