Skip to content

Commit 541b1e8

Browse files
robherringlag-linaro
authored andcommitted
dt-bindings: mfd: Add Bitmain BM1880 System Controller
Add the already in use Bitmain BM1880 System Controller binding. All the child nodes already have schemas. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Link: https://patch.msgid.link/20251215212639.3320085-1-robh@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent d3fcf27 commit 541b1e8

1 file changed

Lines changed: 66 additions & 0 deletions

File tree

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/mfd/bitmain,bm1880-sctrl.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Bitmain BM1880 System Controller
8+
9+
maintainers:
10+
- Manivannan Sadhasivam <mani@kernel.org>
11+
12+
properties:
13+
compatible:
14+
items:
15+
- const: bitmain,bm1880-sctrl
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+
'^pinctrl@[0-9a-f]+$':
32+
type: object
33+
additionalProperties: true
34+
35+
properties:
36+
compatible:
37+
contains:
38+
const: bitmain,bm1880-pinctrl
39+
40+
'^clock-controller@[0-9a-f]+$':
41+
type: object
42+
additionalProperties: true
43+
44+
properties:
45+
compatible:
46+
contains:
47+
const: bitmain,bm1880-clk
48+
49+
'^reset-controller@[0-9a-f]+$':
50+
type: object
51+
additionalProperties: true
52+
53+
properties:
54+
compatible:
55+
contains:
56+
const: bitmain,bm1880-reset
57+
58+
required:
59+
- compatible
60+
- reg
61+
- ranges
62+
- '#address-cells'
63+
- '#size-cells'
64+
65+
additionalProperties: false
66+
...

0 commit comments

Comments
 (0)