Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/w1/maxim,ds2482.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Maxim One wire bus master controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Stefan Wahren <stefan.wahren@chargebyte.com> |
| 11 | |
| 12 | description: | |
| 13 | I2C to 1-wire bridges |
| 14 | |
| 15 | https://www.analog.com/media/en/technical-documentation/data-sheets/ds2482-100.pdf |
| 16 | https://www.analog.com/media/en/technical-documentation/data-sheets/DS2482-800.pdf |
| 17 | https://www.analog.com/media/en/technical-documentation/data-sheets/DS2484.pdf |
| 18 | |
| 19 | properties: |
| 20 | compatible: |
| 21 | enum: |
| 22 | - maxim,ds2482 |
| 23 | - maxim,ds2484 |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | |
| 32 | additionalProperties: |
| 33 | type: object |
| 34 | |
| 35 | examples: |
| 36 | - | |
| 37 | i2c { |
| 38 | #address-cells = <1>; |
| 39 | #size-cells = <0>; |
| 40 | onewire@18 { |
| 41 | compatible = "maxim,ds2484"; |
| 42 | reg = <0x18>; |
| 43 | }; |
| 44 | }; |