/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/ |
H A D | at91sam9260_devices.c | 70 at91_set_a_periph(AT91_PIO_PORTA, 3, 1); in at91_spi0_hw_init() 82 at91_set_pio_output(AT91_PIO_PORTA, 3, 1); in at91_spi0_hw_init() 137 at91_set_a_periph(AT91_PIO_PORTA, 14, 0); /* ERX0 */ in at91_macb_hw_init() 138 at91_set_a_periph(AT91_PIO_PORTA, 15, 0); /* ERX1 */ in at91_macb_hw_init() 141 at91_set_a_periph(AT91_PIO_PORTA, 12, 0); /* ETX0 */ in at91_macb_hw_init() 142 at91_set_a_periph(AT91_PIO_PORTA, 13, 0); /* ETX1 */ in at91_macb_hw_init() 144 at91_set_a_periph(AT91_PIO_PORTA, 20, 0); /* EMDC */ in at91_macb_hw_init() 147 at91_set_b_periph(AT91_PIO_PORTA, 28, 0); /* ECRS */ in at91_macb_hw_init() 164 at91_set_pio_multi_drive(AT91_PIO_PORTA, 23, 0); in at91_macb_hw_init() 165 at91_set_pio_multi_drive(AT91_PIO_PORTA, 24, 0); in at91_macb_hw_init() [all …]
|
H A D | at91sam9x5_devices.c | 121 at91_pio3_set_b_periph(AT91_PIO_PORTA, 7, 0); in at91_spi0_hw_init() 123 at91_pio3_set_b_periph(AT91_PIO_PORTA, 1, 0); in at91_spi0_hw_init() 127 at91_set_pio_output(AT91_PIO_PORTA, 14, 0); in at91_spi0_hw_init() 129 at91_set_pio_output(AT91_PIO_PORTA, 7, 0); in at91_spi0_hw_init() 131 at91_set_pio_output(AT91_PIO_PORTA, 1, 0); in at91_spi0_hw_init() 145 at91_pio3_set_b_periph(AT91_PIO_PORTA, 8, 0); in at91_spi1_hw_init() 147 at91_pio3_set_b_periph(AT91_PIO_PORTA, 0, 0); in at91_spi1_hw_init() 153 at91_set_pio_output(AT91_PIO_PORTA, 8, 0); in at91_spi1_hw_init() 155 at91_set_pio_output(AT91_PIO_PORTA, 0, 0); in at91_spi1_hw_init() 157 at91_set_pio_output(AT91_PIO_PORTA, 31, 0); in at91_spi1_hw_init() [all …]
|
H A D | at91sam9n12_devices.c | 20 at91_pio3_set_a_periph(AT91_PIO_PORTA, 0, 1); /* TXD0 */ in at91_serial0_hw_init() 21 at91_pio3_set_a_periph(AT91_PIO_PORTA, 1, 0); /* RXD0 */ in at91_serial0_hw_init() 27 at91_pio3_set_a_periph(AT91_PIO_PORTA, 5, 1); /* TXD1 */ in at91_serial1_hw_init() 28 at91_pio3_set_a_periph(AT91_PIO_PORTA, 6, 0); /* RXD1 */ in at91_serial1_hw_init() 63 at91_set_pio_output(AT91_PIO_PORTA, 14, 1); in at91_spi0_hw_init() 65 at91_set_pio_output(AT91_PIO_PORTA, 7, 1); in at91_spi0_hw_init() 67 at91_set_pio_output(AT91_PIO_PORTA, 1, 1); in at91_spi0_hw_init() 81 at91_set_pio_output(AT91_PIO_PORTA, 8, 1); in at91_spi1_hw_init() 83 at91_set_pio_output(AT91_PIO_PORTA, 0, 1); in at91_spi1_hw_init() 85 at91_set_pio_output(AT91_PIO_PORTA, 31, 1); in at91_spi1_hw_init() [all …]
|
H A D | at91sam9rl_devices.c | 31 at91_set_a_periph(AT91_PIO_PORTA, 6, 1); /* TXD0 */ in at91_serial0_hw_init() 32 at91_set_a_periph(AT91_PIO_PORTA, 7, PUP); /* RXD0 */ in at91_serial0_hw_init() 38 at91_set_a_periph(AT91_PIO_PORTA, 11, 1); /* TXD1 */ in at91_serial1_hw_init() 39 at91_set_a_periph(AT91_PIO_PORTA, 12, PUP); /* RXD1 */ in at91_serial1_hw_init() 45 at91_set_a_periph(AT91_PIO_PORTA, 13, 1); /* TXD2 */ in at91_serial2_hw_init() 46 at91_set_a_periph(AT91_PIO_PORTA, 14, PUP); /* RXD2 */ in at91_serial2_hw_init() 52 at91_set_a_periph(AT91_PIO_PORTA, 21, PUP); /* DRXD */ in at91_seriald_hw_init() 53 at91_set_a_periph(AT91_PIO_PORTA, 22, 1); /* DTXD */ in at91_seriald_hw_init() 60 at91_set_a_periph(AT91_PIO_PORTA, 25, PUP); /* SPI0_MISO */ in at91_spi0_hw_init() 67 at91_set_a_periph(AT91_PIO_PORTA, 28, 1); in at91_spi0_hw_init() [all …]
|
H A D | at91sam9m10g45_devices.c | 134 at91_set_a_periph(AT91_PIO_PORTA, 12, 0); /* ERX0 */ in at91_macb_hw_init() 135 at91_set_a_periph(AT91_PIO_PORTA, 13, 0); /* ERX1 */ in at91_macb_hw_init() 138 at91_set_a_periph(AT91_PIO_PORTA, 10, 0); /* ETX0 */ in at91_macb_hw_init() 139 at91_set_a_periph(AT91_PIO_PORTA, 11, 0); /* ETX1 */ in at91_macb_hw_init() 141 at91_set_a_periph(AT91_PIO_PORTA, 18, 0); /* EMDC */ in at91_macb_hw_init() 143 at91_set_b_periph(AT91_PIO_PORTA, 29, 0); /* ECRS */ in at91_macb_hw_init() 144 at91_set_b_periph(AT91_PIO_PORTA, 30, 0); /* ECOL */ in at91_macb_hw_init() 145 at91_set_b_periph(AT91_PIO_PORTA, 8, 0); /* ERX2 */ in at91_macb_hw_init() 146 at91_set_b_periph(AT91_PIO_PORTA, 9, 0); /* ERX3 */ in at91_macb_hw_init() 148 at91_set_b_periph(AT91_PIO_PORTA, 6, 0); /* ETX2 */ in at91_macb_hw_init() [all …]
|
H A D | at91sam9263_devices.c | 35 at91_set_a_periph(AT91_PIO_PORTA, 26, 1); /* TXD0 */ in at91_serial0_hw_init() 36 at91_set_a_periph(AT91_PIO_PORTA, 27, PUP); /* RXD0 */ in at91_serial0_hw_init() 71 at91_set_b_periph(AT91_PIO_PORTA, 5, 1); in at91_spi0_hw_init() 74 at91_set_b_periph(AT91_PIO_PORTA, 3, 1); in at91_spi0_hw_init() 77 at91_set_b_periph(AT91_PIO_PORTA, 4, 1); in at91_spi0_hw_init() 83 at91_set_pio_output(AT91_PIO_PORTA, 5, 1); in at91_spi0_hw_init() 86 at91_set_pio_output(AT91_PIO_PORTA, 3, 1); in at91_spi0_hw_init() 89 at91_set_pio_output(AT91_PIO_PORTA, 4, 1); in at91_spi0_hw_init() 185 at91_set_pio_output(AT91_PIO_PORTA, 21, 0); in at91_uhp_hw_init() 186 at91_set_pio_output(AT91_PIO_PORTA, 24, 0); in at91_uhp_hw_init() [all …]
|
H A D | at91sam9261_devices.c | 67 at91_set_a_periph(AT91_PIO_PORTA, 3, 1); in at91_spi0_hw_init() 70 at91_set_a_periph(AT91_PIO_PORTA, 4, 1); in at91_spi0_hw_init() 73 at91_set_a_periph(AT91_PIO_PORTA, 5, 1); in at91_spi0_hw_init() 76 at91_set_a_periph(AT91_PIO_PORTA, 6, 1); in at91_spi0_hw_init() 79 at91_set_pio_output(AT91_PIO_PORTA, 3, 1); in at91_spi0_hw_init() 82 at91_set_pio_output(AT91_PIO_PORTA, 4, 1); in at91_spi0_hw_init() 85 at91_set_pio_output(AT91_PIO_PORTA, 5, 1); in at91_spi0_hw_init() 88 at91_set_pio_output(AT91_PIO_PORTA, 6, 1); in at91_spi0_hw_init() 104 at91_set_b_periph(AT91_PIO_PORTA, 24, 1); in at91_spi1_hw_init() 107 at91_set_b_periph(AT91_PIO_PORTA, 25, 1); in at91_spi1_hw_init() [all …]
|
/openbmc/u-boot/arch/arm/mach-at91/armv7/ |
H A D | sama5d3_devices.c | 176 at91_pio3_set_a_periph(AT91_PIO_PORTA, 24, 0); /* LCDPWM */ in at91_lcd_hw_init() 184 at91_pio3_set_a_periph(AT91_PIO_PORTA, 0, 0); /* LCDD0 */ in at91_lcd_hw_init() 185 at91_pio3_set_a_periph(AT91_PIO_PORTA, 1, 0); /* LCDD1 */ in at91_lcd_hw_init() 186 at91_pio3_set_a_periph(AT91_PIO_PORTA, 2, 0); /* LCDD2 */ in at91_lcd_hw_init() 187 at91_pio3_set_a_periph(AT91_PIO_PORTA, 3, 0); /* LCDD3 */ in at91_lcd_hw_init() 188 at91_pio3_set_a_periph(AT91_PIO_PORTA, 4, 0); /* LCDD4 */ in at91_lcd_hw_init() 189 at91_pio3_set_a_periph(AT91_PIO_PORTA, 5, 0); /* LCDD5 */ in at91_lcd_hw_init() 190 at91_pio3_set_a_periph(AT91_PIO_PORTA, 6, 0); /* LCDD6 */ in at91_lcd_hw_init() 191 at91_pio3_set_a_periph(AT91_PIO_PORTA, 7, 0); /* LCDD7 */ in at91_lcd_hw_init() 192 at91_pio3_set_a_periph(AT91_PIO_PORTA, 8, 0); /* LCDD8 */ in at91_lcd_hw_init() [all …]
|
/openbmc/u-boot/include/configs/ |
H A D | ethernut5.h | 116 #define GPIO_I2C_SCL AT91_PIO_PORTA, 24 117 #define GPIO_I2C_SDA AT91_PIO_PORTA, 23 120 at91_set_pio_periph(AT91_PIO_PORTA, 23, 0); \ 121 at91_set_pio_multi_drive(AT91_PIO_PORTA, 23, 1); \ 122 at91_set_pio_periph(AT91_PIO_PORTA, 24, 0); \ 123 at91_set_pio_output(AT91_PIO_PORTA, 24, 0); \ 124 at91_set_pio_multi_drive(AT91_PIO_PORTA, 24, 1); \ 127 #define I2C_ACTIVE at91_set_pio_output(AT91_PIO_PORTA, 23, 0) 128 #define I2C_TRISTATE at91_set_pio_input(AT91_PIO_PORTA, 23, 0) 129 #define I2C_SCL(bit) at91_set_pio_value(AT91_PIO_PORTA, 24, bit) [all …]
|
H A D | snapper9260.h | 90 at91_set_pio_multi_drive(AT91_PIO_PORTA, 23, 1); \ 91 at91_set_pio_multi_drive(AT91_PIO_PORTA, 24, 1); \ 105 #define I2C_SCL(bit) at91_set_pio_value(AT91_PIO_PORTA, 24, bit)
|
/openbmc/u-boot/board/atmel/sama5d2_ptc_ek/ |
H A D | sama5d2_ptc_ek.c | 53 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 22, ATMEL_PIO_DRVSTR_ME); /* D0 */ in board_nand_hw_init() 54 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 23, ATMEL_PIO_DRVSTR_ME); /* D1 */ in board_nand_hw_init() 55 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 24, ATMEL_PIO_DRVSTR_ME); /* D2 */ in board_nand_hw_init() 56 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 25, ATMEL_PIO_DRVSTR_ME); /* D3 */ in board_nand_hw_init() 57 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 26, ATMEL_PIO_DRVSTR_ME); /* D4 */ in board_nand_hw_init() 58 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 27, ATMEL_PIO_DRVSTR_ME); /* D5 */ in board_nand_hw_init() 59 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 28, ATMEL_PIO_DRVSTR_ME); /* D6 */ in board_nand_hw_init() 60 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 29, ATMEL_PIO_DRVSTR_ME); /* D7 */ in board_nand_hw_init() 62 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 30, 0); /* WE */ in board_nand_hw_init() 63 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 31, ATMEL_PIO_PUEN_MASK); /* NCS */ in board_nand_hw_init()
|
/openbmc/u-boot/arch/arm/mach-at91/arm920t/ |
H A D | at91rm9200_devices.c | 36 at91_set_a_periph(AT91_PIO_PORTA, 17, 1); /* TXD0 */ in at91_serial0_hw_init() 37 at91_set_a_periph(AT91_PIO_PORTA, 18, PUP); /* RXD0 */ in at91_serial0_hw_init() 50 at91_set_a_periph(AT91_PIO_PORTA, 22, PUP); /* RXD2 */ in at91_serial2_hw_init() 51 at91_set_a_periph(AT91_PIO_PORTA, 23, 1); /* TXD2 */ in at91_serial2_hw_init() 57 at91_set_a_periph(AT91_PIO_PORTA, 30, PUP); /* DRXD */ in at91_seriald_hw_init() 58 at91_set_a_periph(AT91_PIO_PORTA, 31, 1); /* DTXD */ in at91_seriald_hw_init()
|
/openbmc/u-boot/doc/ |
H A D | README.atmel_mci | 25 at91_set_a_periph(AT91_PIO_PORTA, 8, PUP); /* MCCK */ 27 at91_set_b_periph(AT91_PIO_PORTA, 1, PUP); /* MCCDB */ 28 at91_set_b_periph(AT91_PIO_PORTA, 0, PUP); /* MCDB0 */ 29 at91_set_b_periph(AT91_PIO_PORTA, 5, PUP); /* MCDB1 */ 30 at91_set_b_periph(AT91_PIO_PORTA, 4, PUP); /* MCDB2 */ 31 at91_set_b_periph(AT91_PIO_PORTA, 3, PUP); /* MCDB3 */ 33 at91_set_a_periph(AT91_PIO_PORTA, 7, PUP); /* MCCDA */ 34 at91_set_a_periph(AT91_PIO_PORTA, 6, PUP); /* MCDA0 */ 35 at91_set_a_periph(AT91_PIO_PORTA, 9, PUP); /* MCDA1 */ 36 at91_set_a_periph(AT91_PIO_PORTA, 10, PUP); /* MCDA2 */ [all …]
|
/openbmc/u-boot/board/siemens/taurus/ |
H A D | taurus.c | 237 at91_set_pio_pullup(AT91_PIO_PORTA, 14, 0); in taurus_macb_hw_init() 238 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 0); in taurus_macb_hw_init() 239 at91_set_pio_pullup(AT91_PIO_PORTA, 17, 0); in taurus_macb_hw_init() 240 at91_set_pio_pullup(AT91_PIO_PORTA, 25, 0); in taurus_macb_hw_init() 241 at91_set_pio_pullup(AT91_PIO_PORTA, 26, 0); in taurus_macb_hw_init() 242 at91_set_pio_pullup(AT91_PIO_PORTA, 28, 0); in taurus_macb_hw_init() 251 at91_set_pio_pullup(AT91_PIO_PORTA, 14, 1); in taurus_macb_hw_init() 252 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 1); in taurus_macb_hw_init() 253 at91_set_pio_pullup(AT91_PIO_PORTA, 17, 1); in taurus_macb_hw_init() 254 at91_set_pio_pullup(AT91_PIO_PORTA, 25, 1); in taurus_macb_hw_init() [all …]
|
/openbmc/u-boot/board/siemens/corvus/ |
H A D | board.c | 109 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 1); in spl_board_init() 110 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 1); in spl_board_init() 111 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 1); in spl_board_init() 204 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 0); in corvus_macb_hw_init() 205 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 0); in corvus_macb_hw_init() 206 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 0); in corvus_macb_hw_init() 211 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 1); in corvus_macb_hw_init() 212 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 1); in corvus_macb_hw_init() 213 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 1); in corvus_macb_hw_init()
|
/openbmc/u-boot/board/ronetix/pm9g45/ |
H A D | pm9g45.c | 97 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 0); in pm9g45_macb_hw_init() 98 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 0); in pm9g45_macb_hw_init() 99 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 0); in pm9g45_macb_hw_init() 102 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 1); in pm9g45_macb_hw_init() 103 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 1); in pm9g45_macb_hw_init() 104 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 1); in pm9g45_macb_hw_init()
|
/openbmc/u-boot/board/egnite/ethernut5/ |
H A D | ethernut5_pwrman.c | 101 at91_set_pio_input(AT91_PIO_PORTA, 14, 1); in ethernut5_phy_reset() 102 at91_set_pio_input(AT91_PIO_PORTA, 15, 1); in ethernut5_phy_reset() 103 at91_set_pio_input(AT91_PIO_PORTA, 17, 1); in ethernut5_phy_reset() 104 at91_set_pio_input(AT91_PIO_PORTA, 18, 0); in ethernut5_phy_reset() 111 at91_set_pio_input(AT91_PIO_PORTA, 14, 1); in ethernut5_phy_reset()
|
/openbmc/u-boot/board/ronetix/pm9263/ |
H A D | pm9263.c | 131 at91_set_pio_value(AT91_PIO_PORTA, 22, 1); /* power up */ in lcd_enable() 136 at91_set_pio_value(AT91_PIO_PORTA, 22, 0); /* power down */ in lcd_disable() 256 at91_set_pio_output(AT91_PIO_PORTA, 22, 1); in pm9263_lcd_hw_init() 257 at91_set_pio_value(AT91_PIO_PORTA, 22, 0); /* power down */ in pm9263_lcd_hw_init()
|
/openbmc/u-boot/board/ronetix/pm9261/ |
H A D | pm9261.c | 109 at91_set_pio_input(AT91_PIO_PORTA, 24, 0); in pm9261_dm9000_hw_init() 133 at91_set_pio_value(AT91_PIO_PORTA, 22, 0); /* power up */ in lcd_enable() 138 at91_set_pio_value(AT91_PIO_PORTA, 22, 1); /* power down */ in lcd_disable()
|
/openbmc/u-boot/board/atmel/at91sam9263ek/ |
H A D | at91sam9263ek.c | 96 at91_set_pio_value(AT91_PIO_PORTA, 30, 1); /* power up */ in lcd_enable() 101 at91_set_pio_value(AT91_PIO_PORTA, 30, 0); /* power down */ in lcd_disable()
|
/openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
H A D | atmel_pio4.h | 70 #define AT91_PIO_PORTA 0x0 macro
|
H A D | at91_pio.h | 152 #define AT91_PIO_PORTA 0x0 macro
|
/openbmc/u-boot/board/atmel/sama5d27_som1_ek/ |
H A D | sama5d27_som1_ek.c | 24 atmel_pio4_set_pio_output(AT91_PIO_PORTA, 27, 1); in board_usb_hw_init()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | atmel_pio4.c | 24 case AT91_PIO_PORTA: in atmel_pio4_port_base()
|
H A D | at91_gpio.c | 25 case AT91_PIO_PORTA: in at91_pio_get_port()
|