Skip to content

Commit e58e12c

Browse files
nxpfranklifloatious
authored andcommitted
dt-bindings: ata: ahci-fsl-qoriq: convert to yaml format
Convert ahci-fsl-qoirq DT binding to yaml format. Additional changes: - Add reg-names list, ahci and sata-ecc - Add fsl,ls1028a-ahci and fsl,lx2060a-ahci Signed-off-by: Frank Li <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Niklas Cassel <[email protected]>
1 parent 5433f0e commit e58e12c

File tree

2 files changed

+58
-21
lines changed

2 files changed

+58
-21
lines changed

Documentation/devicetree/bindings/ata/ahci-fsl-qoriq.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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,ahci.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Freescale QorIQ AHCI SATA Controller
8+
9+
maintainers:
10+
- Frank Li <[email protected]>
11+
12+
properties:
13+
compatible:
14+
enum:
15+
- fsl,ls1021a-ahci
16+
- fsl,ls1043a-ahci
17+
- fsl,ls1028a-ahci
18+
- fsl,ls1088a-ahci
19+
- fsl,ls2080a-ahci
20+
- fsl,lx2160a-ahci
21+
22+
reg:
23+
minItems: 1
24+
maxItems: 2
25+
26+
reg-names:
27+
items:
28+
- const: ahci
29+
- const: sata-ecc
30+
minItems: 1
31+
32+
clocks:
33+
maxItems: 1
34+
35+
interrupts:
36+
maxItems: 1
37+
38+
dma-coherent: true
39+
40+
required:
41+
- compatible
42+
- reg
43+
- clocks
44+
- interrupts
45+
46+
additionalProperties: false
47+
48+
examples:
49+
- |
50+
#include <dt-bindings/interrupt-controller/arm-gic.h>
51+
52+
sata@3200000 {
53+
compatible = "fsl,ls1021a-ahci";
54+
reg = <0x3200000 0x10000>;
55+
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
56+
clocks = <&platform_clk 1>;
57+
dma-coherent;
58+
};

0 commit comments

Comments
 (0)