Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: arm: Add Calxeda system registers json-schema binding

The Calxeda system registers are a collection of MMIO register
controlling several more general aspects of the SoC.
Beside for some power management tasks this node is also somewhat
abused as the container for the clock nodes.

Add a binding in DT schema format using json-schema.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Andre Przywara and committed by
Rob Herring
2407fcb8 fdab2dc5

+49
+49
Documentation/devicetree/bindings/arm/calxeda/hb-sregs.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/arm/calxeda/hb-sregs.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Calxeda Highbank system registers 8 + 9 + description: | 10 + The Calxeda Highbank system has a block of MMIO registers controlling 11 + several generic system aspects. Those can be used to control some power 12 + management, they also contain some gate and PLL clocks. 13 + 14 + maintainers: 15 + - Andre Przywara <andre.przywara@arm.com> 16 + 17 + properties: 18 + compatible: 19 + const: calxeda,hb-sregs 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + clocks: 25 + type: object 26 + 27 + required: 28 + - compatible 29 + - reg 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + sregs@fff3c000 { 36 + compatible = "calxeda,hb-sregs"; 37 + reg = <0xfff3c000 0x1000>; 38 + 39 + clocks { 40 + #address-cells = <1>; 41 + #size-cells = <0>; 42 + 43 + osc: oscillator { 44 + #clock-cells = <0>; 45 + compatible = "fixed-clock"; 46 + clock-frequency = <33333000>; 47 + }; 48 + }; 49 + };