Hi TI,
I'm having hard time with enabling SPI communication with AM437x and TI Linux kernel 3.12.10. I want to get user interface of SPI as /dev/spidevX.X.
I have followed this post: http://processors.wiki.ti.com/index.php/Linux_Core_SPI_User's_Guide
But I just don't get any sipdev device. This is my device tree SPI configuration:
aliases { display0 = &lcd0; display1 = &hdmi0; i2c0 = &i2c0; i2c1 = &i2c1; serial0 = &uart0; serial3 = &uart3; serial5 = &uart5; d_can0 = &dcan0; d_can1 = &dcan1; spi0 = &spi0; }; spi0_pins: pinmux_spi0_pins { pinctrl-single,pins = < 0x150 (PIN_INPUT | MUX_MODE0) /* spi0_clk.spi0_clk */ 0x154 (PIN_OUTPUT | MUX_MODE0) /* spi0_d0.spi0_d0 */ 0x158 (PIN_INPUT | MUX_MODE0) /* spi0_d1.spi0_d1 */ 0x15C (PIN_OUTPUT | MUX_MODE0) /* spi0_cs0.spi0_cs0 */ >; }; &spi0 { pinctrl-0 = <&spi0_pins>; status = "okay"; spidev@0 { compatible = "rohm,dh2228fv"; spi-max-frequency = <24000000>; reg = <0>; }; };
I also included the Mcspi driver to Linux kernel. Could you please help me? What am I missing?
Thank you very much and best regards,
Jan Moravec