8b7b736fbf
The property clock-frequency is optional for device tree probe. When it's absent, the flexcan driver will try to get the frequency from clk system by calling clk_get_rate. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
28 lines
703 B
Plaintext
28 lines
703 B
Plaintext
Flexcan CAN controller on Freescale's ARM and PowerPC system-on-a-chip (SOC).
|
|
|
|
Required properties:
|
|
|
|
- compatible : Should be "fsl,<processor>-flexcan"
|
|
|
|
An implementation should also claim any of the following compatibles
|
|
that it is fully backwards compatible with:
|
|
|
|
- fsl,p1010-flexcan
|
|
|
|
- reg : Offset and length of the register set for this device
|
|
- interrupts : Interrupt tuple for this device
|
|
|
|
Optional properties:
|
|
|
|
- clock-frequency : The oscillator frequency driving the flexcan device
|
|
|
|
Example:
|
|
|
|
can@1c000 {
|
|
compatible = "fsl,p1010-flexcan";
|
|
reg = <0x1c000 0x1000>;
|
|
interrupts = <48 0x2>;
|
|
interrupt-parent = <&mpic>;
|
|
clock-frequency = <200000000>; // filled in by bootloader
|
|
};
|