diff options
| author | Tom Rini <[email protected]> | 2025-01-26 16:17:48 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-01-26 16:19:33 -0600 |
| commit | d8a7100d658eb201fa0e955667fdff298db31945 (patch) | |
| tree | 90447acc915dafdd9227d24f748b5f1a3976b9d3 /dts/upstream/Bindings/rtc | |
| parent | 2348dd8e41ea7912f2ecf35684bbe6386281fb57 (diff) | |
| parent | 844493d7e99cb795f3e28130ee09ba7a6441162f (diff) | |
Subtree merge tag 'v6.13-dts' of dts repo [1] into dts/upstream
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git
[rockchip fixes from Jonas Karlman via IRC]
Diffstat (limited to 'dts/upstream/Bindings/rtc')
| -rw-r--r-- | dts/upstream/Bindings/rtc/allwinner,sun6i-a31-rtc.yaml | 4 | ||||
| -rw-r--r-- | dts/upstream/Bindings/rtc/amlogic,a4-rtc.yaml | 63 | ||||
| -rw-r--r-- | dts/upstream/Bindings/rtc/microchip,mpfs-rtc.yaml (renamed from dts/upstream/Bindings/rtc/microchip,mfps-rtc.yaml) | 10 | ||||
| -rw-r--r-- | dts/upstream/Bindings/rtc/renesas,rz-rtca3.yaml | 84 | ||||
| -rw-r--r-- | dts/upstream/Bindings/rtc/rtc-mt6397.txt | 31 | ||||
| -rw-r--r-- | dts/upstream/Bindings/rtc/sprd,sc2731-rtc.yaml | 16 |
6 files changed, 156 insertions, 52 deletions
diff --git a/dts/upstream/Bindings/rtc/allwinner,sun6i-a31-rtc.yaml b/dts/upstream/Bindings/rtc/allwinner,sun6i-a31-rtc.yaml index 4531eec568a..9df5cdb6f63 100644 --- a/dts/upstream/Bindings/rtc/allwinner,sun6i-a31-rtc.yaml +++ b/dts/upstream/Bindings/rtc/allwinner,sun6i-a31-rtc.yaml @@ -30,7 +30,9 @@ properties: - const: allwinner,sun50i-a64-rtc - const: allwinner,sun8i-h3-rtc - items: - - const: allwinner,sun20i-d1-rtc + - enum: + - allwinner,sun20i-d1-rtc + - allwinner,sun55i-a523-rtc - const: allwinner,sun50i-r329-rtc reg: diff --git a/dts/upstream/Bindings/rtc/amlogic,a4-rtc.yaml b/dts/upstream/Bindings/rtc/amlogic,a4-rtc.yaml new file mode 100644 index 00000000000..5d3ac737abc --- /dev/null +++ b/dts/upstream/Bindings/rtc/amlogic,a4-rtc.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (C) 2024 Amlogic, Inc. All rights reserved +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/amlogic,a4-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic A4 and A5 RTC + +maintainers: + - Yiting Deng <[email protected]> + - Xianwei Zhao <[email protected]> + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + enum: + - amlogic,a4-rtc + - amlogic,a5-rtc + + reg: + maxItems: 1 + + clocks: + items: + - description: RTC clock source, available 24M or 32K crystal + oscillator source. when using 24M, need to divide 24M into 32K. + - description: RTC module accesses the clock of the apb bus. + + clock-names: + items: + - const: osc + - const: sys + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - interrupts + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/arm-gic.h> + apb { + #address-cells = <2>; + #size-cells = <2>; + + rtc@8e600 { + compatible = "amlogic,a4-rtc"; + reg = <0x0 0x8e600 0x0 0x38>; + clocks = <&xtal_32k>, <&clkc_periphs 1>; + clock-names = "osc", "sys"; + interrupts = <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>; + }; + }; diff --git a/dts/upstream/Bindings/rtc/microchip,mfps-rtc.yaml b/dts/upstream/Bindings/rtc/microchip,mpfs-rtc.yaml index 7742465b938..a3e60d9f839 100644 --- a/dts/upstream/Bindings/rtc/microchip,mfps-rtc.yaml +++ b/dts/upstream/Bindings/rtc/microchip,mpfs-rtc.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/rtc/microchip,mfps-rtc.yaml# +$id: http://devicetree.org/schemas/rtc/microchip,mpfs-rtc.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# @@ -12,12 +12,14 @@ allOf: maintainers: - Daire McNamara <[email protected]> - - Lewis Hanly <[email protected]> properties: compatible: - enum: - - microchip,mpfs-rtc + oneOf: + - items: + - const: microchip,pic64gx-rtc + - const: microchip,mpfs-rtc + - const: microchip,mpfs-rtc reg: maxItems: 1 diff --git a/dts/upstream/Bindings/rtc/renesas,rz-rtca3.yaml b/dts/upstream/Bindings/rtc/renesas,rz-rtca3.yaml new file mode 100644 index 00000000000..e70eeb66aa6 --- /dev/null +++ b/dts/upstream/Bindings/rtc/renesas,rz-rtca3.yaml @@ -0,0 +1,84 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/renesas,rz-rtca3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas RTCA-3 Real Time Clock + +maintainers: + - Claudiu Beznea <[email protected]> + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + items: + - enum: + - renesas,r9a08g045-rtca3 # RZ/G3S + - const: renesas,rz-rtca3 + + reg: + maxItems: 1 + + interrupts: + items: + - description: Alarm interrupt + - description: Periodic interrupt + - description: Carry interrupt + + interrupt-names: + items: + - const: alarm + - const: period + - const: carry + + clocks: + items: + - description: RTC bus clock + - description: RTC counter clock + + clock-names: + items: + - const: bus + - const: counter + + power-domains: + maxItems: 1 + + resets: + items: + - description: VBATTB module reset + +required: + - compatible + - reg + - interrupts + - interrupt-names + - clocks + - clock-names + - power-domains + - resets + +additionalProperties: false + +examples: + - | + #include <dt-bindings/clock/r9a08g045-cpg.h> + #include <dt-bindings/clock/renesas,r9a08g045-vbattb.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> + #include <dt-bindings/interrupt-controller/irq.h> + + rtc@1004ec00 { + compatible = "renesas,r9a08g045-rtca3", "renesas,rz-rtca3"; + reg = <0x1004ec00 0x400>; + interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "alarm", "period", "carry"; + clocks = <&cpg CPG_MOD R9A08G045_VBAT_BCLK>, <&vbattclk VBATTB_VBATTCLK>; + clock-names = "bus", "counter"; + power-domains = <&cpg>; + resets = <&cpg R9A08G045_VBAT_BRESETN>; + }; diff --git a/dts/upstream/Bindings/rtc/rtc-mt6397.txt b/dts/upstream/Bindings/rtc/rtc-mt6397.txt deleted file mode 100644 index 7212076a8f1..00000000000 --- a/dts/upstream/Bindings/rtc/rtc-mt6397.txt +++ /dev/null @@ -1,31 +0,0 @@ -Device-Tree bindings for MediaTek PMIC based RTC - -MediaTek PMIC based RTC is an independent function of MediaTek PMIC that works -as a type of multi-function device (MFD). The RTC can be configured and set up -with PMIC wrapper bus which is a common resource shared with the other -functions found on the same PMIC. - -For MediaTek PMIC MFD bindings, see: -../mfd/mt6397.txt - -For MediaTek PMIC wrapper bus bindings, see: -../soc/mediatek/pwrap.txt - -Required properties: -- compatible: Should be one of follows - "mediatek,mt6323-rtc": for MT6323 PMIC - "mediatek,mt6358-rtc": for MT6358 PMIC - "mediatek,mt6366-rtc", "mediatek,mt6358-rtc": for MT6366 PMIC - "mediatek,mt6397-rtc": for MT6397 PMIC - -Example: - - pmic { - compatible = "mediatek,mt6323"; - - ... - - rtc { - compatible = "mediatek,mt6323-rtc"; - }; - }; diff --git a/dts/upstream/Bindings/rtc/sprd,sc2731-rtc.yaml b/dts/upstream/Bindings/rtc/sprd,sc2731-rtc.yaml index f3d20e97696..5756f617df3 100644 --- a/dts/upstream/Bindings/rtc/sprd,sc2731-rtc.yaml +++ b/dts/upstream/Bindings/rtc/sprd,sc2731-rtc.yaml @@ -30,20 +30,4 @@ allOf: - $ref: rtc.yaml# unevaluatedProperties: false - -examples: - - | - #include <dt-bindings/interrupt-controller/irq.h> - - pmic { - #address-cells = <1>; - #size-cells = <0>; - - rtc@280 { - compatible = "sprd,sc2731-rtc"; - reg = <0x280>; - interrupt-parent = <&sc2731_pmic>; - interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; - }; - }; ... |
