Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/nvmem/
H A Dimx-iim.c3 * i.MX IIM driver
7 * Based on the barebox iim driver,
36 struct iim_priv *iim = context; in imx_iim_read() local
40 ret = clk_prepare_enable(iim->clk); in imx_iim_read()
48 *buf8++ = readl(iim->base + IIM_BANK_BASE(bank) + reg * 4); in imx_iim_read()
51 clk_disable_unprepare(iim->clk); in imx_iim_read()
74 .compatible = "fsl,imx25-iim",
77 .compatible = "fsl,imx27-iim",
80 .compatible = "fsl,imx31-iim",
83 .compatible = "fsl,imx35-iim",
[all …]
H A DMakefile12 obj-$(CONFIG_NVMEM_IMX_IIM) += nvmem-imx-iim.o
13 nvmem-imx-iim-y := imx-iim.o
H A DKconfig28 This is a driver for the IC Identification Module (IIM) available on
33 will be called nvmem-imx-iim.
/OK3568_Linux_fs/kernel/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) device tree bindings
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 …]
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mx25/
H A Dgeneric.c158 /* read SREV register from IIM module */ in get_cpu_rev()
159 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_cpu_rev() local
160 srev = readl(&iim->iim_srev); in get_cpu_rev()
270 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in imx_get_mac_from_fuse() local
271 struct fuse_bank *bank = &iim->bank[0]; in imx_get_mac_from_fuse()
/OK3568_Linux_fs/kernel/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()
44 /* 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.c42 u32 rev = imx5_read_srev_reg("fsl,imx51-iim"); in get_mx51_srev()
88 u32 rev = imx5_read_srev_reg("fsl,imx53-iim"); in get_mx53_srev()
/OK3568_Linux_fs/u-boot/board/armadeus/apf27/
H A Dapf27.c36 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
38 return readl(&iim->bank[1].fuse_regs[8]); in get_board_rev()
50 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_num_ram_bank() local
54 nr_dram_banks += readl(&iim->bank[1].fuse_regs[9]) & 0x01; in get_num_ram_bank()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm1136/mx31/
H A Dgeneric.c172 /* read SREV register from IIM module */ in get_cpu_rev()
173 struct iim_regs *iim = (struct iim_regs *)MX31_IIM_BASE_ADDR; in get_cpu_rev() local
174 srev = readl(&iim->iim_srev); in get_cpu_rev()
/OK3568_Linux_fs/u-boot/drivers/misc/
H A Dfsl_iim.c5 * Based on the mpc512x iim code:
21 /* FSL IIM-specific constants */
78 /* IIM control registers */
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx5/
H A Dsoc.c78 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in imx_get_mac_from_fuse() local
79 struct fuse_bank *bank = &iim->bank[1]; in imx_get_mac_from_fuse()
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dimx31.dtsi220 iim: efuse@5001c000 { label
221 compatible = "fsl,imx31-iim", "fsl,imx27-iim";
H A Dimx51.dtsi469 iim: efuse@83f98000 { label
470 compatible = "fsl,imx51-iim", "fsl,imx27-iim";
H A Dimx25.dtsi545 iim: efuse@53ff0000 { label
546 compatible = "fsl,imx25-iim", "fsl,imx27-iim";
/OK3568_Linux_fs/u-boot/include/
H A Dfuse.h5 * Based on the mpc512x iim code:
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.fsl_iim1 Driver implementing the fuse API for Freescale's IC Identification Module (IIM)
/OK3568_Linux_fs/u-boot/board/beckhoff/mx53cx9020/
H A Dmx53cx9020.c102 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
103 struct fuse_bank *bank = &iim->bank[0]; in get_board_rev()
/OK3568_Linux_fs/kernel/arch/mips/include/asm/txx9/
H A Dtx3927.h90 volatile unsigned long iim; member
238 /* bits for ISTAT/IIM */
/OK3568_Linux_fs/u-boot/board/freescale/mx53loco/
H A Dmx53loco.c74 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
75 struct fuse_bank *bank = &iim->bank[0]; in get_board_rev()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/arch/arm/cpu/arm926ejs/mx27/
H A Dgeneric.c333 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in imx_get_mac_from_fuse() local
334 struct fuse_bank *bank = &iim->bank[0]; in imx_get_mac_from_fuse()
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/native/
H A Dinst.h27 mov reg = cr.iim
/OK3568_Linux_fs/u-boot/board/inversepath/usbarmory/
H A Dusbarmory.c28 struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE; in get_board_rev() local
29 struct fuse_bank *bank = &iim->bank[0]; in get_board_rev()

1234