162306a36Sopenharmony_ci* Microchip MCP251X stand-alone CAN controller device tree bindings 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired properties: 462306a36Sopenharmony_ci - compatible: Should be one of the following: 562306a36Sopenharmony_ci - "microchip,mcp2510" for MCP2510. 662306a36Sopenharmony_ci - "microchip,mcp2515" for MCP2515. 762306a36Sopenharmony_ci - "microchip,mcp25625" for MCP25625. 862306a36Sopenharmony_ci - reg: SPI chip select. 962306a36Sopenharmony_ci - clocks: The clock feeding the CAN controller. 1062306a36Sopenharmony_ci - interrupts: Should contain IRQ line for the CAN controller. 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciOptional properties: 1362306a36Sopenharmony_ci - vdd-supply: Regulator that powers the CAN controller. 1462306a36Sopenharmony_ci - xceiver-supply: Regulator that powers the CAN transceiver. 1562306a36Sopenharmony_ci - gpio-controller: Indicates this device is a GPIO controller. 1662306a36Sopenharmony_ci - #gpio-cells: Should be two. The first cell is the pin number and 1762306a36Sopenharmony_ci the second cell is used to specify the gpio polarity. 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciExample: 2062306a36Sopenharmony_ci can0: can@1 { 2162306a36Sopenharmony_ci compatible = "microchip,mcp2515"; 2262306a36Sopenharmony_ci reg = <1>; 2362306a36Sopenharmony_ci clocks = <&clk24m>; 2462306a36Sopenharmony_ci interrupt-parent = <&gpio4>; 2562306a36Sopenharmony_ci interrupts = <13 IRQ_TYPE_LEVEL_LOW>; 2662306a36Sopenharmony_ci vdd-supply = <®5v0>; 2762306a36Sopenharmony_ci xceiver-supply = <®5v0>; 2862306a36Sopenharmony_ci gpio-controller; 2962306a36Sopenharmony_ci #gpio-cells = <2>; 3062306a36Sopenharmony_ci }; 31