socionext,synquacer-i2c.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/i2c/socionext,synquacer-i2c.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Socionext SynQuacer I2C Controller
  7. maintainers:
  8. - Ard Biesheuvel <ardb@kernel.org>
  9. allOf:
  10. - $ref: /schemas/i2c/i2c-controller.yaml#
  11. properties:
  12. compatible:
  13. const: socionext,synquacer-i2c
  14. reg:
  15. maxItems: 1
  16. clocks:
  17. maxItems: 1
  18. clock-names:
  19. const: pclk
  20. clock-frequency:
  21. minimum: 100000
  22. maximum: 400000
  23. interrupts:
  24. maxItems: 1
  25. required:
  26. - compatible
  27. - reg
  28. - interrupts
  29. - clocks
  30. - clock-names
  31. unevaluatedProperties: false
  32. examples:
  33. - |
  34. #include <dt-bindings/interrupt-controller/arm-gic.h>
  35. i2c@51210000 {
  36. compatible = "socionext,synquacer-i2c";
  37. reg = <0x51210000 0x1000>;
  38. interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
  39. #address-cells = <1>;
  40. #size-cells = <0>;
  41. clock-names = "pclk";
  42. clocks = <&clk_i2c>;
  43. clock-frequency = <400000>;
  44. };
  45. ...