-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadlink-pps-in.dts
44 lines (38 loc) · 1.5 KB
/
adlink-pps-in.dts
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
/dts-v1/;
/plugin/;
/*
* Copyright (c) 2017-2022, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/ {
overlay-name = "ADLINK GPIO for PPS_IN Device Tree Overlay";
compatible = "nvidia,p3737-0000+p3701-0000", "nvidia,tegra234", "nvidia,tegra23x";
jetson-header-name = "Jetson AGX CSI Connector";
fragment@0 {
target-path = "/";
__overlay__ {
adlink_pps_in {
status = "okay";
compatible = "pps-gpio";
// gpios = <&tegra_aon_gpio TEGRA234_AON_GPIO(BB, 1) GPIO_ACTIVE_HIGH>;
// => TEGRA234_AON_GPIO(BB, 1) = 1*8 + 1 = 9
// => GPIO_ACTIVE_LOW = 1, GPIO_ACTIVE_HIGH = 0
gpios = <&tegra_aon_gpio 9 0>;
// Default assert is indicated by a rising edge.
// Uncomment the line below to enable falling-edge assert.
// assert-falling-edge;
};
};
};
};