Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /dts-v1/;
- /plugin/;
- / {
- compatible = "ti,beaglebone", "ti,beaglebone-black";
- part-number = "CB7S-LED-PRU1";
- version = "00A0";
- /* This overlay uses the following resources */
- exclusive-use =
- "P8.27", "P8.28", "P8.29", "pru1";
- fragment@0 {
- target = <&am33xx_pinmux>;
- __overlay__ {
- pru_pru_pins: pinmux_pru_pru_pins { // The PRU pin modes
- pinctrl-single,pins = <
- 0x0e0 0x36 // LA P8_27 pr1_pru1_pru_r31_8, MODE6 | PULL-UP | OUTPUT | FAST 00110110=0x36
- 0x0e8 0x36 // LB P8_28 pr1_pru1_pru_r31_10, MODE6 | PULL-UP | OUTPUT | FAST 00110110=0x36
- 0x0e4 0x36 // LC P8_29 pr1_pru1_pru_r31_9, MODE6 | PULL-UP | OUTPUT | FAST 00110110=0x36
- >;
- };
- };
- };
- fragment@1 { // Enable the PRUSS
- target = <&pruss>;
- __overlay__ {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pru_pru_pins>;
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement