1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/potentiometer/microchip,mcp4131.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip MCP413X/414X/415X/416X/423X/424X/425X/426X Digital Potentiometer
8
9maintainers:
10  - Slawomir Stepien <sst@poczta.fm>
11
12properties:
13  compatible:
14    enum:
15      - microchip,mcp4131-103
16      - microchip,mcp4131-104
17      - microchip,mcp4131-502
18      - microchip,mcp4131-503
19      - microchip,mcp4132-103
20      - microchip,mcp4132-104
21      - microchip,mcp4132-502
22      - microchip,mcp4132-503
23      - microchip,mcp4141-103
24      - microchip,mcp4141-104
25      - microchip,mcp4141-502
26      - microchip,mcp4141-503
27      - microchip,mcp4142-103
28      - microchip,mcp4142-104
29      - microchip,mcp4142-502
30      - microchip,mcp4142-503
31      - microchip,mcp4151-103
32      - microchip,mcp4151-104
33      - microchip,mcp4151-502
34      - microchip,mcp4151-503
35      - microchip,mcp4152-103
36      - microchip,mcp4152-104
37      - microchip,mcp4152-502
38      - microchip,mcp4152-503
39      - microchip,mcp4161-103
40      - microchip,mcp4161-104
41      - microchip,mcp4161-502
42      - microchip,mcp4161-503
43      - microchip,mcp4162-103
44      - microchip,mcp4162-104
45      - microchip,mcp4162-502
46      - microchip,mcp4162-503
47      - microchip,mcp4231-103
48      - microchip,mcp4231-104
49      - microchip,mcp4231-502
50      - microchip,mcp4231-503
51      - microchip,mcp4232-103
52      - microchip,mcp4232-104
53      - microchip,mcp4232-502
54      - microchip,mcp4232-503
55      - microchip,mcp4241-103
56      - microchip,mcp4241-104
57      - microchip,mcp4241-502
58      - microchip,mcp4241-503
59      - microchip,mcp4242-103
60      - microchip,mcp4242-104
61      - microchip,mcp4242-502
62      - microchip,mcp4242-503
63      - microchip,mcp4251-103
64      - microchip,mcp4251-104
65      - microchip,mcp4251-502
66      - microchip,mcp4251-503
67      - microchip,mcp4252-103
68      - microchip,mcp4252-104
69      - microchip,mcp4252-502
70      - microchip,mcp4252-503
71      - microchip,mcp4261-103
72      - microchip,mcp4261-104
73      - microchip,mcp4261-502
74      - microchip,mcp4261-503
75      - microchip,mcp4262-103
76      - microchip,mcp4262-104
77      - microchip,mcp4262-502
78      - microchip,mcp4262-503
79
80  reg:
81    maxItems: 1
82
83  spi-max-frequency: true
84
85additionalProperties: false
86
87required:
88  - compatible
89  - reg
90
91examples:
92  - |
93    spi {
94        #address-cells = <1>;
95        #size-cells = <0>;
96
97        potentiometer@0 {
98            compatible = "microchip,mcp4131-502";
99            reg = <0>;
100            spi-max-frequency = <500000>;
101        };
102    };
103...
104