spi by gpio

I need a .dts to config a spi bitbanging using spi-gpio kernel module, because I am using the pins for SPI0 and SPI1 for other purposes. I found this example for RBPI:
http://www.sciencegizmo.com.au/?p=105

But I did’t understand how migrate it to BBB.

Thanks

spi-gpio_RBPI.dts (1.53 KB)

Finally I think to configure spi over gpio with Device Tree is not posible (with the actual available kernel modules), but I found the solution.

spi-gpio-custom.c

It don’t need a device-tree to work.

Thanks.