95 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/soc/cirrus/cirrus,ep9301-syscon.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Cirrus Logic EP93xx Platforms System Controller8 9maintainers:10 - Alexander Sverdlin <alexander.sverdlin@gmail.com>11 - Nikita Shubin <nikita.shubin@maquefel.me>12 13description: |14 Central resources are controlled by a set of software-locked registers,15 which can be used to prevent accidental accesses. Syscon generates16 the various bus and peripheral clocks and controls the system startup17 configuration.18 19 The System Controller (Syscon) provides:20 - Clock control21 - Power management22 - System configuration management23 24 Syscon registers are common for all EP93xx SoC's, through some actual peripheral25 may be missing depending on actual SoC model.26 27properties:28 compatible:29 oneOf:30 - items:31 - enum:32 - cirrus,ep9302-syscon33 - cirrus,ep9307-syscon34 - cirrus,ep9312-syscon35 - cirrus,ep9315-syscon36 - const: cirrus,ep9301-syscon37 - const: syscon38 - items:39 - const: cirrus,ep9301-syscon40 - const: syscon41 42 reg:43 maxItems: 144 45 "#clock-cells":46 const: 147 48 clocks:49 items:50 - description: reference clock51 52patternProperties:53 '^pins-':54 type: object55 description: pin node56 $ref: /schemas/pinctrl/pinmux-node.yaml57 58 properties:59 function:60 enum: [ spi, ac97, i2s, pwm, keypad, pata, lcd, gpio ]61 62 groups:63 enum: [ ssp, ac97, i2s_on_ssp, i2s_on_ac97, pwm1, gpio1agrp,64 gpio2agrp, gpio3agrp, gpio4agrp, gpio6agrp, gpio7agrp,65 rasteronsdram0grp, rasteronsdram3grp, keypadgrp, idegrp ]66 67 required:68 - function69 - groups70 71 unevaluatedProperties: false72 73required:74 - compatible75 - reg76 - "#clock-cells"77 - clocks78 79additionalProperties: false80 81examples:82 - |83 syscon@80930000 {84 compatible = "cirrus,ep9301-syscon", "syscon";85 reg = <0x80930000 0x1000>;86 87 #clock-cells = <1>;88 clocks = <&xtali>;89 90 spi_default_pins: pins-spi {91 function = "spi";92 groups = "ssp";93 };94 };95