Home
last modified time | relevance | path

Searched full:iim (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/linux/drivers/nvmem/
H A Dimx-iim.c3 * i.MX IIM driver
7 * Based on the barebox iim driver,
35 struct iim_priv *iim = context; in imx_iim_read() local
39 ret = clk_prepare_enable(iim->clk); in imx_iim_read()
47 *buf8++ = readl(iim->base + IIM_BANK_BASE(bank) + reg * 4); in imx_iim_read()
50 clk_disable_unprepare(iim->clk); in imx_iim_read()
73 .compatible = "fsl,imx25-iim",
76 .compatible = "fsl,imx27-iim",
79 .compatible = "fsl,imx31-iim",
82 .compatible = "fsl,imx35-iim",
[all …]
H A DMakefile17 obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o
18 nvmem-imx-iim-y := imx-iim.o
H A DKconfig67 This is a driver for the IC Identification Module (IIM) available on
72 will be called nvmem-imx-iim.
/openbmc/linux/Documentation/devicetree/bindings/nvmem/
H A Dimx-iim.yaml4 $id: http://devicetree.org/schemas/nvmem/imx-iim.yaml#
7 title: Freescale i.MX IC Identification Module (IIM)
13 This binding represents the IC Identification Module (IIM) found on
22 - fsl,imx25-iim
23 - fsl,imx27-iim
24 - fsl,imx31-iim
25 - fsl,imx35-iim
26 - fsl,imx51-iim
27 - fsl,imx53-iim
50 iim: efuse@63f98000 {
[all …]
/openbmc/linux/arch/arm/mach-imx/
H A Dcpu-imx31.c14 #include "iim.h"
40 np = of_find_compatible_node(NULL, NULL, "fsl,imx31-iim"); in mx31_read_cpu_rev()
45 /* read SREV register from IIM module */ in mx31_read_cpu_rev()
H A Dcpu-imx35.c12 #include "iim.h"
22 np = of_find_compatible_node(NULL, NULL, "fsl,imx35-iim"); in mx35_read_cpu_rev()
H A Dcpu-imx25.c13 #include "iim.h"
24 np = of_find_compatible_node(NULL, NULL, "fsl,imx25-iim"); in mx25_read_cpu_rev()
H A Dcpu-imx5.c43 u32 rev = imx5_read_srev_reg("fsl,imx51-iim"); in get_mx51_srev()
89 u32 rev = imx5_read_srev_reg("fsl,imx53-iim"); in get_mx53_srev()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx25/
H A Dgeneric.c157 /* read SREV register from IIM module */ in get_cpu_rev()
158 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_cpu_rev() local
159 srev = readl(&iim->iim_srev); in get_cpu_rev()
261 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in imx_get_mac_from_fuse() local
262 struct fuse_bank *bank = &iim->bank[0]; in imx_get_mac_from_fuse()
/openbmc/u-boot/board/armadeus/apf27/
H A Dapf27.c35 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
37 return readl(&iim->bank[1].fuse_regs[8]); in get_board_rev()
49 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_num_ram_bank() local
53 nr_dram_banks += readl(&iim->bank[1].fuse_regs[9]) & 0x01; in get_num_ram_bank()
/openbmc/u-boot/arch/arm/cpu/arm1136/mx31/
H A Dgeneric.c171 /* read SREV register from IIM module */ in get_cpu_rev()
172 struct iim_regs *iim = (struct iim_regs *)MX31_IIM_BASE_ADDR; in get_cpu_rev() local
173 srev = readl(&iim->iim_srev); in get_cpu_rev()
/openbmc/u-boot/drivers/misc/
H A Dfsl_iim.c6 * Based on the mpc512x iim code:
20 /* FSL IIM-specific constants */
77 /* IIM control registers */
/openbmc/u-boot/arch/arm/mach-imx/mx5/
H A Dsoc.c77 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in imx_get_mac_from_fuse() local
78 struct fuse_bank *bank = &iim->bank[1]; in imx_get_mac_from_fuse()
/openbmc/linux/drivers/soc/imx/
H A Dsoc-imx.c78 ocotp_compat = "fsl,imx51-iim"; in imx_soc_device_init()
82 ocotp_compat = "fsl,imx53-iim"; in imx_soc_device_init()
/openbmc/u-boot/include/
H A Dfuse.h6 * Based on the mpc512x iim code:
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx31.dtsi220 iim: efuse@5001c000 { label
221 compatible = "fsl,imx31-iim", "fsl,imx27-iim";
H A Dimx51.dtsi478 iim: efuse@83f98000 { label
479 compatible = "fsl,imx51-iim", "fsl,imx27-iim", "syscon";
/openbmc/u-boot/doc/
H A DREADME.fsl_iim1 Driver implementing the fuse API for Freescale's IC Identification Module (IIM)
/openbmc/u-boot/board/beckhoff/mx53cx9020/
H A Dmx53cx9020.c63 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
64 struct fuse_bank *bank = &iim->bank[0]; in get_board_rev()
/openbmc/u-boot/board/freescale/mx53loco/
H A Dmx53loco.c35 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
36 struct fuse_bank *bank = &iim->bank[0]; in get_board_rev()
/openbmc/linux/arch/ia64/include/asm/native/
H A Dinst.h27 mov reg = cr.iim
/openbmc/linux/arch/ia64/kernel/
H A Dtraps.c417 unsigned long iim, unsigned long itir, long arg5, long arg6, in ia64_fault() argument
597 printk(KERN_ERR " iip - 0x%lx, ifa - 0x%lx, isr - 0x%lx, iim - 0x%lx\n", in ia64_fault()
598 iip, ifa, isr, iim); in ia64_fault()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dgeneric.c332 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in imx_get_mac_from_fuse() local
333 struct fuse_bank *bank = &iim->bank[0]; in imx_get_mac_from_fuse()
/openbmc/u-boot/board/inversepath/usbarmory/
H A Dusbarmory.c27 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
28 struct fuse_bank *bank = &iim->bank[0]; in get_board_rev()
/openbmc/u-boot/cmd/
H A Dfuse.c6 * Based on the mpc512x iim code:

12