1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 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,pcf2123.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: NXP PCF2123 SPI Real Time Clock 7 title: NXP PCF2123 SPI Real Time Clock 8 8 9 maintainers: 9 maintainers: 10 - Javier Carrasco <javier.carrasco.cruz@gmail 10 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 11 11 12 allOf: 12 allOf: 13 - $ref: /schemas/spi/spi-peripheral-props.ya 13 - $ref: /schemas/spi/spi-peripheral-props.yaml# 14 - $ref: rtc.yaml# 14 - $ref: rtc.yaml# 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 enum: 18 enum: 19 - nxp,pcf2123 19 - nxp,pcf2123 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 interrupts: 24 interrupts: 25 maxItems: 1 25 maxItems: 1 26 26 27 required: 27 required: 28 - compatible 28 - compatible 29 - reg 29 - reg 30 30 31 unevaluatedProperties: false 31 unevaluatedProperties: false 32 32 33 examples: 33 examples: 34 - | 34 - | 35 #include <dt-bindings/interrupt-controller 35 #include <dt-bindings/interrupt-controller/arm-gic.h> 36 spi { 36 spi { 37 #address-cells = <1>; 37 #address-cells = <1>; 38 #size-cells = <0>; 38 #size-cells = <0>; 39 39 40 rtc@3 { 40 rtc@3 { 41 compatible = "nxp,pcf2123"; 41 compatible = "nxp,pcf2123"; 42 reg = <3>; 42 reg = <3>; 43 interrupts = <GIC_SPI 130 IRQ_TYPE 43 interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_LOW>; 44 spi-cs-high; 44 spi-cs-high; 45 }; 45 }; 46 }; 46 }; 47 ... 47 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.