Home
last modified time | relevance | path

Searched refs:MVEBU_GPIO0_BASE (Results 1 – 15 of 15) sorted by relevance

/openbmc/u-boot/arch/arm/mach-kirkwood/include/mach/
H A Dgpio.h19 #define GPIO_OUT(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x00)
20 #define GPIO_IO_CONF(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x04)
21 #define GPIO_BLINK_EN(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x08)
22 #define GPIO_IN_POL(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x0c)
23 #define GPIO_DATA_IN(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x10)
24 #define GPIO_EDGE_CAUSE(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x14)
25 #define GPIO_EDGE_MASK(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x18)
26 #define GPIO_LEVEL_MASK(pin) (MVEBU_GPIO0_BASE + GPIO_OFF(pin) + 0x1c)
H A Dsoc.h29 #define MVEBU_GPIO0_BASE (KW_REGISTER(0x10100)) macro
/openbmc/u-boot/board/solidrun/clearfog/
H A Dclearfog.c93 writel(BOARD_GPP_OUT_VAL_LOW, MVEBU_GPIO0_BASE + 0x00); in board_early_init_f()
97 writel(BOARD_GPP_POL_LOW, MVEBU_GPIO0_BASE + 0x0c); in board_early_init_f()
101 writel(BOARD_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04); in board_early_init_f()
116 clrbits_le32(MVEBU_GPIO0_BASE + 0x0, BIT(19)); in board_init()
117 clrbits_le32(MVEBU_GPIO0_BASE + 0x4, BIT(19)); in board_init()
120 setbits_le32(MVEBU_GPIO0_BASE + 0x0, BIT(19)); in board_init()
/openbmc/u-boot/board/alliedtelesis/SBx81LIFKW/
H A Dsbx81lifkw.c45 MVEBU_GPIO0_BASE,
51 MVEBU_GPIO0_BASE,
57 MVEBU_GPIO0_BASE,
63 MVEBU_GPIO0_BASE,
/openbmc/u-boot/board/Marvell/db-88f6720/
H A Ddb-88f6720.c54 writel(DB_88F6720_GPP_OUT_VAL_LOW, MVEBU_GPIO0_BASE + 0x00); in board_early_init_f()
59 writel(DB_88F6720_GPP_POL_LOW, MVEBU_GPIO0_BASE + 0x0c); in board_early_init_f()
64 writel(DB_88F6720_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04); in board_early_init_f()
/openbmc/u-boot/board/kobol/helios4/
H A Dhelios4.c94 writel(BOARD_GPP_OUT_VAL_LOW, MVEBU_GPIO0_BASE + 0x00); in board_early_init_f()
98 writel(BOARD_GPP_POL_LOW, MVEBU_GPIO0_BASE + 0x0c); in board_early_init_f()
102 writel(BOARD_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04); in board_early_init_f()
/openbmc/u-boot/board/Marvell/db-88f6820-amc/
H A Ddb-88f6820-amc.c95 writel(DB_AMC_88F68XX_GPP_OUT_VAL_LOW, MVEBU_GPIO0_BASE + 0x00); in board_early_init_f()
99 writel(DB_AMC_88F68XX_GPP_POL_LOW, MVEBU_GPIO0_BASE + 0x0c); in board_early_init_f()
103 writel(DB_AMC_88F68XX_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04); in board_early_init_f()
/openbmc/u-boot/board/Marvell/db-88f6820-gp/
H A Ddb-88f6820-gp.c116 writel(DB_GP_88F68XX_GPP_OUT_VAL_LOW, MVEBU_GPIO0_BASE + 0x00); in board_early_init_f()
120 writel(DB_GP_88F68XX_GPP_POL_LOW, MVEBU_GPIO0_BASE + 0x0c); in board_early_init_f()
124 writel(DB_GP_88F68XX_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04); in board_early_init_f()
/openbmc/u-boot/board/gdsys/a38x/
H A Dcontrolcenterdc.c156 writel(DB_GP_88F68XX_GPP_OUT_VAL_LOW, MVEBU_GPIO0_BASE + 0x00); in board_early_init_f()
160 writel(DB_GP_88F68XX_GPP_POL_LOW, MVEBU_GPIO0_BASE + 0x0c); in board_early_init_f()
164 writel(DB_GP_88F68XX_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04); in board_early_init_f()
/openbmc/u-boot/board/Marvell/db-mv784mp-gp/
H A Ddb-mv784mp-gp.c58 writel(RD_78460_GP_GPP_OUT_VAL_LOW, MVEBU_GPIO0_BASE + 0x00); in board_early_init_f()
59 writel(RD_78460_GP_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04); in board_early_init_f()
/openbmc/u-boot/board/theadorable/
H A Dtheadorable.c155 writel(THEADORABLE_GPP_OUT_VAL_LOW, MVEBU_GPIO0_BASE + 0x00); in board_early_init_f()
156 writel(THEADORABLE_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04); in board_early_init_f()
/openbmc/u-boot/arch/arm/mach-mvebu/
H A Dgpio.c20 (struct kwgpio_registers *)MVEBU_GPIO0_BASE; in mvebu_config_gpio()
/openbmc/u-boot/board/CZ.NIC/turris_omnia/
H A Dturris_omnia.c313 writel(OMNIA_GPP_OUT_VAL_LOW, MVEBU_GPIO0_BASE + 0x00); in board_early_init_f()
317 writel(OMNIA_GPP_POL_LOW, MVEBU_GPIO0_BASE + 0x0c); in board_early_init_f()
321 writel(OMNIA_GPP_OUT_ENA_LOW, MVEBU_GPIO0_BASE + 0x04); in board_early_init_f()
/openbmc/u-boot/board/keymile/km_arm/
H A Dkm_arm.c247 tmp = readl(MVEBU_GPIO0_BASE + 4); in board_early_init_f()
248 writel(tmp & (~KM_KIRKWOOD_SOFT_I2C_GPIOS) , MVEBU_GPIO0_BASE + 4); in board_early_init_f()
/openbmc/u-boot/arch/arm/mach-mvebu/include/mach/
H A Dsoc.h62 #define MVEBU_GPIO0_BASE (MVEBU_REGISTER(0x18100)) macro