/openbmc/linux/drivers/nvmem/ |
H A D | Makefile | 13 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 D | vf610-ocotp.c | 149 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 D | Kconfig | 52 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 D | soc-imx.c | 32 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 D | brcm,ocotp.txt | 4 - 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 D | vf610-ocotp.txt | 5 - "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 D | cpu.c | 354 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 D | mach-mxs.c | 164 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 D | soc.c | 133 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 D | soc.c | 125 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 D | opos6ul.c | 236 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 D | imx6ull.dtsi | 34 &ocotp { 35 compatible = "fsl,imx6ull-ocotp", "syscon";
|
H A D | imx7ulp.dtsi | 458 ocotp: efuse@410a6000 { label 459 compatible = "fsl,imx7ulp-ocotp", "syscon";
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8dxl.dtsi | 146 ocotp: ocotp { label 147 compatible = "fsl,imx8qxp-scu-ocotp";
|
H A D | imx8qxp.dtsi | 227 ocotp: ocotp { label 228 compatible = "fsl,imx8qxp-scu-ocotp";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | fsl-imx8mq.dtsi | 252 ocotp: ocotp-ctrl@30350000 { label 253 compatible = "fsl,imx8mq-ocotp", "fsl,imx7d-ocotp", "syscon";
|
H A D | imx6sll.dtsi | 529 fsl,tempmon-data = <&ocotp>; 817 ocotp: ocotp-ctrl@021bc000 { label 818 compatible = "fsl,imx6sll-ocotp", "syscon";
|
H A D | imx6sl.dtsi | 619 fsl,tempmon-data = <&ocotp>; 914 ocotp: ocotp@021bc000 { label 915 compatible = "fsl,imx6sl-ocotp", "syscon";
|
H A D | imx6qdl.dtsi | 78 fsl,tempmon-data = <&ocotp>; 1135 ocotp: ocotp@21bc000 { label 1136 compatible = "fsl,imx6q-ocotp", "syscon";
|
H A D | imx6ull.dtsi | 691 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 D | generic.c | 257 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 D | vfxxx.dtsi | 492 ocotp: ocotp@400a5000 { label 493 compatible = "fsl,vf610-ocotp", "syscon";
|
/openbmc/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx23.dtsi | 444 compatible = "fsl,imx23-ocotp", "fsl,ocotp";
|
H A D | imx28-m28cu3.dts | 162 &ocotp {
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm-cygnus.dtsi | 109 compatible = "brcm,ocotp"; 111 brcm,ocotp-size = <2048>;
|