Much appreciated, Robert. I updated to the PRUCAPE file and tore out a
bunch of stuff I didn't need and that seems to be setting the pinmux
correctly.
Is there anything else in this file that can be removed?
Thanks.
// Code shamelessly copied from AM335X-PRU-RPROC-4-14-TI-PRUCAPE-00A0.dts
/dts-v1/;
/plugin/;
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black",
"ti,beaglebone-green";
// identification
part-number = "BB-PRUDAP";
version = "00A0";
/*
* Helper to show loaded overlays under:
/proc/device-tree/chosen/overlays/
*/
fragment@0 {
target-path="/";
__overlay__ {
chosen {
overlays {
BB-PRUDAP-00A0 = __TIMESTAMP__;
};
};
};
};
/*
* Free up the pins used by the cape from the pinmux helpers.
*/
fragment@1 {
target = <&ocp>;
__overlay__ {
P9_18_pinmux { status = "disabled"; }; /* P9_18: spi0_d1 */
P9_17_pinmux { status = "disabled"; }; /* P9_17: spi0_cs0 */
};
};
fragment@2 {
target = <&am33xx_pinmux>;
__overlay__ {
bb_prudap_pins: pinmux_bb_prudap_pins {
pinctrl-single,pins = <
0x158 0x2D /* P9_18: spi0_d1.i2c1_sda, SLEWCTRL_FAST
| INPUT_EN | PULL_DISABLE | MODE5 (IEP-edio/digio data in 6) */
0x15c 0x2E /* P9_17: spi0_cs0.i2c1_scl,
SLEWCTRL_FAST | INPUT_EN | PULL_DISABLE | MODE6 (IEP-edio/digio data out 7)
*/
>;
};
};
};
fragment@3 {
target-path="/";
__overlay__ {
ocp {
#address-cells = <1>;
#size-cells = <1>;
pruss_soc_bus: pruss_soc_bus@4a326004 {
compatible = "ti,am3356-pruss-soc-bus";
reg = <0x4a326004 0x4>;
ti,hwmods = "pruss";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x4a300000 0x80000>;
status = "okay";
pruss: pruss@0 {
compatible = "ti,am3356-pruss";
reg = <0x0 0x80000>;
interrupts = <20 21 22 23 24 25 26 27>;
interrupt-names = "host2", "host3", "host4",
"host5", "host6", "host7",
"host8", "host9";
#address-cells = <1>;
#size-cells = <1>;
ranges;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&bb_prudap_pins>;
pruss_iep: iep@2e000 {
compatible = "syscon";
reg = <0x2e000 0x31c>;
};
};
};
};
};
};
};
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/ca27fc7b-0a17-40d1-8060-e639850ee5e5%40googlegroups.com.