You're absolutely right! Got it working with the following DTS:
/dts-v1/;
> /plugin/;
> / {
> compatible = "ti,beaglebone", "ti,beaglebone-black";
> part-number = "BB-BONE-PRU-WCSP";
> version = "00A0";
> exclusive-use =
> "P8.39",
> "P8.40",
> "P8.41",
> "P8.42",
> "P8.43",
> "P8.44",
> "P8.45",
> "P8.46",
> "pru0",
> "pru1";
> fragment@0 {
> target = <&am33xx_pinmux>;
> __overlay__ {
> pru_gpio_pins: pinmux_pru_gpio_pins {
> pinctrl-single,pins = <
> 0xA0 0x0f /* P8:45
> (pr1_pru1_pru_r30_0) */
> 0xA4 0x0f /* P8:46
> (pr1_pru1_pru_r30_1) */
> 0xA8 0x0f /* P8:43
> (pr1_pru1_pru_r30_2) */
> 0xAC 0x0f /* P8:44
> (pr1_pru1_pru_r30_3) */
> 0xB0 0x0f /* P8:41
> (pr1_pru1_pru_r30_4) */
> 0xB4 0x0f /* P8:42
> (pr1_pru1_pru_r30_5) */
> 0xB8 0x0f /* P8:39
> (pr1_pru1_pru_r30_6) */
> 0xBC 0x0f /* P8:40
> (pr1_pru1_pru_r30_7) */
> >;
> };
> pru_pru_pins: pinmux_pru_pru_pins {
> pinctrl-single,pins = <
> 0xA0 0x25 /* P8:45
> (pr1_pru1_pru_r30_0) */
> 0xA4 0x25 /* P8:46
> (pr1_pru1_pru_r30_1) */
> 0xA8 0x25 /* P8:43
> (pr1_pru1_pru_r30_2) */
> 0xAC 0x25 /* P8:44
> (pr1_pru1_pru_r30_3) */
> 0xB0 0x25 /* P8:41
> (pr1_pru1_pru_r30_4) */
> 0xB4 0x25 /* P8:42
> (pr1_pru1_pru_r30_5) */
> 0xB8 0x25 /* P8:39
> (pr1_pru1_pru_r30_6) */
> 0xBC 0x25 /* P8:40
> (pr1_pru1_pru_r30_7) */
> >;
> };
> };
> };
> fragment@2 {
> target = <&pruss>;
> __overlay__ {
> status = "okay";
> pinctrl-names = "default";
> pinctrl-0 = <&pru_pru_pins>;
> };
> };
> };
Thanks very much!
On Friday, April 4, 2014 12:42:54 AM UTC-5, [email protected] wrote:
>
> you need to add a fragment that targets the pruss to enable it. Have a
> look at the BB-BONE- PRU*.dts files here -
> https://github.com/beagleboard/cape-firmware/tree/master/dts
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.