blob: 548c6f0d34f86d5a4fa15294c2e6a5305fe4001f [file] [log] [blame]
#if defined(CONFIG_HAS_DTS_I2C_DEVICE)
#ifndef CONFIG_ADXL372_DEV_NAME
#define CONFIG_ADXL372_DEV_NAME ""
#endif
#ifndef CONFIG_ADXL372_I2C_ADDR
#define CONFIG_ADXL372_I2C_ADDR 0
#define CONFIG_ADXL372_I2C_MASTER_DEV_NAME ""
#endif
#endif /* CONFIG_HAS_DTS_I2C_DEVICE */
#if defined(CONFIG_HAS_DTS_SPI_DEVICE)
#ifndef CONFIG_ADXL372_DEV_NAME
#define CONFIG_ADXL372_DEV_NAME ""
#endif
#ifndef CONFIG_ADXL372_SPI_DEV_NAME
#define CONFIG_ADXL372_SPI_DEV_NAME ""
#define CONFIG_ADXL372_SPI_DEV_SLAVE 0
#define CONFIG_ADXL372_SPI_BUS_FREQ 8000000
#endif
#endif /* CONFIG_HAS_DTS_SPI_DEVICE */