ti,bq32000.yaml 873 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/rtc/ti,bq32000.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TI BQ32000 I2C Serial Real-Time Clock
  7. maintainers:
  8. - Alexandre Belloni <alexandre.belloni@bootlin.com>
  9. allOf:
  10. - $ref: rtc.yaml#
  11. properties:
  12. compatible:
  13. const: ti,bq32000
  14. reg:
  15. const: 0x68
  16. interrupts:
  17. maxItems: 1
  18. start-year: true
  19. trickle-resistor-ohms:
  20. enum: [ 1120, 20180 ]
  21. trickle-diode-disable: true
  22. required:
  23. - compatible
  24. - reg
  25. additionalProperties: false
  26. examples:
  27. - |
  28. i2c {
  29. #address-cells = <1>;
  30. #size-cells = <0>;
  31. bq32000: rtc@68 {
  32. compatible = "ti,bq32000";
  33. reg = <0x68>;
  34. trickle-resistor-ohms = <1120>;
  35. };
  36. };