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,palmas-rtc.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments Palmas RTC 8 9maintainers: 10 - Eduard Bostina <egbostina@gmail.com> 11 12allOf: 13 - $ref: /schemas/rtc/rtc.yaml# 14 15properties: 16 compatible: 17 const: ti,palmas-rtc 18 19 interrupts: 20 maxItems: 1 21 22 wakeup-source: true 23 24 ti,backup-battery-chargeable: 25 type: boolean 26 description: 27 The backup battery can be chargeable or non-chargeable. This flag 28 indicates whether the battery is chargeable. If present, the driver 29 can enable charging. 30 31 ti,backup-battery-charge-high-current: 32 type: boolean 33 description: 34 Enable high current charging in the backup battery. 35 Device supports the < 100uA and > 100uA charging. The high current will 36 be > 100uA. Absence of this property will charge battery to lower 37 current i.e. < 100uA. 38 39required: 40 - compatible 41 - interrupts 42 43unevaluatedProperties: false 44 45examples: 46 - | 47 pmic { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 51 rtc { 52 compatible = "ti,palmas-rtc"; 53 interrupts = <8 0>; 54 ti,backup-battery-chargeable; 55 ti,backup-battery-charge-high-current; 56 }; 57 }; 58