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/amlogic,meson-gxbb-efuse.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Amlogic Meson GX eFuse |
| 8 | |
| 9 | maintainers: |
| 10 | - Neil Armstrong <neil.armstrong@linaro.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: nvmem.yaml# |
| 14 | - $ref: nvmem-deprecated-cells.yaml# |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | oneOf: |
| 19 | - const: amlogic,meson-gxbb-efuse |
| 20 | - items: |
| 21 | - const: amlogic,meson-gx-efuse |
| 22 | - const: amlogic,meson-gxbb-efuse |
| 23 | |
| 24 | clocks: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | secure-monitor: |
| 28 | description: phandle to the secure-monitor node |
| 29 | $ref: /schemas/types.yaml#/definitions/phandle |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - clocks |
| 34 | - secure-monitor |
| 35 | |
| 36 | unevaluatedProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | efuse: efuse { |
| 41 | compatible = "amlogic,meson-gxbb-efuse"; |
| 42 | clocks = <&clk_efuse>; |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <1>; |
| 45 | secure-monitor = <&sm>; |
| 46 | |
| 47 | sn: sn@14 { |
| 48 | reg = <0x14 0x10>; |
| 49 | }; |
| 50 | |
| 51 | eth_mac: mac@34 { |
| 52 | reg = <0x34 0x10>; |
| 53 | }; |
| 54 | |
| 55 | bid: bid@46 { |
| 56 | reg = <0x46 0x30>; |
| 57 | }; |
| 58 | }; |