Merge tag 'for-linus-5.0-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / net / can / fsl-flexcan.txt
1 Flexcan CAN controller on Freescale's ARM and PowerPC system-on-a-chip (SOC).
2
3 Required properties:
4
5 - compatible : Should be "fsl,<processor>-flexcan"
6
7   An implementation should also claim any of the following compatibles
8   that it is fully backwards compatible with:
9
10   - fsl,p1010-flexcan
11
12 - reg : Offset and length of the register set for this device
13 - interrupts : Interrupt tuple for this device
14
15 Optional properties:
16
17 - clock-frequency : The oscillator frequency driving the flexcan device
18
19 - xceiver-supply: Regulator that powers the CAN transceiver
20
21 - big-endian: This means the registers of FlexCAN controller are big endian.
22               This is optional property.i.e. if this property is not present in
23               device tree node then controller is assumed to be little endian.
24               if this property is present then controller is assumed to be big
25               endian.
26
27 - fsl,stop-mode: register bits of stop mode control, the format is
28                  <&gpr req_gpr req_bit ack_gpr ack_bit>.
29                  gpr is the phandle to general purpose register node.
30                  req_gpr is the gpr register offset of CAN stop request.
31                  req_bit is the bit offset of CAN stop request.
32                  ack_gpr is the gpr register offset of CAN stop acknowledge.
33                  ack_bit is the bit offset of CAN stop acknowledge.
34
35 Example:
36
37         can@1c000 {
38                 compatible = "fsl,p1010-flexcan";
39                 reg = <0x1c000 0x1000>;
40                 interrupts = <48 0x2>;
41                 interrupt-parent = <&mpic>;
42                 clock-frequency = <200000000>; // filled in by bootloader
43         };