diff options
author | 2018-04-02 12:47:22 +0000 | |
---|---|---|
committer | 2018-04-02 12:47:22 +0000 | |
commit | 1c0f189f2503bd01ea2e4fdc3fd1d55e15d78867 (patch) | |
tree | 309b33418c81dd68e73a5e2b55d1f7620fb45fc6 /sys | |
parent | enable snooping on Intel Apollo Lake HD Audio, pt out & ok jsg (diff) | |
download | wireguard-openbsd-1c0f189f2503bd01ea2e4fdc3fd1d55e15d78867.tar.xz wireguard-openbsd-1c0f189f2503bd01ea2e4fdc3fd1d55e15d78867.zip |
Remove I2C iomux descriptions from the time before we set those up
using the device tree.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/armv7/imx/imxiomuxc.c | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/sys/arch/armv7/imx/imxiomuxc.c b/sys/arch/armv7/imx/imxiomuxc.c index 0842f16418e..3ecfa863ee2 100644 --- a/sys/arch/armv7/imx/imxiomuxc.c +++ b/sys/arch/armv7/imx/imxiomuxc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imxiomuxc.c,v 1.9 2018/03/30 20:10:00 patrick Exp $ */ +/* $OpenBSD: imxiomuxc.c,v 1.10 2018/04/02 12:47:22 patrick Exp $ */ /* * Copyright (c) 2013 Patrick Wildt <patrick@blueri.se> * Copyright (c) 2016 Mark Kettenis <kettenis@openbsd.org> @@ -52,37 +52,6 @@ #define IOMUXC_GPR13_SATA_PHY_8_30DB (0x05 << 24) #define IOMUXC_GPR13_SATA_MASK 0x07FFFFFD -#define IOMUXC_PAD_CTL_SRE_SLOW (1 << 0) -#define IOMUXC_PAD_CTL_SRE_FAST (1 << 0) -#define IOMUXC_PAD_CTL_DSE_HIZ (0 << 3) -#define IOMUXC_PAD_CTL_DSE_240OHM (1 << 3) -#define IOMUXC_PAD_CTL_DSE_120OHM (2 << 3) -#define IOMUXC_PAD_CTL_DSE_80OHM (3 << 3) -#define IOMUXC_PAD_CTL_DSE_60OHM (4 << 3) -#define IOMUXC_PAD_CTL_DSE_48OHM (5 << 3) -#define IOMUXC_PAD_CTL_DSE_40OHM (6 << 3) -#define IOMUXC_PAD_CTL_DSE_34OHM (7 << 3) -#define IOMUXC_PAD_CTL_SPEED_TBD (0 << 6) -#define IOMUXC_PAD_CTL_SPEED_LOW (1 << 6) -#define IOMUXC_PAD_CTL_SPEED_MED (2 << 6) -#define IOMUXC_PAD_CTL_SPEED_MAX (3 << 6) -#define IOMUXC_PAD_CTL_ODE_DISABLED (0 << 11) -#define IOMUXC_PAD_CTL_ODE_ENABLED (1 << 11) -#define IOMUXC_PAD_CTL_PKE_DISABLED (0 << 12) -#define IOMUXC_PAD_CTL_PKE_ENABLED (1 << 12) -#define IOMUXC_PAD_CTL_PUE_KEEP (0 << 13) -#define IOMUXC_PAD_CTL_PUE_PULL (1 << 13) -#define IOMUXC_PAD_CTL_PUS_100K_OHM_PD (0 << 14) -#define IOMUXC_PAD_CTL_PUS_47K_OHM_PU (1 << 14) -#define IOMUXC_PAD_CTL_PUS_100K_OHM_PU (2 << 14) -#define IOMUXC_PAD_CTL_PUS_22K_OHM_PU (3 << 14) -#define IOMUXC_PAD_CTL_HYS_DISABLED (0 << 16) -#define IOMUXC_PAD_CTL_HYS_ENABLED (1 << 16) - -#define IOMUXC_IMX6Q_I2C_PAD_CTRL (IOMUXC_PAD_CTL_SRE_FAST | IOMUXC_PAD_CTL_ODE_ENABLED | \ - IOMUXC_PAD_CTL_PKE_ENABLED | IOMUXC_PAD_CTL_PUE_PULL | IOMUXC_PAD_CTL_DSE_40OHM | \ - IOMUXC_PAD_CTL_PUS_100K_OHM_PU | IOMUXC_PAD_CTL_HYS_ENABLED | IOMUXC_PAD_CTL_SPEED_MED) - #define IOMUX_CONFIG_SION (1 << 4) #define IMX_PINCTRL_NO_PAD_CTL (1 << 31) |