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