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