Debian Codegraph @

Documentation/devicetree/bindings/net/can/microchip,mpfs-can.yaml

raw
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
7 title:
8 Microchip PolarFire SoC (MPFS) can controller
9
10 maintainers:
11 - Conor Dooley <[email protected]>
12
13 allOf:
14 - $ref: can-controller.yaml#
15
16 properties:
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
38 required:
39 - compatible
40 - reg
41 - interrupts
42 - clocks
43 - resets
44
45 additionalProperties: false
46
47 examples:
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 };