Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 <conor.dooley@microchip.com> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: can-controller.yaml# |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | const: microchip,mpfs-can |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | interrupts: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | clocks: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - reg |
| 32 | - interrupts |
| 33 | - clocks |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | can@2010c000 { |
| 40 | compatible = "microchip,mpfs-can"; |
| 41 | reg = <0x2010c000 0x1000>; |
| 42 | clocks = <&clkcfg 17>; |
| 43 | interrupt-parent = <&plic>; |
| 44 | interrupts = <56>; |
| 45 | }; |