xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/brcm,ocotp.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBroadcom OTP memory controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired Properties:
4*c66ec88fSEmmanuel Vadot- compatible: "brcm,ocotp" for the first generation Broadcom OTPC which is used
5*c66ec88fSEmmanuel Vadot  in Cygnus and supports 32 bit read/write. Use "brcm,ocotp-v2" for the second
6*c66ec88fSEmmanuel Vadot  generation Broadcom OTPC which is used in SoC's such as Stingray and supports
7*c66ec88fSEmmanuel Vadot  64-bit read/write.
8*c66ec88fSEmmanuel Vadot- reg: Base address of the OTP controller.
9*c66ec88fSEmmanuel Vadot- brcm,ocotp-size: Amount of memory available, in 32 bit words
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotExample:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadototp: otp@301c800 {
14*c66ec88fSEmmanuel Vadot	compatible = "brcm,ocotp";
15*c66ec88fSEmmanuel Vadot	reg = <0x0301c800 0x2c>;
16*c66ec88fSEmmanuel Vadot	brcm,ocotp-size = <2048>;
17*c66ec88fSEmmanuel Vadot};
18