39 lines
776 B
Plaintext
39 lines
776 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
/ {
|
|
compatible = "ti,beaglebone", "ti,beaglebone-black";
|
|
/* identification */
|
|
part-number = "BB-BONE-IRMUX";
|
|
version = "00A0";
|
|
exclusive-use =
|
|
/* the physical pins used: */
|
|
"P8.15",
|
|
|
|
/* Activate both PRUs */
|
|
"pru0";
|
|
|
|
/* fragment 0: the pin muxes */
|
|
fragment@0 {
|
|
target = <&am33xx_pinmux>;
|
|
__overlay__ {
|
|
pru_pins: pinmux_pru_pins {
|
|
pinctrl-single,pins = <
|
|
0x03c 0x26
|
|
>;
|
|
};
|
|
};
|
|
};
|
|
|
|
/* fragment 2: enable PRU and assign the pins */
|
|
fragment@2 {
|
|
target = <&pruss>;
|
|
__overlay__ {
|
|
/* enable pru subsytem - equivalent to 'modprobe uio_pruss' */
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
/* assign pins to the subsystem */
|
|
pinctrl-0 = <&pru_pins>;
|
|
};
|
|
};
|
|
}; |