forked from ~ljy/RK356X_SDK_RELEASE

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