Marek Vasut | 7e12491 | 2021-06-10 17:00:44 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/rtc/epson,rx8900.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: EPSON RX8900 / Microcrystal RV8803 Real-Time Clock DT bindings |
| 8 | |
| 9 | maintainers: |
| 10 | - Marek Vasut <marex@denx.de> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: rtc.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
Fabio Estevam | 10d96b4 | 2021-11-30 09:58:29 -0300 | [diff] [blame] | 18 | - epson,rx8804 |
Marek Vasut | 7e12491 | 2021-06-10 17:00:44 +0200 | [diff] [blame] | 19 | - epson,rx8900 |
| 20 | - microcrystal,rv8803 |
| 21 | |
| 22 | reg: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | epson,vdet-disable: |
| 26 | type: boolean |
| 27 | description: | |
| 28 | Disable voltage detector. Should be set if no backup battery is used. |
| 29 | |
| 30 | trickle-diode-disable: true |
| 31 | |
| 32 | required: |
| 33 | - compatible |
| 34 | - reg |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | i2c { |
| 41 | #address-cells = <1>; |
| 42 | #size-cells = <0>; |
| 43 | |
| 44 | rtc@32 { |
| 45 | compatible = "epson,rx8900"; |
| 46 | reg = <0x32>; |
| 47 | epson,vdet-disable; |
| 48 | trickle-diode-disable; |
| 49 | }; |
| 50 | }; |