70907fd5ed
On newer SoCs, the eFuse hardware can require a power-domain to operate, add it as optional. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Acked-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20240705074852.423202-8-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
62 lines
1.2 KiB
YAML
62 lines
1.2 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/nvmem/amlogic,meson-gxbb-efuse.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Amlogic Meson GX eFuse
|
|
|
|
maintainers:
|
|
- Neil Armstrong <neil.armstrong@linaro.org>
|
|
|
|
allOf:
|
|
- $ref: nvmem.yaml#
|
|
- $ref: nvmem-deprecated-cells.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- const: amlogic,meson-gxbb-efuse
|
|
- items:
|
|
- const: amlogic,meson-gx-efuse
|
|
- const: amlogic,meson-gxbb-efuse
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
secure-monitor:
|
|
description: phandle to the secure-monitor node
|
|
$ref: /schemas/types.yaml#/definitions/phandle
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- clocks
|
|
- secure-monitor
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
efuse: efuse {
|
|
compatible = "amlogic,meson-gxbb-efuse";
|
|
clocks = <&clk_efuse>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
secure-monitor = <&sm>;
|
|
|
|
sn: sn@14 {
|
|
reg = <0x14 0x10>;
|
|
};
|
|
|
|
eth_mac: mac@34 {
|
|
reg = <0x34 0x10>;
|
|
};
|
|
|
|
bid: bid@46 {
|
|
reg = <0x46 0x30>;
|
|
};
|
|
};
|