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/nvmem/socionext,uniphier-efuse.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Socionext UniPhier eFuse |
| 8 | |
| 9 | maintainers: |
| 10 | - Keiji Hayashibara <hayashibara.keiji@socionext.com> |
| 11 | - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: nvmem.yaml# |
| 15 | - $ref: nvmem-deprecated-cells.yaml# |
| 16 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | const: socionext,uniphier-efuse |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | required: |
| 25 | - compatible |
| 26 | - reg |
| 27 | |
| 28 | unevaluatedProperties: false |
| 29 | |
| 30 | examples: |
| 31 | - | |
| 32 | efuse@100 { |
| 33 | compatible = "socionext,uniphier-efuse"; |
| 34 | reg = <0x100 0x28>; |
| 35 | }; |
| 36 | |
| 37 | efuse@200 { |
| 38 | compatible = "socionext,uniphier-efuse"; |
| 39 | reg = <0x200 0x68>; |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <1>; |
| 42 | |
| 43 | /* Data cells */ |
| 44 | usb_rterm0: trim@54,4 { |
| 45 | reg = <0x54 1>; |
| 46 | bits = <4 2>; |
| 47 | }; |
| 48 | usb_rterm1: trim@55,4 { |
| 49 | reg = <0x55 1>; |
| 50 | bits = <4 2>; |
| 51 | }; |
| 52 | usb_rterm2: trim@58,4 { |
| 53 | reg = <0x58 1>; |
| 54 | bits = <4 2>; |
| 55 | }; |
| 56 | usb_rterm3: trim@59,4 { |
| 57 | reg = <0x59 1>; |
| 58 | bits = <4 2>; |
| 59 | }; |
| 60 | usb_sel_t0: trim@54,0 { |
| 61 | reg = <0x54 1>; |
| 62 | bits = <0 4>; |
| 63 | }; |
| 64 | usb_sel_t1: trim@55,0 { |
| 65 | reg = <0x55 1>; |
| 66 | bits = <0 4>; |
| 67 | }; |
| 68 | usb_sel_t2: trim@58,0 { |
| 69 | reg = <0x58 1>; |
| 70 | bits = <0 4>; |
| 71 | }; |
| 72 | usb_sel_t3: trim@59,0 { |
| 73 | reg = <0x59 1>; |
| 74 | bits = <0 4>; |
| 75 | }; |
| 76 | usb_hs_i0: trim@56,0 { |
| 77 | reg = <0x56 1>; |
| 78 | bits = <0 4>; |
| 79 | }; |
| 80 | usb_hs_i2: trim@5a,0 { |
| 81 | reg = <0x5a 1>; |
| 82 | bits = <0 4>; |
| 83 | }; |
| 84 | }; |