Adds build_all for ieee802154 drivers. A substantial number of drivers are for SoC peripherals, so test cases are required many boards. Fixes #11519. Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
112 lines
2.7 KiB
Text
112 lines
2.7 KiB
Text
/*
|
|
* Copyright (c) 2021, Commonwealth Scientific and Industrial Research
|
|
* Organisation (CSIRO) ABN 41 687 119 230.
|
|
*
|
|
* 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_spi: spi@33334444 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "vnd,spi";
|
|
reg = <0x33334444 0x1000>;
|
|
label = "TEST_SPI_CTLR";
|
|
status = "okay";
|
|
clock-frequency = <2000000>;
|
|
|
|
/* one entry for every devices at spi.dtsi */
|
|
cs-gpios = <&test_gpio 0 0>, /* 0x00 */
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>, /* 0x10 */
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>, /* 0x20 */
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>, /* 0x30 */
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>,
|
|
<&test_gpio 0 0>; /* 0x40 */
|
|
|
|
#include "spi.dtsi"
|
|
};
|
|
};
|
|
};
|
|
|
|
/* Put device specific modifications to properties or disabling of devices
|
|
* here to keep the bus specific dtsi files (i2c.dtsi, spi.dtsi, etc..)
|
|
* pristine
|
|
*/
|