/u-boot/arch/arm/mach-at91/arm926ejs/ |
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
A D | sam9x60_devices.c | 63 at91_pio3_set_a_periph(AT91_PIO_PORTA, 9, 1); /* DRXD */ in at91_seriald_hw_init() 64 at91_pio3_set_a_periph(AT91_PIO_PORTA, 10, 1); /* DTXD */ in at91_seriald_hw_init() 72 at91_pio3_set_a_periph(AT91_PIO_PORTA, 17, 1); /* CLK */ in at91_mci_hw_init() 73 at91_pio3_set_a_periph(AT91_PIO_PORTA, 16, 1); /* CMD */ in at91_mci_hw_init() 74 at91_pio3_set_a_periph(AT91_PIO_PORTA, 15, 1); /* DAT0 */ in at91_mci_hw_init() 75 at91_pio3_set_a_periph(AT91_PIO_PORTA, 18, 1); /* DAT1 */ in at91_mci_hw_init() 76 at91_pio3_set_a_periph(AT91_PIO_PORTA, 19, 1); /* DAT2 */ in at91_mci_hw_init() 77 at91_pio3_set_a_periph(AT91_PIO_PORTA, 20, 1); /* DAT3 */ in at91_mci_hw_init()
|
/u-boot/arch/arm/mach-at91/armv7/ |
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 …]
|
/u-boot/include/configs/ |
A D | ethernut5.h | 107 #define GPIO_I2C_SCL AT91_PIO_PORTA, 24 108 #define GPIO_I2C_SDA AT91_PIO_PORTA, 23 111 at91_set_pio_periph(AT91_PIO_PORTA, 23, 0); \ 112 at91_set_pio_multi_drive(AT91_PIO_PORTA, 23, 1); \ 113 at91_set_pio_periph(AT91_PIO_PORTA, 24, 0); \ 114 at91_set_pio_output(AT91_PIO_PORTA, 24, 0); \ 115 at91_set_pio_multi_drive(AT91_PIO_PORTA, 24, 1); \ 118 #define I2C_ACTIVE at91_set_pio_output(AT91_PIO_PORTA, 23, 0) 119 #define I2C_TRISTATE at91_set_pio_input(AT91_PIO_PORTA, 23, 0) 120 #define I2C_SCL(bit) at91_set_pio_value(AT91_PIO_PORTA, 24, bit) [all …]
|
A D | snapper9260.h | 85 at91_set_pio_multi_drive(AT91_PIO_PORTA, 23, 1); \ 86 at91_set_pio_multi_drive(AT91_PIO_PORTA, 24, 1); \ 100 #define I2C_SCL(bit) at91_set_pio_value(AT91_PIO_PORTA, 24, bit)
|
/u-boot/arch/arm/mach-at91/arm920t/ |
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()
|
/u-boot/board/atmel/sama5d2_ptc_ek/ |
A D | sama5d2_ptc_ek.c | 55 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 22, ATMEL_PIO_DRVSTR_ME); /* D0 */ in board_nand_hw_init() 56 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 23, ATMEL_PIO_DRVSTR_ME); /* D1 */ in board_nand_hw_init() 57 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 24, ATMEL_PIO_DRVSTR_ME); /* D2 */ in board_nand_hw_init() 58 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 25, ATMEL_PIO_DRVSTR_ME); /* D3 */ in board_nand_hw_init() 59 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 26, ATMEL_PIO_DRVSTR_ME); /* D4 */ in board_nand_hw_init() 60 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 27, ATMEL_PIO_DRVSTR_ME); /* D5 */ in board_nand_hw_init() 61 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 28, ATMEL_PIO_DRVSTR_ME); /* D6 */ in board_nand_hw_init() 62 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 29, ATMEL_PIO_DRVSTR_ME); /* D7 */ in board_nand_hw_init() 64 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 30, 0); /* WE */ in board_nand_hw_init() 65 atmel_pio4_set_b_periph(AT91_PIO_PORTA, 31, ATMEL_PIO_PUEN_MASK); /* NCS */ in board_nand_hw_init()
|
/u-boot/board/atmel/sama5d27_wlsom1_ek/ |
A D | sama5d27_wlsom1_ek.c | 92 atmel_pio4_set_pio_output(AT91_PIO_PORTA, 6, 0); /* RED */ in board_leds_init() 93 atmel_pio4_set_pio_output(AT91_PIO_PORTA, 7, 1); /* GREEN */ in board_leds_init() 94 atmel_pio4_set_pio_output(AT91_PIO_PORTA, 8, 0); /* BLUE */ in board_leds_init() 100 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 1, 0); /* CMD */ in spl_mmc_init() 101 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 2, 0); /* DAT0 */ in spl_mmc_init() 102 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 3, 0); /* DAT1 */ in spl_mmc_init() 103 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 4, 0); /* DAT2 */ in spl_mmc_init() 104 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 5, 0); /* DAT3 */ in spl_mmc_init() 105 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 0, 0); /* CK */ in spl_mmc_init() 106 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 13, 0); /* CD */ in spl_mmc_init()
|
/u-boot/doc/ |
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 …]
|
/u-boot/board/siemens/taurus/ |
A D | taurus.c | 240 at91_set_pio_pullup(AT91_PIO_PORTA, 14, 0); in taurus_macb_hw_init() 241 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 0); in taurus_macb_hw_init() 242 at91_set_pio_pullup(AT91_PIO_PORTA, 17, 0); in taurus_macb_hw_init() 243 at91_set_pio_pullup(AT91_PIO_PORTA, 25, 0); in taurus_macb_hw_init() 244 at91_set_pio_pullup(AT91_PIO_PORTA, 26, 0); in taurus_macb_hw_init() 245 at91_set_pio_pullup(AT91_PIO_PORTA, 28, 0); in taurus_macb_hw_init() 254 at91_set_pio_pullup(AT91_PIO_PORTA, 14, 1); in taurus_macb_hw_init() 255 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 1); in taurus_macb_hw_init() 256 at91_set_pio_pullup(AT91_PIO_PORTA, 17, 1); in taurus_macb_hw_init() 257 at91_set_pio_pullup(AT91_PIO_PORTA, 25, 1); in taurus_macb_hw_init() [all …]
|
/u-boot/board/atmel/sama5d2_icp/ |
A D | sama5d2_icp.c | 88 atmel_pio4_set_pio_output(AT91_PIO_PORTA, 31, 0); /* BLUE */ in board_leds_init() 111 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 1, 0); /* CMD */ in spl_mmc_init() 112 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 2, 0); /* DAT0 */ in spl_mmc_init() 113 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 3, 0); /* DAT1 */ in spl_mmc_init() 114 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 4, 0); /* DAT2 */ in spl_mmc_init() 115 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 5, 0); /* DAT3 */ in spl_mmc_init() 116 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 0, 0); /* CK */ in spl_mmc_init() 117 atmel_pio4_set_a_periph(AT91_PIO_PORTA, 13, 0); /* CD */ in spl_mmc_init()
|
/u-boot/board/ronetix/pm9g45/ |
A D | pm9g45.c | 99 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 0); in pm9g45_macb_hw_init() 100 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 0); in pm9g45_macb_hw_init() 101 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 0); in pm9g45_macb_hw_init() 104 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 1); in pm9g45_macb_hw_init() 105 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 1); in pm9g45_macb_hw_init() 106 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 1); in pm9g45_macb_hw_init()
|
/u-boot/board/siemens/corvus/ |
A D | board.c | 112 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 1); in spl_board_init() 113 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 1); in spl_board_init() 114 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 1); in spl_board_init() 207 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 0); in corvus_macb_hw_init() 208 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 0); in corvus_macb_hw_init() 209 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 0); in corvus_macb_hw_init() 214 at91_set_pio_pullup(AT91_PIO_PORTA, 15, 1); in corvus_macb_hw_init() 215 at91_set_pio_pullup(AT91_PIO_PORTA, 12, 1); in corvus_macb_hw_init() 216 at91_set_pio_pullup(AT91_PIO_PORTA, 13, 1); in corvus_macb_hw_init()
|
/u-boot/board/egnite/ethernut5/ |
A D | ethernut5_pwrman.c | 103 at91_set_pio_input(AT91_PIO_PORTA, 14, 1); in ethernut5_phy_reset() 104 at91_set_pio_input(AT91_PIO_PORTA, 15, 1); in ethernut5_phy_reset() 105 at91_set_pio_input(AT91_PIO_PORTA, 17, 1); in ethernut5_phy_reset() 106 at91_set_pio_input(AT91_PIO_PORTA, 18, 0); in ethernut5_phy_reset() 113 at91_set_pio_input(AT91_PIO_PORTA, 14, 1); in ethernut5_phy_reset()
|
/u-boot/board/atmel/at91sam9263ek/ |
A D | at91sam9263ek.c | 101 at91_set_pio_value(AT91_PIO_PORTA, 30, 1); /* power up */ in lcd_enable() 106 at91_set_pio_value(AT91_PIO_PORTA, 30, 0); /* power down */ in lcd_disable()
|
/u-boot/board/ronetix/pm9263/ |
A D | pm9263.c | 204 at91_set_pio_output(AT91_PIO_PORTA, 22, 1); in pm9263_lcd_hw_init() 205 at91_set_pio_value(AT91_PIO_PORTA, 22, 0); /* power down */ in pm9263_lcd_hw_init()
|
/u-boot/board/atmel/sama5d27_som1_ek/ |
A D | sama5d27_som1_ek.c | 27 atmel_pio4_set_pio_output(AT91_PIO_PORTA, 27, 1); in board_usb_hw_init()
|
/u-boot/board/ronetix/pm9261/ |
A D | pm9261.c | 109 at91_set_pio_input(AT91_PIO_PORTA, 24, 0); in pm9261_dm9000_hw_init()
|
/u-boot/arch/arm/mach-at91/include/mach/ |
A D | atmel_pio4.h | 72 #define AT91_PIO_PORTA 0x0 macro
|