summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml
blob: 01e4d4a54df6a065049413babf7313a140ee8a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/can/microchip,mpfs-can.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title:
  Microchip PolarFire SoC (MPFS) can controller

maintainers:
  - Conor Dooley <conor.dooley@microchip.com>

allOf:
  - $ref: can-controller.yaml#

properties:
  compatible:
    const: microchip,mpfs-can

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    items:
      - description: AHB peripheral clock
      - description: CAN bus clock

required:
  - compatible
  - reg
  - interrupts
  - clocks

additionalProperties: false

examples:
  - |
    can@2010c000 {
        compatible = "microchip,mpfs-can";
        reg = <0x2010c000 0x1000>;
        clocks = <&clkcfg 17>, <&clkcfg 37>;
        interrupt-parent = <&plic>;
        interrupts = <56>;
    };