-
Notifications
You must be signed in to change notification settings - Fork 54
/
BB-BONE-RTC-00A0.dts
74 lines (63 loc) · 1.26 KB
/
BB-BONE-RTC-00A0.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
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
/*
* Copyright (C) 2013 Matt Ranostay <mranostay@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
/plugin/;
/*
* Pin assignments
*
* Module Connector
* SCL -> P9.19
* SDA <- P9.20
* SQW/PPS <- P9.15
*
*/
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "BB-BONE-RTC-01";
version = "00A0";
/* state the resources this cape uses */
exclusive-use =
/* the pin header uses */
"P9.15"; /*gpio1_16 */
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
pps_pins: pinmux_pps_pins {
pinctrl-single,pins = <
0x040 0x27 /* gpmc_a0.gpio1_16, INPUT | PULLDIS | MODE7 */
>;
};
};
};
fragment@1 {
target = <&i2c2>;
__overlay__ {
/* shut up DTC warnings */
#address-cells = <1>;
#size-cells = <0>;
/* DS1307 RTC module */
rtc@68 {
compatible = "dallas,ds1307";
reg = <0x68>;
};
};
};
fragment@2 {
target = <&ocp>;
__overlay__ {
pps {
compatible = "pps-gpio";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pps_pins>;
gpios = <&gpio2 16 0>;
assert-falling-edge;
};
};
};
};