Skip to content

Instantly share code, notes, and snippets.

@nilhoel1
Last active June 5, 2019 16:53
Show Gist options
  • Save nilhoel1/845cd2d42e6a847f6e58c49746a02281 to your computer and use it in GitHub Desktop.
Save nilhoel1/845cd2d42e6a847f6e58c49746a02281 to your computer and use it in GitHub Desktop.
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-green";
// identification
part-number = "PRU-UIO-EXAMPLE-PINS";
version = "00A0";
exclusive-use =
"P8.11", "P8.16", "pru0";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
example_pins: pinmux_pru_pru_pins {
pinctrl-single,pins = <
0x34 0x06 /* Pin 8_11 out gpmc_ad13 Mode 6 */
0x38 0x26 /* Pin 8_16 in gpmc_ad14 Mode 6 */
>;
};
};
};
fragment@1 {
target-path="<&pruss>";
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <&example_pins>;
status = "okay";
};
};
};
@thelunatic
Copy link

Give this overlay a shot. I have checked that it builds well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment