-
Notifications
You must be signed in to change notification settings - Fork 7.3k
/
Copy pathapp.overlay
102 lines (86 loc) · 2.1 KB
/
app.overlay
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
* Copyright (c) 2022, Kumar Gala <galak@kernel.org>
*
* 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@10001000 {
compatible = "vnd,gpio";
gpio-controller;
reg = <0x10001000 0x1000>;
#gpio-cells = <0x2>;
status = "okay";
};
test_i2c: i2c@10002000 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "vnd,i2c";
reg = <0x10002000 0x1000>;
status = "okay";
clock-frequency = <100000>;
test_i2c_mt9m114: mt9m114@0 {
compatible = "aptina,mt9m114";
reg = <0>;
};
test_i2c_ov2640: ov2640@1 {
compatible = "ovti,ov2640";
reg = <0x1>;
reset-gpios = <&test_gpio 0 0>;
};
test_i2c_ov7725: ov7725@2 {
compatible = "ovti,ov7725";
reg = <0x2>;
reset-gpios = <&test_gpio 0 0>;
};
test_i2c_ov5640: ov5640@3 {
compatible = "ovti,ov5640";
reg = <0x3>;
reset-gpios = <&test_gpio 0 0>;
powerdown-gpios = <&test_gpio 1 0>;
};
test_i2c_ov7670: ov7670@4 {
compatible = "ovti,ov7670";
reg = <0x4>;
};
test_i2c_gc2145: gc2145@5 {
compatible = "galaxycore,gc2145";
reg = <0x5>;
reset-gpios = <&test_gpio 0 0>;
};
test_i2c_video_emul_imager: video_emul_imager@6 {
compatible = "zephyr,video-emul-imager";
reg = <0x6>;
port {
test_video_emul_imager_ep_out: endpoint {
remote-endpoint-label = "test_video_emul_rx_ep_in";
};
};
};
};
test_video_emul_rx: video_emul_rx@10003000 {
compatible = "zephyr,video-emul-rx";
reg = <0x10003000 0x1000>;
port {
#address-cells = <1>;
#size-cells = <0>;
test_video_emul_rx_ep_in: endpoint@0 {
reg = <0x0>;
remote-endpoint-label = "test_video_emul_imager_ep_out";
};
test_video_emul_rx_ep_out: endpoint@1 {
reg = <0x1>;
remote-endpoint-label = "application";
};
};
};
};
};