zephyr/tests/drivers/build_all/mfd/app.overlay
Pieter De Gendt 5ed03a4153 tests: drivers: build_all: mfd: Add NXP SC18IM704
Add build-only test case for multifunction devices and
add support for NXP's SC18IM704 UART to I2C/GPIO bridge.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2023-04-03 20:02:51 +02:00

45 lines
916 B
Plaintext

/*
* Copyright (c) 2023, Basalte bv
*
* 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_uart: uart@55556666 {
compatible = "vnd,serial";
reg = <0x55556666 0x1000>;
status = "okay";
test_sc18im704: sc18im704 {
compatible = "nxp,sc18im704";
status = "okay";
test_i2c_ext: sc18im704_i2c {
compatible = "nxp,sc18im704-i2c";
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
};
test_gpio_ext: sc18im704_gpio {
compatible = "nxp,sc18im704-gpio";
status = "okay";
gpio-controller;
#gpio-cells = <2>;
ngpios = <8>;
};
};
};
};
};