comparison resources/BB-BONE-PRU-BELA-00A0.dts @ 268:8d80eda512cd prerelease

Added new overlay for using PRU0 or PRU1, a script to halt board on button press, and several example projects
author andrewm
date Tue, 17 May 2016 14:46:26 +0100
parents
children
comparison
equal deleted inserted replaced
267:247a182adb6d 268:8d80eda512cd
1 /*
2 * Copyright (C) 2013 Matt Ranostay <mranostay@gmail.com>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8 /dts-v1/;
9 /plugin/;
10
11 / {
12 compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-green";
13
14 /* identification */
15 part-number = "BB-BONE-PRU-BELA";
16 version = "00A0";
17
18 /* state the resources this cape uses */
19 exclusive-use =
20 /* the pin header uses */
21 "P8.41", /* pru1: pr1_pru1_pru_r30_4 */
22 "P8.42", /* pru1: pr1_pru1_pru_r30_5 */
23 "P8.43", /* pru1: pr1_pru1_pru_r30_2 */
24 "P8.44", /* pru1: pr1_pru1_pru_r30_3 */
25 "P8.45", /* pru1: pr1_pru1_pru_r30_0 */
26 "P8.46", /* pru1: pr1_pru1_pru_r30_1 */
27 "P9.27",
28 /* the hardware IP uses */
29 "pru0",
30 "pru1";
31
32 fragment@0 {
33 target = <&am33xx_pinmux>;
34 __overlay__ {
35
36 pru_bela_pins: pinmux_pru_bela_pins {
37 pinctrl-single,pins = <
38 0x1a4 0x37 /* P9 27 GPIO3_19: mcasp0_fsr.gpio3[19] | MODE7 | INPUT | pullup */
39 0x0b0 0x25 /* lcd_data4.pr1_pru1_pru_r30_4, MODE5 | OUTPUT | PRU */
40 0x0b4 0x25 /* lcd_data5.pr1_pru1_pru_r30_5, MODE5 | OUTPUT | PRU */
41 0x0ac 0x25 /* lcd_data3.pr1_pru1_pru_r30_3, MODE5 | OUTPUT | PRU */
42 0x0a0 0x25 /* lcd_data0.pr1_pru1_pru_r30_0, MODE5 | OUTPUT | PRU */
43 0x0a4 0x25 /* lcd_data1.pr1_pru1_pru_r30_1, MODE5 | OUTPUT | PRU */
44 0x0a8 0x25 /* lcd_data2.pr1_pru1_pru_r30_2, MODE5 | OUTPUT | PRU */
45 >;
46 };
47 };
48 };
49
50 fragment@2 {
51 target = <&pruss>;
52 __overlay__ {
53 status = "okay";
54
55 pinctrl-names = "default";
56 pinctrl-0 = <&pru_bela_pins>;
57 };
58 };
59 };