imx: iomux: fix snvs usage for i.MX6ULL
authorPeng Fan <van.freenix@gmail.com>
Thu, 11 Aug 2016 06:02:51 +0000 (14:02 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Oct 2016 13:41:01 +0000 (15:41 +0200)
commit07e1c0ae83faff57477392be87734128db5e1b14
tree84d433be88cbd55b97ca541a199eed599ea57435
parent5b66482d44b4e9571c64285254a43bdfe9ed1262
imx: iomux: fix snvs usage for i.MX6ULL

SNVS TAMPER pin and BOOT MODE pins are in SNVS IOMUXC module,
not in IOMUXC, so correct the related registers' offset.

Use IOMUX_CONFIG_LPSR flag for these pins, so we can differentiate
them from iomuxc pins.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: "Benoît Thébaudeau" <benoit.thebaudeau.dev@gmail.com>
arch/arm/imx-common/iomux-v3.c
arch/arm/include/asm/arch-mx6/imx-regs.h
arch/arm/include/asm/imx-common/iomux-v3.h