amlogic,meson-gxbb-efuse.yaml 1.2 KB

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