xref: /linux/Documentation/devicetree/bindings/arm/arm,juno-fpga-apb-regs.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1*8373767bSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*8373767bSKrzysztof Kozlowski%YAML 1.2
3*8373767bSKrzysztof Kozlowski---
4*8373767bSKrzysztof Kozlowski$id: http://devicetree.org/schemas/arm/arm,juno-fpga-apb-regs.yaml#
5*8373767bSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8373767bSKrzysztof Kozlowski
7*8373767bSKrzysztof Kozlowskititle: ARM Juno FPGA APB Registers
8*8373767bSKrzysztof Kozlowski
9*8373767bSKrzysztof Kozlowskimaintainers:
10*8373767bSKrzysztof Kozlowski  - Sudeep Holla <sudeep.holla@arm.com>
11*8373767bSKrzysztof Kozlowski
12*8373767bSKrzysztof Kozlowskiproperties:
13*8373767bSKrzysztof Kozlowski  compatible:
14*8373767bSKrzysztof Kozlowski    items:
15*8373767bSKrzysztof Kozlowski      - const: arm,juno-fpga-apb-regs
16*8373767bSKrzysztof Kozlowski      - const: syscon
17*8373767bSKrzysztof Kozlowski      - const: simple-mfd
18*8373767bSKrzysztof Kozlowski
19*8373767bSKrzysztof Kozlowski  reg:
20*8373767bSKrzysztof Kozlowski    maxItems: 1
21*8373767bSKrzysztof Kozlowski
22*8373767bSKrzysztof Kozlowski  ranges: true
23*8373767bSKrzysztof Kozlowski
24*8373767bSKrzysztof Kozlowski  "#address-cells":
25*8373767bSKrzysztof Kozlowski    const: 1
26*8373767bSKrzysztof Kozlowski
27*8373767bSKrzysztof Kozlowski  "#size-cells":
28*8373767bSKrzysztof Kozlowski    const: 1
29*8373767bSKrzysztof Kozlowski
30*8373767bSKrzysztof KozlowskipatternProperties:
31*8373767bSKrzysztof Kozlowski  "^led@[0-9a-f]+,[0-9a-f]$":
32*8373767bSKrzysztof Kozlowski    $ref: /schemas/leds/register-bit-led.yaml#
33*8373767bSKrzysztof Kozlowski
34*8373767bSKrzysztof Kozlowskirequired:
35*8373767bSKrzysztof Kozlowski  - compatible
36*8373767bSKrzysztof Kozlowski  - reg
37*8373767bSKrzysztof Kozlowski  - ranges
38*8373767bSKrzysztof Kozlowski  - "#address-cells"
39*8373767bSKrzysztof Kozlowski  - "#size-cells"
40*8373767bSKrzysztof Kozlowski
41*8373767bSKrzysztof KozlowskiadditionalProperties: false
42*8373767bSKrzysztof Kozlowski
43*8373767bSKrzysztof Kozlowskiexamples:
44*8373767bSKrzysztof Kozlowski  - |
45*8373767bSKrzysztof Kozlowski    syscon@10000 {
46*8373767bSKrzysztof Kozlowski        compatible = "arm,juno-fpga-apb-regs", "syscon", "simple-mfd";
47*8373767bSKrzysztof Kozlowski        reg = <0x010000 0x1000>;
48*8373767bSKrzysztof Kozlowski        ranges = <0x0 0x10000 0x1000>;
49*8373767bSKrzysztof Kozlowski        #address-cells = <1>;
50*8373767bSKrzysztof Kozlowski        #size-cells = <1>;
51*8373767bSKrzysztof Kozlowski
52*8373767bSKrzysztof Kozlowski        led@8,0 {
53*8373767bSKrzysztof Kozlowski            compatible = "register-bit-led";
54*8373767bSKrzysztof Kozlowski            reg = <0x08 0x04>;
55*8373767bSKrzysztof Kozlowski            offset = <0x08>;
56*8373767bSKrzysztof Kozlowski            mask = <0x01>;
57*8373767bSKrzysztof Kozlowski            label = "vexpress:0";
58*8373767bSKrzysztof Kozlowski            linux,default-trigger = "heartbeat";
59*8373767bSKrzysztof Kozlowski            default-state = "on";
60*8373767bSKrzysztof Kozlowski        };
61*8373767bSKrzysztof Kozlowski    };
62