1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/rtc/nxp,pcf 4 $id: http://devicetree.org/schemas/rtc/nxp,pcf2127.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: NXP PCF2127 Real Time Clock 7 title: NXP PCF2127 Real Time Clock 8 8 9 allOf: 9 allOf: 10 - $ref: rtc.yaml# 10 - $ref: rtc.yaml# 11 11 12 maintainers: 12 maintainers: 13 - Alexandre Belloni <alexandre.belloni@bootli 13 - Alexandre Belloni <alexandre.belloni@bootlin.com> 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - nxp,pca2129 18 - nxp,pca2129 19 - nxp,pcf2127 19 - nxp,pcf2127 20 - nxp,pcf2129 20 - nxp,pcf2129 21 - nxp,pcf2131 << 22 21 23 reg: 22 reg: 24 maxItems: 1 23 maxItems: 1 25 24 26 interrupts: 25 interrupts: 27 maxItems: 1 26 maxItems: 1 28 27 29 start-year: true 28 start-year: true 30 29 31 reset-source: true 30 reset-source: true 32 31 33 required: 32 required: 34 - compatible 33 - compatible 35 - reg 34 - reg 36 35 37 additionalProperties: false 36 additionalProperties: false 38 37 39 examples: 38 examples: 40 - | 39 - | 41 #include <dt-bindings/interrupt-controller 40 #include <dt-bindings/interrupt-controller/irq.h> 42 i2c { 41 i2c { 43 #address-cells = <1>; 42 #address-cells = <1>; 44 #size-cells = <0>; 43 #size-cells = <0>; 45 44 46 rtc@51 { 45 rtc@51 { 47 compatible = "nxp,pcf2127"; 46 compatible = "nxp,pcf2127"; 48 reg = <0x51>; 47 reg = <0x51>; 49 pinctrl-0 = <&rtc_nint_pins>; 48 pinctrl-0 = <&rtc_nint_pins>; 50 interrupts-extended = <&gpio1 16 I 49 interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>; 51 reset-source; 50 reset-source; 52 }; 51 }; 53 }; 52 }; 54 53 55 ... 54 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.