microchip,mcp251x.txt 757 B

12345678910111213141516171819202122232425
  1. * Microchip MCP251X stand-alone CAN controller device tree bindings
  2. Required properties:
  3. - compatible: Should be one of the following:
  4. - "microchip,mcp2510" for MCP2510.
  5. - "microchip,mcp2515" for MCP2515.
  6. - reg: SPI chip select.
  7. - clocks: The clock feeding the CAN controller.
  8. - interrupt-parent: The parent interrupt controller.
  9. - interrupts: Should contain IRQ line for the CAN controller.
  10. Optional properties:
  11. - vdd-supply: Regulator that powers the CAN controller.
  12. - xceiver-supply: Regulator that powers the CAN transceiver.
  13. Example:
  14. can0: can@1 {
  15. compatible = "microchip,mcp2515";
  16. reg = <1>;
  17. clocks = <&clk24m>;
  18. interrupt-parent = <&gpio4>;
  19. interrupts = <13 0x2>;
  20. vdd-supply = <&reg5v0>;
  21. xceiver-supply = <&reg5v0>;
  22. };