/third_party/uboot/u-boot-2020.01/board/gdsys/p1022/ |
D | controlcenterd.c | 76 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO3_ADDR); in board_early_init_f() local 112 setbits_be32(&pgpio->gpdir, 0x00200000); in board_early_init_f() 113 clrbits_be32(&pgpio->gpdat, 0x00200000); in board_early_init_f() 115 setbits_be32(&pgpio->gpdat, 0x00200000); in board_early_init_f() 117 clrbits_be32(&pgpio->gpdat, 0x00200000); in board_early_init_f() 123 setbits_be32(&pgpio->gpdir, 0x00100000); in board_early_init_f() 124 clrbits_be32(&pgpio->gpdat, 0x00100000); in board_early_init_f() 129 setbits_be32(&pgpio->gpdir, 0x00000400); in board_early_init_f() 217 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO3_ADDR); in hw_watchdog_reset() local 219 clrbits_be32(&pgpio->gpdat, 0x00000400); in hw_watchdog_reset() [all …]
|
/third_party/uboot/u-boot-2020.01/board/freescale/t102xrdb/ |
D | t102xrdb.c | 229 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_mmc_getcd() local 230 u32 val = in_be32(&pgpio->gpdat); in board_mmc_getcd() 240 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_mmc_getwp() local 241 u32 val = in_be32(&pgpio->gpdat); in board_mmc_getwp() 250 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in t1023rdb_ctrl() local 257 val = in_be32(&pgpio->gpdat); in t1023rdb_ctrl() 259 out_be32(&pgpio->gpdat, val); in t1023rdb_ctrl() 260 setbits_be32(&pgpio->gpdir, GPIO1_SD_SEL); in t1023rdb_ctrl() 263 val = in_be32(&pgpio->gpdat); in t1023rdb_ctrl() 265 out_be32(&pgpio->gpdat, val); in t1023rdb_ctrl() [all …]
|
D | spl.c | 39 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_mmc_getcd() local 40 u32 val = in_be32(&pgpio->gpdat); in board_mmc_getcd() 50 ccsr_gpio_t __iomem *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_mmc_getwp() local 51 u32 val = in_be32(&pgpio->gpdat); in board_mmc_getwp()
|
/third_party/uboot/u-boot-2020.01/board/freescale/ls1012afrdm/ |
D | eth.c | 31 struct ccsr_gpio *pgpio = (void *)(GPIO1_BASE_ADDR); in ls1012afrdm_reset_phy() local 33 setbits_be32(&pgpio->gpdir, MASK_ETH_PHY_RST); in ls1012afrdm_reset_phy() 35 val = in_be32(&pgpio->gpdat); in ls1012afrdm_reset_phy() 36 setbits_be32(&pgpio->gpdat, val & ~MASK_ETH_PHY_RST); in ls1012afrdm_reset_phy() 39 val = in_be32(&pgpio->gpdat); in ls1012afrdm_reset_phy() 40 setbits_be32(&pgpio->gpdat, val | MASK_ETH_PHY_RST); in ls1012afrdm_reset_phy()
|
D | ls1012afrdm.c | 31 struct ccsr_gpio *pgpio = (void *)(GPIO2_BASE_ADDR); in get_board_version() local 33 val = in_be32(&pgpio->gpdat) & BOARD_REV_MASK;/*Get GPIO2 11,12,14*/ in get_board_version()
|
/third_party/uboot/u-boot-2020.01/board/freescale/ls1046afrwy/ |
D | ls1046afrwy.c | 54 struct ccsr_gpio *pgpio = (void *)(GPIO3_BASE_ADDR); in demux_select_usb2() local 56 val = in_be32(&pgpio->gpdir); in demux_select_usb2() 58 out_be32(&pgpio->gpdir, val); in demux_select_usb2() 60 val = in_be32(&pgpio->gpdat); in demux_select_usb2() 62 out_be32(&pgpio->gpdat, val); in demux_select_usb2() 91 struct ccsr_gpio *pgpio = (void *)(GPIO2_BASE_ADDR); in get_board_version() local 93 val = (in_le32(&pgpio->gpdat) >> BOARD_REV_GPIO) & 0x03; in get_board_version()
|
/third_party/uboot/u-boot-2020.01/board/freescale/p1_p2_rdb_pc/ |
D | p1_p2_rdb_pc.c | 171 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_gpio_init() 181 setbits_be32(&pgpio->gpdir, 0x02130000); in board_gpio_init() 184 setbits_be32(&pgpio->gpdir, 0x00200000); in board_gpio_init() 185 setbits_be32(&pgpio->gpodr, 0x00200000); in board_gpio_init() 186 clrbits_be32(&pgpio->gpdat, 0x00200000); in board_gpio_init() 188 setbits_be32(&pgpio->gpdat, 0x00200000); in board_gpio_init() 190 clrbits_be32(&pgpio->gpdir, 0x00200000); in board_gpio_init() 195 setbits_be32(&pgpio->gpdir, 0x00080000); in board_gpio_init() 196 setbits_be32(&pgpio->gpdat, 0x00080000); in board_gpio_init() 201 setbits_be32(&pgpio->gpdir, 0x00040000); in board_gpio_init() [all …]
|
/third_party/uboot/u-boot-2020.01/board/varisys/cyrus/ |
D | cyrus.c | 41 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_early_init_f() local 51 setbits_be32(&pgpio->gpdat, GPIO_INITIAL); in board_early_init_f() 52 setbits_be32(&pgpio->gpodr, GPIO_OPENDRAIN); in board_early_init_f() 55 setbits_be32(&pgpio->gpdir, GPIO_DIR); in board_early_init_f()
|
/third_party/uboot/u-boot-2020.01/board/freescale/corenet_ds/ |
D | eth_p4080.c | 150 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in p4080ds_mux_mdio() local 151 uint gpioval = in_be32(&pgpio->gpdat) & ~(EMI_MASK); in p4080ds_mux_mdio() 154 out_be32(&pgpio->gpdat, gpioval); in p4080ds_mux_mdio() 291 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_eth_init() local 302 out_be32(&pgpio->gpdir, EMI_MASK); in board_eth_init()
|
/third_party/uboot/u-boot-2020.01/board/freescale/p1010rdb/ |
D | p1010rdb.c | 80 ccsr_gpio_t *pgpio = (void *)(CONFIG_SYS_MPC85xx_GPIO_ADDR); in board_early_init_f() local 87 setbits_be32(&pgpio->gpdir, GPIO4_PCIE_RESET_SET); in board_early_init_f() 88 setbits_be32(&pgpio->gpdat, GPIO4_PCIE_RESET_SET); in board_early_init_f()
|