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: |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame^] | 27 | items: |
| 28 | - description: AHB peripheral clock |
| 29 | - description: CAN bus clock |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | - interrupts |
| 35 | - clocks |
| 36 | |
| 37 | additionalProperties: false |
| 38 | |
| 39 | examples: |
| 40 | - | |
| 41 | can@2010c000 { |
| 42 | compatible = "microchip,mpfs-can"; |
| 43 | reg = <0x2010c000 0x1000>; |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame^] | 44 | clocks = <&clkcfg 17>, <&clkcfg 37>; |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 45 | interrupt-parent = <&plic>; |
| 46 | interrupts = <56>; |
| 47 | }; |