This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to enable spi0 in TI SDK v3.0 for Beaglebone Black?

I am trying to set up spidev1.0 on Beaglebone Black running the Arago OS. I was able to successfully enable spi0 with the following code in my am335x-boneblack.dts for version 1.0 of the SDK, but have not been able to do the same for version 3.0



spi0_pins: spi0_pins { pinctrl-single,pins=< 0x150 0x10 /* Clock (PIN_OUTPUT_PULLUP | MUX_MODE0) */ 0X154 0x30 /* D0 I/O (PIN_INPUT_PULLUP | MUX_MODE0 */ 0X158 0x30 /* D1 I/O (PIN_INPUT_PULLUP | MUX_MODE0 */ 0X15c 0x10 /* CS0 (PIN_OUTPUT_PULLUP | MUX_MODE0 */ >; }; ... ... &spi0 { #address-cells = <1>; #size-cells = <0>; status = "okay"; pin-ctrl-names = "default"; pin-ctrl0 = <&spi0_pins>; ti,pindir-d0-out-d1-in = <1>; spidev@0{ spi-max-frequency = <24000000>; reg = <0>; compatible = "Linux,spidev"; }; };

I have tried to use the post here (https://e2e.ti.com/support/arm/sitara_arm/f/791/t/529120)  and (http://e2e.ti.com/support/embedded/linux/f/354/t/340805) here but I still have not gotten it working.

Thanks in advance!