intel,ixp4xx-compact-flash.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/ata/intel,ixp4xx-compact-flash.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Intel IXP4xx CompactFlash Card Controller
  7. maintainers:
  8. - Linus Walleij <linusw@kernel.org>
  9. description: |
  10. The IXP4xx network processors have a CompactFlash interface that presents
  11. a CompactFlash card to the system as a true IDE (parallel ATA) device. The
  12. device is always connected to the expansion bus of the IXP4xx SoCs using one
  13. or two chip select areas and address translating logic on the board. The
  14. node must be placed inside a chip select node on the IXP4xx expansion bus.
  15. properties:
  16. compatible:
  17. const: intel,ixp4xx-compact-flash
  18. reg:
  19. items:
  20. - description: Command interface registers
  21. - description: Control interface registers
  22. interrupts:
  23. maxItems: 1
  24. required:
  25. - compatible
  26. - reg
  27. - interrupts
  28. allOf:
  29. - $ref: pata-common.yaml#
  30. - $ref: /schemas/memory-controllers/intel,ixp4xx-expansion-peripheral-props.yaml#
  31. unevaluatedProperties: false
  32. examples:
  33. - |
  34. #include <dt-bindings/interrupt-controller/irq.h>
  35. bus@c4000000 {
  36. compatible = "intel,ixp43x-expansion-bus-controller", "syscon";
  37. reg = <0xc4000000 0x1000>;
  38. native-endian;
  39. #address-cells = <2>;
  40. #size-cells = <1>;
  41. ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;
  42. dma-ranges = <0 0x0 0x50000000 0x01000000>, <1 0x0 0x51000000 0x01000000>;
  43. ide@1,0 {
  44. compatible = "intel,ixp4xx-compact-flash";
  45. reg = <1 0x00000000 0x1000>, <1 0x00040000 0x1000>;
  46. interrupt-parent = <&gpio0>;
  47. interrupts = <12 IRQ_TYPE_EDGE_RISING>;
  48. };
  49. };
  50. ...