forked from AndreRenaud/pps-gen-gpio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
am335x-boneblack.dts
45 lines (40 loc) · 1.14 KB
/
am335x-boneblack.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
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
* 2018 Juan Solano <[email protected]>
*
* 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/;
#include "am33xx.dtsi"
#include "am335x-bone-common.dtsi"
#include "am335x-boneblack-common.dtsi"
/ {
model = "TI AM335x BeagleBone Black";
compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
pps-gen {
pinctrl-names = "default";
pinctrl-0 = <&pps_gen_pins>;
compatible = "pps-gen-gpio";
pps-gen-gpio = <&gpio1 19 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
};
&cpu0_opp_table {
/*
* All PG 2.0 silicon may not support 1GHz but some of the early
* BeagleBone Blacks have PG 2.0 silicon which is guaranteed
* to support 1GHz OPP so enable it for PG 2.0 on this board.
*/
oppnitro-1000000000 {
opp-supported-hw = <0x06 0x0100>;
};
};
&am33xx_pinmux {
pps_gen_pins: pinmux_pps_gen_pins {
pinctrl-single,pins = <
0x4C (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a3.gpio1_19 */
>;
};
};