^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) = UniPhier eFuse device tree bindings =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) This UniPhier eFuse must be under soc-glue.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - compatible: should be "socionext,uniphier-efuse"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - reg: should contain the register location and length
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) = Data cells =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Are child nodes of efuse, bindings of which as described in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) bindings/nvmem/nvmem.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) soc-glue@5f900000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) compatible = "socionext,uniphier-ld20-soc-glue-debug",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) "simple-mfd";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #size-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) ranges = <0x0 0x5f900000 0x2000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) efuse@100 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) compatible = "socionext,uniphier-efuse";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) reg = <0x100 0x28>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) efuse@200 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) compatible = "socionext,uniphier-efuse";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) reg = <0x200 0x68>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #size-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) /* Data cells */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) usb_mon: usb-mon@54 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) reg = <0x54 0xc>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) = Data consumers =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Are device nodes which consume nvmem data cells.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) usb {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) nvmem-cells = <&usb_mon>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) nvmem-cell-names = "usb_mon";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) }