1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/ata/ata-gen 4 $id: http://devicetree.org/schemas/ata/ata-generic.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Generic Parallel ATA Controller 7 title: Generic Parallel ATA Controller 8 8 9 maintainers: 9 maintainers: 10 - Linus Walleij <linus.walleij@linaro.org> 10 - Linus Walleij <linus.walleij@linaro.org> 11 11 12 description: 12 description: 13 Generic Parallel ATA controllers supporting 13 Generic Parallel ATA controllers supporting PIO modes only. 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 items: 17 items: 18 - enum: 18 - enum: 19 - arm,vexpress-cf 19 - arm,vexpress-cf 20 - fsl,mpc8349emitx-pata 20 - fsl,mpc8349emitx-pata 21 - const: ata-generic 21 - const: ata-generic 22 22 23 reg: 23 reg: 24 items: 24 items: 25 - description: Command interface registe 25 - description: Command interface registers 26 - description: Control interface registe 26 - description: Control interface registers 27 27 28 reg-shift: 28 reg-shift: 29 enum: [ 1, 2 ] 29 enum: [ 1, 2 ] 30 30 31 interrupts: 31 interrupts: 32 maxItems: 1 32 maxItems: 1 33 33 34 ata-generic,use16bit: 34 ata-generic,use16bit: 35 type: boolean 35 type: boolean 36 description: Use 16-bit accesses instead o 36 description: Use 16-bit accesses instead of 32-bit for data transfers 37 37 38 pio-mode: 38 pio-mode: 39 description: Maximum ATA PIO transfer mode 39 description: Maximum ATA PIO transfer mode 40 $ref: /schemas/types.yaml#/definitions/uin 40 $ref: /schemas/types.yaml#/definitions/uint32 41 maximum: 6 41 maximum: 6 42 default: 0 42 default: 0 43 43 44 required: 44 required: 45 - compatible 45 - compatible 46 - reg 46 - reg 47 47 48 additionalProperties: false 48 additionalProperties: false 49 49 50 examples: 50 examples: 51 - | 51 - | 52 compact-flash@1a000 { 52 compact-flash@1a000 { 53 compatible = "arm,vexpress-cf", "ata-g 53 compatible = "arm,vexpress-cf", "ata-generic"; 54 reg = <0x1a000 0x100>, 54 reg = <0x1a000 0x100>, 55 <0x1a100 0xf00>; 55 <0x1a100 0xf00>; 56 reg-shift = <2>; 56 reg-shift = <2>; 57 }; 57 }; 58 ... 58 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.