summaryrefslogtreecommitdiffstats
path: root/meta-selftest/recipes-test/ext-dtb/files/BBORG_RELAY-00A2.dts
blob: 9530fa50fe5c742fb61d5a4fedc39df942222a85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 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";
};