xref: /linux/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml (revision d30c1683aaecb93d2ab95685dc4300a33d3cea7a)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/net/can/microchip,mpfs-can.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title:
8  Microchip PolarFire SoC (MPFS) can controller
9
10maintainers:
11  - Conor Dooley <conor.dooley@microchip.com>
12
13allOf:
14  - $ref: can-controller.yaml#
15
16properties:
17  compatible:
18    oneOf:
19      - items:
20          - const: microchip,pic64gx-can
21          - const: microchip,mpfs-can
22      - const: microchip,mpfs-can
23
24  reg:
25    maxItems: 1
26
27  interrupts:
28    maxItems: 1
29
30  clocks:
31    items:
32      - description: AHB peripheral clock
33      - description: CAN bus clock
34
35  resets:
36    maxItems: 1
37
38required:
39  - compatible
40  - reg
41  - interrupts
42  - clocks
43  - resets
44
45additionalProperties: false
46
47examples:
48  - |
49    can@2010c000 {
50        compatible = "microchip,mpfs-can";
51        reg = <0x2010c000 0x1000>;
52        clocks = <&clkcfg 17>, <&clkcfg 37>;
53        resets = <&clkcfg 17>;
54        interrupt-parent = <&plic>;
55        interrupts = <56>;
56    };
57