poky/meta-selftest/recipes-test/ext-dtb/files/BBORG_RELAY-00A2.dts
Adrian Freihofer c6a51f8c99 oe-selftest: add new ext dtb recipe
There is no test coverage for the devicetree.bbclass class. Add a
minimalist recipe that uses this class.
This recipe compiles a devicetree overlay that does not include any
sources from the kernel build folder to keep it simple and also usable
for testing a kernel from the sstate-cache.

(From OE-Core rev: 44b6eaf9fb408f2a7941e7ba8f2156cf2c7d4bae)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:21 +01:00

50 lines
849 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2015 Robert Nelson <robertcnelson@gmail.com>
* Copyright (C) 2019 Amilcar Lucas <amilcar.lucas@iav.de>
*/
/dts-v1/;
/plugin/;
&{/chosen} {
overlays {
BBORG_RELAY-00A2.kernel = __TIMESTAMP__;
};
};
&ocp {
P9_41_pinmux { pinctrl-0 = <&P9_41_gpio_pin>;};
P9_42_pinmux { pinctrl-0 = <&P9_42_gpio_pin>;};
P9_30_pinmux { pinctrl-0 = <&P9_30_gpio_pin>;};
P9_27_pinmux { pinctrl-0 = <&P9_27_gpio_pin>;};
};
// relay1
&bone_led_P9_41 {
status = "okay";
label = "relay1";
default-state = "keep";
};
// relay2
&bone_led_P9_42 {
status = "okay";
label = "relay2";
default-state = "keep";
};
// realy3
&bone_led_P9_30 {
status = "okay";
label = "relay3";
default-state = "keep";
};
// realy4
&bone_led_P9_27 {
status = "okay";
label = "relay4";
default-state = "keep";
};