Home
last modified time | relevance | path

Searched refs:ocotp (Results 1 – 25 of 49) sorted by relevance

12

/openbmc/linux/drivers/nvmem/
H A DMakefile13 obj-$(CONFIG_NVMEM_BCM_OCOTP) += nvmem-bcm-ocotp.o
14 nvmem-bcm-ocotp-y := bcm-ocotp.o
19 obj-$(CONFIG_NVMEM_IMX_OCOTP) += nvmem-imx-ocotp.o
20 nvmem-imx-ocotp-y := imx-ocotp.o
21 obj-$(CONFIG_NVMEM_IMX_OCOTP_ELE) += nvmem-imx-ocotp-ele.o
22 nvmem-imx-ocotp-ele-y := imx-ocotp-ele.o
23 obj-$(CONFIG_NVMEM_IMX_OCOTP_SCU) += nvmem-imx-ocotp-scu.o
24 nvmem-imx-ocotp-scu-y := imx-ocotp-scu.o
43 obj-$(CONFIG_NVMEM_MXS_OCOTP) += nvmem-mxs-ocotp.o
44 nvmem-mxs-ocotp-y := mxs-ocotp.o
[all …]
H A Dvf610-ocotp.c149 struct vf610_ocotp *ocotp = context; in vf610_ocotp_read() local
150 void __iomem *base = ocotp->base; in vf610_ocotp_read()
158 writel(ocotp->timing, base + OCOTP_TIMING); in vf610_ocotp_read()
176 dev_dbg(ocotp->dev, "Error reading from fuse address %x\n", in vf610_ocotp_read()
H A DKconfig52 will be called nvmem-bcm-ocotp.
84 will be called nvmem-imx-ocotp.
204 will be called nvmem-mxs-ocotp.
350 will be called nvmem-sunplus-ocotp.
396 be called nvmem-vf610-ocotp.
/openbmc/linux/drivers/soc/imx/
H A Dsoc-imx.c32 struct regmap *ocotp = NULL; in imx_soc_device_init() local
147 ocotp = syscon_regmap_lookup_by_compatible(ocotp_compat); in imx_soc_device_init()
148 if (IS_ERR(ocotp)) in imx_soc_device_init()
152 if (!IS_ERR_OR_NULL(ocotp)) { in imx_soc_device_init()
154 regmap_read(ocotp, OCOTP_ULP_UID_4, &val); in imx_soc_device_init()
156 regmap_read(ocotp, OCOTP_ULP_UID_3, &val); in imx_soc_device_init()
159 regmap_read(ocotp, OCOTP_ULP_UID_2, &val); in imx_soc_device_init()
162 regmap_read(ocotp, OCOTP_ULP_UID_1, &val); in imx_soc_device_init()
168 regmap_read(ocotp, IIM_UID + i*4, &val); in imx_soc_device_init()
173 regmap_read(ocotp, OCOTP_UID_H, &val); in imx_soc_device_init()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/nvmem/
H A Dbrcm,ocotp.txt4 - compatible: "brcm,ocotp" for the first generation Broadcom OTPC which is used
5 in Cygnus and supports 32 bit read/write. Use "brcm,ocotp-v2" for the second
9 - brcm,ocotp-size: Amount of memory available, in 32 bit words
14 compatible = "brcm,ocotp";
16 brcm,ocotp-size = <2048>;
H A Dvf610-ocotp.txt5 - "fsl,vf610-ocotp", "syscon" for VF5xx/VF6xx
13 ocotp: ocotp@400a5000 {
14 compatible = "fsl,vf610-ocotp", "syscon";
/openbmc/u-boot/arch/arm/mach-imx/
H A Dcpu.c354 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_cpu_speed_grade_hz() local
355 struct fuse_bank *bank = &ocotp->bank[1]; in get_cpu_speed_grade_hz()
386 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_cpu_temp_grade() local
387 struct fuse_bank *bank = &ocotp->bank[1]; in get_cpu_temp_grade()
466 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in nxp_board_rev() local
467 struct fuse_bank *bank = &ocotp->bank[4]; in nxp_board_rev()
/openbmc/linux/arch/arm/mach-mxs/
H A Dmach-mxs.c164 const u32 *ocotp = mxs_get_ocotp(); in update_fec_mac_prop() local
223 val = ocotp[i]; in update_fec_mac_prop()
385 const u32 *ocotp = mxs_get_ocotp(); in mxs_machine_init() local
404 soc_uid = system_serial_low = ocotp[HW_OCOTP_OPS3]; in mxs_machine_init()
406 soc_uid = system_serial_high = ocotp[HW_OCOTP_OPS2]; in mxs_machine_init()
408 system_serial_low = ocotp[HW_OCOTP_OPS3]; in mxs_machine_init()
/openbmc/u-boot/arch/arm/mach-imx/mx7/
H A Dsoc.c133 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in is_mx7d() local
134 struct fuse_bank *bank = &ocotp->bank[1]; in is_mx7d()
333 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_board_serial() local
334 struct fuse_bank *bank = &ocotp->bank[0]; in get_board_serial()
/openbmc/u-boot/arch/arm/mach-imx/mx6/
H A Dsoc.c125 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_cpu_speed_grade_hz() local
126 struct fuse_bank *bank = &ocotp->bank[0]; in get_cpu_speed_grade_hz()
184 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in get_cpu_temp_grade() local
185 struct fuse_bank *bank = &ocotp->bank[1]; in get_cpu_temp_grade()
329 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in init_bandgap() local
330 struct fuse_bank *bank = &ocotp->bank[1]; in init_bandgap()
H A Dopos6ul.c236 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in spl_dram_init() local
237 struct fuse_bank *bank = &ocotp->bank[4]; in spl_dram_init()
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull.dtsi34 &ocotp {
35 compatible = "fsl,imx6ull-ocotp", "syscon";
H A Dimx7ulp.dtsi458 ocotp: efuse@410a6000 { label
459 compatible = "fsl,imx7ulp-ocotp", "syscon";
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8dxl.dtsi146 ocotp: ocotp { label
147 compatible = "fsl,imx8qxp-scu-ocotp";
H A Dimx8qxp.dtsi227 ocotp: ocotp { label
228 compatible = "fsl,imx8qxp-scu-ocotp";
/openbmc/u-boot/arch/arm/dts/
H A Dfsl-imx8mq.dtsi252 ocotp: ocotp-ctrl@30350000 { label
253 compatible = "fsl,imx8mq-ocotp", "fsl,imx7d-ocotp", "syscon";
H A Dimx6sll.dtsi529 fsl,tempmon-data = <&ocotp>;
817 ocotp: ocotp-ctrl@021bc000 { label
818 compatible = "fsl,imx6sll-ocotp", "syscon";
H A Dimx6sl.dtsi619 fsl,tempmon-data = <&ocotp>;
914 ocotp: ocotp@021bc000 { label
915 compatible = "fsl,imx6sl-ocotp", "syscon";
H A Dimx6qdl.dtsi78 fsl,tempmon-data = <&ocotp>;
1135 ocotp: ocotp@21bc000 { label
1136 compatible = "fsl,imx6q-ocotp", "syscon";
H A Dimx6ull.dtsi691 fsl,tempmon-data = <&ocotp>;
971 ocotp: ocotp-ctrl@021bc000 { label
972 compatible = "fsl,imx6ull-ocotp", "syscon";
/openbmc/u-boot/arch/arm/cpu/armv7/vf610/
H A Dgeneric.c257 struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR; in imx_get_mac_from_fuse() local
258 struct fuse_bank *bank = &ocotp->bank[4]; in imx_get_mac_from_fuse()
/openbmc/linux/arch/arm/boot/dts/nxp/vf/
H A Dvfxxx.dtsi492 ocotp: ocotp@400a5000 { label
493 compatible = "fsl,vf610-ocotp", "syscon";
/openbmc/linux/arch/arm/boot/dts/nxp/mxs/
H A Dimx23.dtsi444 compatible = "fsl,imx23-ocotp", "fsl,ocotp";
H A Dimx28-m28cu3.dts162 &ocotp {
/openbmc/linux/arch/arm/boot/dts/broadcom/
H A Dbcm-cygnus.dtsi109 compatible = "brcm,ocotp";
111 brcm,ocotp-size = <2048>;

12