2012-04-09 15:22:13 +00:00
|
|
|
Flexcan CAN controller on Freescale's ARM and PowerPC system-on-a-chip (SOC).
|
2011-04-19 13:58:31 +00:00
|
|
|
|
2011-08-16 17:32:21 +00:00
|
|
|
Required properties:
|
2011-04-19 13:58:31 +00:00
|
|
|
|
2011-08-16 17:32:21 +00:00
|
|
|
- compatible : Should be "fsl,<processor>-flexcan"
|
2011-04-19 13:58:31 +00:00
|
|
|
|
2011-08-16 17:32:21 +00:00
|
|
|
An implementation should also claim any of the following compatibles
|
|
|
|
that it is fully backwards compatible with:
|
2011-04-19 13:58:31 +00:00
|
|
|
|
2011-08-16 17:32:21 +00:00
|
|
|
- fsl,p1010-flexcan
|
2011-04-19 13:58:31 +00:00
|
|
|
|
2011-08-16 17:32:21 +00:00
|
|
|
- reg : Offset and length of the register set for this device
|
|
|
|
- interrupts : Interrupt tuple for this device
|
2012-06-26 08:49:22 +00:00
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
|
2011-08-16 17:32:23 +00:00
|
|
|
- clock-frequency : The oscillator frequency driving the flexcan device
|
2011-04-19 13:58:31 +00:00
|
|
|
|
2013-06-11 02:12:57 +00:00
|
|
|
- xceiver-supply: Regulator that powers the CAN transceiver
|
|
|
|
|
2017-11-24 13:22:10 +00:00
|
|
|
- big-endian: This means the registers of FlexCAN controller are big endian.
|
|
|
|
This is optional property.i.e. if this property is not present in
|
|
|
|
device tree node then controller is assumed to be little endian.
|
|
|
|
if this property is present then controller is assumed to be big
|
|
|
|
endian.
|
|
|
|
|
2018-11-23 08:35:29 +00:00
|
|
|
- fsl,stop-mode: register bits of stop mode control, the format is
|
|
|
|
<&gpr req_gpr req_bit ack_gpr ack_bit>.
|
|
|
|
gpr is the phandle to general purpose register node.
|
|
|
|
req_gpr is the gpr register offset of CAN stop request.
|
|
|
|
req_bit is the bit offset of CAN stop request.
|
|
|
|
ack_gpr is the gpr register offset of CAN stop acknowledge.
|
|
|
|
ack_bit is the bit offset of CAN stop acknowledge.
|
|
|
|
|
2011-08-16 17:32:21 +00:00
|
|
|
Example:
|
2011-04-19 13:58:31 +00:00
|
|
|
|
2011-08-16 17:32:21 +00:00
|
|
|
can@1c000 {
|
|
|
|
compatible = "fsl,p1010-flexcan";
|
2011-04-19 13:58:31 +00:00
|
|
|
reg = <0x1c000 0x1000>;
|
|
|
|
interrupts = <48 0x2>;
|
|
|
|
interrupt-parent = <&mpic>;
|
2011-08-16 17:32:23 +00:00
|
|
|
clock-frequency = <200000000>; // filled in by bootloader
|
2011-04-19 13:58:31 +00:00
|
|
|
};
|