Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [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/ata/fsl,imx-pata.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Freescale i.MX PATA Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Animesh Agarwal <animeshagarwal28@gmail.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | oneOf: |
| 15 | - items: |
| 16 | - enum: |
| 17 | - fsl,imx31-pata |
| 18 | - fsl,imx51-pata |
| 19 | - const: fsl,imx27-pata |
| 20 | - const: fsl,imx27-pata |
| 21 | |
| 22 | reg: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | interrupts: |
| 26 | items: |
| 27 | - description: PATA Controller interrupts |
| 28 | |
| 29 | clocks: |
| 30 | items: |
| 31 | - description: PATA Controller clocks |
| 32 | |
| 33 | additionalProperties: false |
| 34 | |
| 35 | examples: |
| 36 | - | |
| 37 | pata: pata@83fe0000 { |
| 38 | compatible = "fsl,imx51-pata", "fsl,imx27-pata"; |
| 39 | reg = <0x83fe0000 0x4000>; |
| 40 | interrupts = <70>; |
| 41 | clocks = <&clks 161>; |
| 42 | }; |