xref: /linux/Documentation/devicetree/bindings/net/can/ti,am3517-hecc.yaml (revision 91ec2035134982b98fab0609a9fd8480e8217dc1)
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/ti,am3517-hecc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Texas Instruments High End CAN Controller (HECC)
8
9maintainers:
10  - Eduard Bostina <egbostina@gmail.com>
11
12allOf:
13  - $ref: can-controller.yaml#
14
15properties:
16  compatible:
17    const: ti,am3517-hecc
18
19  reg:
20    maxItems: 3
21
22  reg-names:
23    items:
24      - const: hecc
25      - const: hecc-ram
26      - const: mbx
27
28  interrupts:
29    maxItems: 1
30
31  clocks:
32    maxItems: 1
33
34  ti,use-hecc1int:
35    type: boolean
36    description:
37      If provided, configures HECC to produce all interrupts on the
38      HECC1INT interrupt line. By default, the HECC0INT interrupt line
39      will be used.
40    default: false
41
42  xceiver-supply:
43    description: Regulator that powers the CAN transceiver.
44
45required:
46  - compatible
47  - reg
48  - reg-names
49  - interrupts
50  - clocks
51
52unevaluatedProperties: false
53
54examples:
55  - |
56    can@5c050000 {
57        compatible = "ti,am3517-hecc";
58        reg = <0x5c050000 0x80>,
59              <0x5c053000 0x180>,
60              <0x5c052000 0x200>;
61        reg-names = "hecc", "hecc-ram", "mbx";
62        interrupts = <24>;
63        clocks = <&hecc_ck>;
64    };
65