| # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | |
| %YAML 1.2 | |
| --- | |
| $id: http://devicetree.org/schemas/clock/marvell,pxa1908.yaml# | |
| $schema: http://devicetree.org/meta-schemas/core.yaml# | |
| title: Marvell PXA1908 Clock Controllers | |
| maintainers: | |
| - Duje Mihanović <duje.mihanovic@skole.hr> | |
| description: | | |
| The PXA1908 clock subsystem generates and supplies clock to various | |
| controllers within the PXA1908 SoC. The PXA1908 contains numerous clock | |
| controller blocks, with the ones currently supported being APBC, APBCP, MPMU | |
| and APMU roughly corresponding to internal buses. | |
| All these clock identifiers could be found in <include/dt-bindings/marvell,pxa1908.h>. | |
| properties: | |
| compatible: | |
| oneOf: | |
| - enum: | |
| - marvell,pxa1908-apbc | |
| - marvell,pxa1908-apbcp | |
| - marvell,pxa1908-mpmu | |
| - items: | |
| - const: marvell,pxa1908-apmu | |
| - const: syscon | |
| reg: | |
| maxItems: 1 | |
| '#clock-cells': | |
| const: 1 | |
| '#power-domain-cells': | |
| const: 1 | |
| '#reset-cells': | |
| const: 1 | |
| required: | |
| - compatible | |
| - reg | |
| - '#clock-cells' | |
| additionalProperties: false | |
| allOf: | |
| - if: | |
| not: | |
| properties: | |
| compatible: | |
| contains: | |
| const: marvell,pxa1908-apmu | |
| then: | |
| properties: | |
| '#power-domain-cells': false | |
| - if: | |
| not: | |
| properties: | |
| compatible: | |
| contains: | |
| enum: | |
| - marvell,pxa1908-apbc | |
| - marvell,pxa1908-apbcp | |
| then: | |
| properties: | |
| '#reset-cells': false | |
| examples: | |
| # APMU block: | |
| - | | |
| clock-controller@d4282800 { | |
| compatible = "marvell,pxa1908-apmu", "syscon"; | |
| reg = <0xd4282800 0x400>; | |
| #clock-cells = <1>; | |
| #power-domain-cells = <1>; | |
| }; |