Last active
June 5, 2019 16:53
-
-
Save nilhoel1/845cd2d42e6a847f6e58c49746a02281 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/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
commented
Jun 5, 2019
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