I use an Intel Atom processor E3930 with CAN controller MCP2515 with SPI interface. In the Linux kernel there is a driver "drivers/net/can/spi/mcp251x.c".
I am only famiiliar with Linux device tree. But there is no device tree on the Intel Atom platform. Hence my question:
How to configure the mcp251x Linux driver on an Intel Atom platform?
Every hint is gratefully accepted.
With kind regards
Thank you for contacting Intel Embedded Community.
Based on your previous communication, could you please clarify if the project related to your question has been manufactured by you or by a third-party company? In case that it is a third-party device, could you please give us the part number, model, and where to find its documentation?
Thanks in advance for your cooperation.
Thanks for the quick response.
I use the SMARC-sXAL (E2) SMARC 2.0 module https://www.kontron.de/products/boards-and-standard-form-factors/smarc/smarc-sxal-e2-.html https://www.kontron.de/products/boards-and-standard-form-factors/smarc/smarc-sxal-e2-.html with the SMARC Evaluation Carrier 2.0 evaluation system https://www.kontron.de/products/boards-and-standard-form-factors/smarc/smarc-evaluation-carrier-2.0.html https://www.kontron.de/products/boards-and-standard-form-factors/smarc/smarc-evaluation-carrier-2.0.html.
# cat /proc/cpuinfo | grep "model name" | head -1
model name : Intel(R) Atom(TM) Processor E3930 @ 1.30GHz
Do you need more information about the hardware?
The operating system is Linux with kernel 4.12.14.
The mcp251x driver can be loaded
# modprobe mcp251x
but nothing happens.
How can I tell the mcp251x driver which SPI pins and chip select pin to use?
Thanks for your reply.
We suggest you as a reference review the information stated at the following website, please address your consultations related to the cited driver to the emails listed there:
We hope that this information may help you.