Skip to content
Snippets Groups Projects
Commit 9d733992 authored by Dong Aisheng's avatar Dong Aisheng Committed by Marc Kleine-Budde
Browse files

dt-bindings: can: flexcan: add PE clock source property to device tree


The FlexCAN controller can parse clock source property from DTS file to
select PE clock source.

Signed-off-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: default avatarJoakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent ca109896
No related branches found
No related tags found
No related merge requests found
......@@ -32,6 +32,13 @@ Optional properties:
ack_gpr is the gpr register offset of CAN stop acknowledge.
ack_bit is the bit offset of CAN stop acknowledge.
- fsl,clk-source: Select the clock source to the CAN Protocol Engine (PE).
It's SoC Implementation dependent. Refer to RM for detailed
definition. If this property is not set in device tree node
then driver selects clock source 1 by default.
0: clock source 0 (oscillator clock)
1: clock source 1 (peripheral clock)
Example:
can@1c000 {
......@@ -40,4 +47,5 @@ Example:
interrupts = <48 0x2>;
interrupt-parent = <&mpic>;
clock-frequency = <200000000>; // filled in by bootloader
fsl,clk-source = <0>; // select clock source 0 for PE
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment