-
Notifications
You must be signed in to change notification settings - Fork 944
Expand file tree
/
Copy pathadi,sc5xx-pinctrl.yaml
More file actions
82 lines (65 loc) · 1.89 KB
/
adi,sc5xx-pinctrl.yaml
File metadata and controls
82 lines (65 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pinctrl/adi,sc5xx-pinctrl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Analog Devices Pinmuxing Control for SC5XX Processor Family
maintainers:
- Arturs Artamonovs <arturs.artamonovs@analog.com>
- Utsav Agarwal <Utsav.Agarwal@analog.com>
description: |
Pinmuxing Control Driver for Configuring Processor Pins/Pads
properties:
compatible:
enum:
- adi,sc5xx-pinctrl
reg:
maxItems: 1
"#address-cells":
const: 1
"#size-cells":
const: 1
"adi,port-sizes":
$ref: /schemas/types.yaml#/definitions/uint32-array
maxItems: 9
description: Space delimited integer list denoting number of pins per port
Ports A-I exist, so this is up to 9 items long
"adi,no-drive-strength":
type: boolean
description: Indicate missing drive strength registers
"adi,no-pull-up-down":
type: boolean
description: Indicate missing pull up/down enable registers
patternProperties:
'-pins$':
type: object
additionalProperties: false
properties:
pins:
type: object
description: |
A pinctrl node should contain a pin property, specifying the actual
pins to use.
properties:
pinmux:
$ref: /schemas/types.yaml#/definitions/uint32-array
description: |
pinmux is used to specify which of the available functionalities
for a given pin are actually used.
additionalProperties: false
required:
- compatible
- reg
- "#address-cells"
- "#size-cells"
- adi,port-sizes
additionalProperties: false
examples:
- |
pinctrl@31004600 {
compatible = "adi,sc5xx-pinctrl";
#address-cells = <1>;
#size-cells = <1>;
reg = <0x31004600 0x400>;
adi,port-sizes = <16 16 16 16 16 16 16 16 7>;
};