&ocmcram {
// reserve some ocmc ram for pruss.
// note: the first 8KB (0x2000 bytes) is reserved for the kernel (see am33xx.dtsi)
pru-shmem@4000 {
reg = <0x4000 0x4000>;
export;
};
};
&ocp {
// create uio device to make the ram accessible from userspace
pru-shmem@40304000 {
reg = <0x40304000 0x4000>;
// use uio_pdrv_genirq driver. requires a modprobe.d rule like
// https://github.com/mvduin/py-uio/blob/master/etc/modprobe.d/uio.conf
compatible = "uio";
// create a convenient symlink. uses /etc/udev/rules.d/10-of-symlink.rules
// if it's missing on your system, update the bb-customizations package to latest version.
symlink = "uio/pru-shmem";
};
};
Comments