OK, so now I think I'm back to you, Charles. So, if I have the original
overlay
uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
loaded, the system boots up just fine. So, now I want to add my PRU pin
assignments, but adding that file locks up the Bone.
Here's what I have in my .dts file :
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "BB-BONE-PRU";
version = "00A0";
exclusive-use =
"P8.45",
"P8.46",
"P8.43",
"P8.44",
"P8.41",
"P8.42",
"P8.39",
"P8.40",
"P8.27",
"P8.29",
"P8.28",
"P8.30",
"P9.26",
"P8.20",
"P8.21";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
mygpio: pinmux_mygpio{
pinctrl-single,pins = <
0xa0 0x05 // P8.45 PRU1_out0
0xa4 0x05 // P8.46 PRU1_out1
0xa8 0x05 // P8.43 PRU1_out2
0xac 0x05 // P8.44 PRU1_out3
0xb0 0x05 // P8.41 PRU1_out4
0xb4 0x05 // P8.42 PRU1_out5
0xb8 0x05 // P8.39 PRU1_out6
0xbc 0x05 // P8.40 PRU1_out7
0xe0 0x05 // P8.27 PRU1_out8
0xe4 0x05 // P8.29 PRU1_out9
0xe8 0x05 // P8.28 PRU1_out10
0xec 0x05 // P8.30 PRU1_out11
0x180 0x36 // P9.26 PRU1_in16 mode 6, pull-up, RX active
0x84 0x36 // P8.20 PRU1_in13 mode 6, pull-up, RX active
0x80 0x36 // P8.21 PRU1_in12 mode 6, pull-up, RX active
>;
};
};
};
fragment@1 {
target = <&ocp>;
__overlay__ {
test_helper: helper {
compatible = "bone-pinmux-helper";
pinctrl-names = "default";
pinctrl-0 = <&mygpio>;
status = "okay";
};
};
};
fragment@2{
target = <&pruss>;
__overlay__ {
status = "okay";
};
};
};
-------------- end of file -------------
Does any of this conflict with what is in the PRU-UIO file? Or, is some of
it out of date and needs to be updated?
Thanks,
Jon
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github:
https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.