| .. | .. |
|---|
| 2 | 2 | ------------------------------------------------- |
|---|
| 3 | 3 | |
|---|
| 4 | 4 | Required properties: |
|---|
| 5 | | -- compatible: "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC. |
|---|
| 5 | +- compatible: "renesas,can-r8a7742" if CAN controller is a part of R8A7742 SoC. |
|---|
| 6 | + "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC. |
|---|
| 7 | + "renesas,can-r8a7744" if CAN controller is a part of R8A7744 SoC. |
|---|
| 6 | 8 | "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC. |
|---|
| 9 | + "renesas,can-r8a77470" if CAN controller is a part of R8A77470 SoC. |
|---|
| 10 | + "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC. |
|---|
| 11 | + "renesas,can-r8a774b1" if CAN controller is a part of R8A774B1 SoC. |
|---|
| 12 | + "renesas,can-r8a774c0" if CAN controller is a part of R8A774C0 SoC. |
|---|
| 13 | + "renesas,can-r8a774e1" if CAN controller is a part of R8A774E1 SoC. |
|---|
| 7 | 14 | "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC. |
|---|
| 8 | 15 | "renesas,can-r8a7779" if CAN controller is a part of R8A7779 SoC. |
|---|
| 9 | 16 | "renesas,can-r8a7790" if CAN controller is a part of R8A7790 SoC. |
|---|
| .. | .. |
|---|
| 13 | 20 | "renesas,can-r8a7794" if CAN controller is a part of R8A7794 SoC. |
|---|
| 14 | 21 | "renesas,can-r8a7795" if CAN controller is a part of R8A7795 SoC. |
|---|
| 15 | 22 | "renesas,can-r8a7796" if CAN controller is a part of R8A7796 SoC. |
|---|
| 23 | + "renesas,can-r8a77965" if CAN controller is a part of R8A77965 SoC. |
|---|
| 24 | + "renesas,can-r8a77990" if CAN controller is a part of R8A77990 SoC. |
|---|
| 25 | + "renesas,can-r8a77995" if CAN controller is a part of R8A77995 SoC. |
|---|
| 16 | 26 | "renesas,rcar-gen1-can" for a generic R-Car Gen1 compatible device. |
|---|
| 17 | 27 | "renesas,rcar-gen2-can" for a generic R-Car Gen2 or RZ/G1 |
|---|
| 18 | 28 | compatible device. |
|---|
| 19 | | - "renesas,rcar-gen3-can" for a generic R-Car Gen3 compatible device. |
|---|
| 29 | + "renesas,rcar-gen3-can" for a generic R-Car Gen3 or RZ/G2 |
|---|
| 30 | + compatible device. |
|---|
| 20 | 31 | When compatible with the generic version, nodes must list the |
|---|
| 21 | 32 | SoC-specific version corresponding to the platform first |
|---|
| 22 | 33 | followed by the generic version. |
|---|
| .. | .. |
|---|
| 24 | 35 | - reg: physical base address and size of the R-Car CAN register map. |
|---|
| 25 | 36 | - interrupts: interrupt specifier for the sole interrupt. |
|---|
| 26 | 37 | - clocks: phandles and clock specifiers for 3 CAN clock inputs. |
|---|
| 27 | | -- clock-names: 3 clock input name strings: "clkp1", "clkp2", "can_clk". |
|---|
| 38 | +- clock-names: 3 clock input name strings: "clkp1", "clkp2", and "can_clk". |
|---|
| 28 | 39 | - pinctrl-0: pin control group to be used for this controller. |
|---|
| 29 | 40 | - pinctrl-names: must be "default". |
|---|
| 30 | 41 | |
|---|
| 31 | | -Required properties for "renesas,can-r8a7795" and "renesas,can-r8a7796" |
|---|
| 32 | | -compatible: |
|---|
| 33 | | -In R8A7795 and R8A7796 SoCs, "clkp2" can be CANFD clock. This is a div6 clock |
|---|
| 34 | | -and can be used by both CAN and CAN FD controller at the same time. It needs to |
|---|
| 35 | | -be scaled to maximum frequency if any of these controllers use it. This is done |
|---|
| 42 | +Required properties for R8A774A1, R8A774B1, R8A774C0, R8A774E1, R8A7795, |
|---|
| 43 | +R8A7796, R8A77965, R8A77990, and R8A77995: |
|---|
| 44 | +For the denoted SoCs, "clkp2" can be CANFD clock. This is a div6 clock and can |
|---|
| 45 | +be used by both CAN and CAN FD controller at the same time. It needs to be |
|---|
| 46 | +scaled to maximum frequency if any of these controllers use it. This is done |
|---|
| 36 | 47 | using the below properties: |
|---|
| 37 | 48 | |
|---|
| 38 | 49 | - assigned-clocks: phandle of clkp2(CANFD) clock. |
|---|
| .. | .. |
|---|
| 42 | 53 | - renesas,can-clock-select: R-Car CAN Clock Source Select. Valid values are: |
|---|
| 43 | 54 | <0x0> (default) : Peripheral clock (clkp1) |
|---|
| 44 | 55 | <0x1> : Peripheral clock (clkp2) |
|---|
| 45 | | - <0x3> : Externally input clock |
|---|
| 56 | + <0x3> : External input clock |
|---|
| 46 | 57 | |
|---|
| 47 | 58 | Example |
|---|
| 48 | 59 | ------- |
|---|