andrewm@268: /* andrewm@268: * Copyright (C) 2013 Matt Ranostay andrewm@268: * andrewm@268: * This program is free software; you can redistribute it and/or modify andrewm@268: * it under the terms of the GNU General Public License version 2 as andrewm@268: * published by the Free Software Foundation. andrewm@268: */ andrewm@268: /dts-v1/; andrewm@268: /plugin/; andrewm@268: andrewm@268: / { andrewm@268: compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-green"; andrewm@268: andrewm@268: /* identification */ andrewm@268: part-number = "BB-BONE-PRU-BELA"; andrewm@268: version = "00A0"; andrewm@268: andrewm@268: /* state the resources this cape uses */ andrewm@268: exclusive-use = andrewm@268: /* the pin header uses */ andrewm@268: "P8.41", /* pru1: pr1_pru1_pru_r30_4 */ andrewm@268: "P8.42", /* pru1: pr1_pru1_pru_r30_5 */ andrewm@268: "P8.43", /* pru1: pr1_pru1_pru_r30_2 */ andrewm@268: "P8.44", /* pru1: pr1_pru1_pru_r30_3 */ andrewm@268: "P8.45", /* pru1: pr1_pru1_pru_r30_0 */ andrewm@268: "P8.46", /* pru1: pr1_pru1_pru_r30_1 */ andrewm@268: "P9.27", andrewm@268: /* the hardware IP uses */ andrewm@268: "pru0", andrewm@268: "pru1"; andrewm@268: andrewm@268: fragment@0 { andrewm@268: target = <&am33xx_pinmux>; andrewm@268: __overlay__ { andrewm@268: andrewm@268: pru_bela_pins: pinmux_pru_bela_pins { andrewm@268: pinctrl-single,pins = < andrewm@268: 0x1a4 0x37 /* P9 27 GPIO3_19: mcasp0_fsr.gpio3[19] | MODE7 | INPUT | pullup */ andrewm@268: 0x0b0 0x25 /* lcd_data4.pr1_pru1_pru_r30_4, MODE5 | OUTPUT | PRU */ andrewm@268: 0x0b4 0x25 /* lcd_data5.pr1_pru1_pru_r30_5, MODE5 | OUTPUT | PRU */ andrewm@268: 0x0ac 0x25 /* lcd_data3.pr1_pru1_pru_r30_3, MODE5 | OUTPUT | PRU */ andrewm@268: 0x0a0 0x25 /* lcd_data0.pr1_pru1_pru_r30_0, MODE5 | OUTPUT | PRU */ andrewm@268: 0x0a4 0x25 /* lcd_data1.pr1_pru1_pru_r30_1, MODE5 | OUTPUT | PRU */ andrewm@268: 0x0a8 0x25 /* lcd_data2.pr1_pru1_pru_r30_2, MODE5 | OUTPUT | PRU */ andrewm@268: >; andrewm@268: }; andrewm@268: }; andrewm@268: }; andrewm@268: andrewm@268: fragment@2 { andrewm@268: target = <&pruss>; andrewm@268: __overlay__ { andrewm@268: status = "okay"; andrewm@268: andrewm@268: pinctrl-names = "default"; andrewm@268: pinctrl-0 = <&pru_bela_pins>; andrewm@268: }; andrewm@268: }; andrewm@268: };