/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/ |
H A D | at91sam9m10g45_devices.c | 32 at91_set_a_periph(AT91_PIO_PORTB, 19, 1); /* TXD0 */ in at91_serial0_hw_init() 39 at91_set_a_periph(AT91_PIO_PORTB, 4, 1); /* TXD1 */ in at91_serial1_hw_init() 53 at91_set_a_periph(AT91_PIO_PORTB, 12, 0); /* DRXD */ in at91_seriald_hw_init() 68 at91_set_a_periph(AT91_PIO_PORTB, 3, 1); in at91_spi0_hw_init() 71 at91_set_b_periph(AT91_PIO_PORTB, 18, 1); in at91_spi0_hw_init() 74 at91_set_b_periph(AT91_PIO_PORTB, 19, 1); in at91_spi0_hw_init() 80 at91_set_pio_output(AT91_PIO_PORTB, 3, 1); in at91_spi0_hw_init() 83 at91_set_pio_output(AT91_PIO_PORTB, 18, 1); in at91_spi0_hw_init() 86 at91_set_pio_output(AT91_PIO_PORTB, 19, 1); in at91_spi0_hw_init() 102 at91_set_a_periph(AT91_PIO_PORTB, 17, 1); in at91_spi1_hw_init() [all …]
|
H A D | at91sam9x5_devices.c | 125 at91_pio3_set_b_periph(AT91_PIO_PORTB, 3, 0); in at91_spi0_hw_init() 133 at91_set_pio_output(AT91_PIO_PORTB, 3, 0); in at91_spi0_hw_init() 183 at91_pio3_set_a_periph(AT91_PIO_PORTB, 4, 0); /* ETXCK */ in at91_macb_hw_init() 184 at91_pio3_set_a_periph(AT91_PIO_PORTB, 3, 0); /* ERXDV */ in at91_macb_hw_init() 185 at91_pio3_set_a_periph(AT91_PIO_PORTB, 0, 0); /* ERX0 */ in at91_macb_hw_init() 186 at91_pio3_set_a_periph(AT91_PIO_PORTB, 1, 0); /* ERX1 */ in at91_macb_hw_init() 187 at91_pio3_set_a_periph(AT91_PIO_PORTB, 2, 0); /* ERXER */ in at91_macb_hw_init() 188 at91_pio3_set_a_periph(AT91_PIO_PORTB, 7, 0); /* ETXEN */ in at91_macb_hw_init() 189 at91_pio3_set_a_periph(AT91_PIO_PORTB, 9, 0); /* ETX0 */ in at91_macb_hw_init() 190 at91_pio3_set_a_periph(AT91_PIO_PORTB, 10, 0); /* ETX1 */ in at91_macb_hw_init() [all …]
|
H A D | at91sam9263_devices.c | 80 at91_set_b_periph(AT91_PIO_PORTB, 11, 1); in at91_spi0_hw_init() 92 at91_set_pio_output(AT91_PIO_PORTB, 11, 1); in at91_spi0_hw_init() 98 at91_set_a_periph(AT91_PIO_PORTB, 12, PUP); /* SPI1_MISO */ in at91_spi1_hw_init() 105 at91_set_a_periph(AT91_PIO_PORTB, 15, 1); in at91_spi1_hw_init() 108 at91_set_a_periph(AT91_PIO_PORTB, 16, 1); in at91_spi1_hw_init() 111 at91_set_a_periph(AT91_PIO_PORTB, 17, 1); in at91_spi1_hw_init() 114 at91_set_a_periph(AT91_PIO_PORTB, 18, 1); in at91_spi1_hw_init() 117 at91_set_pio_output(AT91_PIO_PORTB, 15, 1); in at91_spi1_hw_init() 120 at91_set_pio_output(AT91_PIO_PORTB, 16, 1); in at91_spi1_hw_init() 123 at91_set_pio_output(AT91_PIO_PORTB, 17, 1); in at91_spi1_hw_init() [all …]
|
H A D | at91sam9260_devices.c | 34 at91_set_a_periph(AT91_PIO_PORTB, 4, 1); /* TXD0 */ in at91_serial0_hw_init() 35 at91_set_a_periph(AT91_PIO_PORTB, 5, PUP); /* RXD0 */ in at91_serial0_hw_init() 41 at91_set_a_periph(AT91_PIO_PORTB, 6, 1); /* TXD1 */ in at91_serial1_hw_init() 42 at91_set_a_periph(AT91_PIO_PORTB, 7, PUP); /* RXD1 */ in at91_serial1_hw_init() 48 at91_set_a_periph(AT91_PIO_PORTB, 8, 1); /* TXD2 */ in at91_serial2_hw_init() 49 at91_set_a_periph(AT91_PIO_PORTB, 9, PUP); /* RXD2 */ in at91_serial2_hw_init() 55 at91_set_a_periph(AT91_PIO_PORTB, 14, PUP); /* DRXD */ in at91_seriald_hw_init() 56 at91_set_a_periph(AT91_PIO_PORTB, 15, 1); /* DTXD */ in at91_seriald_hw_init() 97 at91_set_a_periph(AT91_PIO_PORTB, 0, PUP); /* SPI1_MISO */ in at91_spi1_hw_init() 104 at91_set_a_periph(AT91_PIO_PORTB, 3, 1); in at91_spi1_hw_init() [all …]
|
H A D | at91sam9261_devices.c | 94 at91_set_a_periph(AT91_PIO_PORTB, 30, PUP); /* SPI1_MISO */ in at91_spi1_hw_init() 95 at91_set_a_periph(AT91_PIO_PORTB, 31, PUP); /* SPI1_MOSI */ in at91_spi1_hw_init() 96 at91_set_a_periph(AT91_PIO_PORTB, 29, PUP); /* SPI1_SPCK */ in at91_spi1_hw_init() 101 at91_set_a_periph(AT91_PIO_PORTB, 28, 1); in at91_spi1_hw_init() 113 at91_set_pio_output(AT91_PIO_PORTB, 28, 1); in at91_spi1_hw_init()
|
H A D | at91sam9rl_devices.c | 70 at91_set_b_periph(AT91_PIO_PORTB, 7, 1); in at91_spi0_hw_init() 82 at91_set_pio_output(AT91_PIO_PORTB, 7, 1); in at91_spi0_hw_init()
|
H A D | at91sam9n12_devices.c | 69 at91_set_pio_output(AT91_PIO_PORTB, 3, 1); in at91_spi0_hw_init()
|
/openbmc/u-boot/arch/arm/mach-at91/armv7/ |
H A D | sama5d3_devices.c | 63 at91_pio3_set_a_periph(AT91_PIO_PORTB, 29, 1); /* TXD1 */ in at91_serial1_hw_init() 64 at91_pio3_set_a_periph(AT91_PIO_PORTB, 28, 0); /* RXD1 */ in at91_serial1_hw_init() 81 at91_pio3_set_a_periph(AT91_PIO_PORTB, 31, 1); /* DTXD */ in at91_seriald_hw_init() 82 at91_pio3_set_a_periph(AT91_PIO_PORTB, 30, 0); /* DRXD */ in at91_seriald_hw_init() 150 at91_pio3_set_a_periph(AT91_PIO_PORTB, 0, 0); /* GTX0 */ in at91_gmac_hw_init() 151 at91_pio3_set_a_periph(AT91_PIO_PORTB, 1, 0); /* GTX1 */ in at91_gmac_hw_init() 152 at91_pio3_set_a_periph(AT91_PIO_PORTB, 2, 0); /* GTX2 */ in at91_gmac_hw_init() 153 at91_pio3_set_a_periph(AT91_PIO_PORTB, 3, 0); /* GTX3 */ in at91_gmac_hw_init() 154 at91_pio3_set_a_periph(AT91_PIO_PORTB, 4, 0); /* GRX0 */ in at91_gmac_hw_init() 155 at91_pio3_set_a_periph(AT91_PIO_PORTB, 5, 0); /* GRX1 */ in at91_gmac_hw_init() [all …]
|
/openbmc/u-boot/board/ronetix/pm9261/ |
H A D | pm9261.c | 145 at91_set_a_periph(AT91_PIO_PORTB, 3, 0); /* LCDDEN */ in pm9261_lcd_hw_init() 146 at91_set_a_periph(AT91_PIO_PORTB, 4, 0); /* LCDCC */ in pm9261_lcd_hw_init() 147 at91_set_a_periph(AT91_PIO_PORTB, 7, 0); /* LCDD2 */ in pm9261_lcd_hw_init() 148 at91_set_a_periph(AT91_PIO_PORTB, 8, 0); /* LCDD3 */ in pm9261_lcd_hw_init() 149 at91_set_a_periph(AT91_PIO_PORTB, 9, 0); /* LCDD4 */ in pm9261_lcd_hw_init() 150 at91_set_a_periph(AT91_PIO_PORTB, 10, 0); /* LCDD5 */ in pm9261_lcd_hw_init() 151 at91_set_a_periph(AT91_PIO_PORTB, 11, 0); /* LCDD6 */ in pm9261_lcd_hw_init() 152 at91_set_a_periph(AT91_PIO_PORTB, 12, 0); /* LCDD7 */ in pm9261_lcd_hw_init() 153 at91_set_a_periph(AT91_PIO_PORTB, 15, 0); /* LCDD10 */ in pm9261_lcd_hw_init() 154 at91_set_a_periph(AT91_PIO_PORTB, 16, 0); /* LCDD11 */ in pm9261_lcd_hw_init() [all …]
|
/openbmc/u-boot/board/l+g/vinco/ |
H A D | vinco.c | 123 at91_pio3_set_a_periph(AT91_PIO_PORTB, 0, 0); /* ETXCK_EREFCK */ in vinco_macb0_hw_init() 124 at91_pio3_set_a_periph(AT91_PIO_PORTB, 6, 0); /* ERXDV */ in vinco_macb0_hw_init() 125 at91_pio3_set_a_periph(AT91_PIO_PORTB, 8, 0); /* ERX0 */ in vinco_macb0_hw_init() 126 at91_pio3_set_a_periph(AT91_PIO_PORTB, 9, 0); /* ERX1 */ in vinco_macb0_hw_init() 127 at91_pio3_set_a_periph(AT91_PIO_PORTB, 7, 0); /* ERXER */ in vinco_macb0_hw_init() 128 at91_pio3_set_a_periph(AT91_PIO_PORTB, 2, 0); /* ETXEN */ in vinco_macb0_hw_init() 129 at91_pio3_set_a_periph(AT91_PIO_PORTB, 12, 0); /* ETX0 */ in vinco_macb0_hw_init() 130 at91_pio3_set_a_periph(AT91_PIO_PORTB, 13, 0); /* ETX1 */ in vinco_macb0_hw_init() 131 at91_pio3_set_a_periph(AT91_PIO_PORTB, 17, 0); /* EMDIO */ in vinco_macb0_hw_init() 132 at91_pio3_set_a_periph(AT91_PIO_PORTB, 16, 0); /* EMDC */ in vinco_macb0_hw_init()
|
/openbmc/u-boot/board/atmel/sama5d2_ptc_ek/ |
H A D | sama5d2_ptc_ek.c | 61 atmel_pio4_set_b_periph(AT91_PIO_PORTB, 2, 0); /* RE */ in board_nand_hw_init() 65 atmel_pio4_set_b_periph(AT91_PIO_PORTB, 0, ATMEL_PIO_PUEN_MASK); /* ALE */ in board_nand_hw_init() 66 atmel_pio4_set_b_periph(AT91_PIO_PORTB, 1, ATMEL_PIO_PUEN_MASK); /* CLE */ in board_nand_hw_init() 80 atmel_pio4_set_pio_output(AT91_PIO_PORTB, 12, ATMEL_PIO_PUEN_MASK); in board_usb_hw_init() 86 atmel_pio4_set_c_periph(AT91_PIO_PORTB, 26, ATMEL_PIO_PUEN_MASK); /* URXD0 */ in board_uart0_hw_init() 87 atmel_pio4_set_c_periph(AT91_PIO_PORTB, 27, 0); /* UTXD0 */ in board_uart0_hw_init()
|
/openbmc/u-boot/board/esd/meesc/ |
H A D | meesc.c | 40 hw_rev = at91_get_pio_value(AT91_PIO_PORTB, 19); in get_hw_rev() 41 hw_rev |= at91_get_pio_value(AT91_PIO_PORTB, 20) << 1; in get_hw_rev() 42 hw_rev |= at91_get_pio_value(AT91_PIO_PORTB, 21) << 2; in get_hw_rev() 43 hw_rev |= at91_get_pio_value(AT91_PIO_PORTB, 22) << 3; in get_hw_rev() 174 at91_set_pio_output(AT91_PIO_PORTB, 12, 1); in checkboard()
|
/openbmc/u-boot/arch/arm/mach-at91/arm920t/ |
H A D | at91rm9200_devices.c | 43 at91_set_a_periph(AT91_PIO_PORTB, 20, PUP); /* RXD1 */ in at91_serial1_hw_init() 44 at91_set_a_periph(AT91_PIO_PORTB, 21, 1); /* TXD1 */ in at91_serial1_hw_init()
|
/openbmc/u-boot/board/ronetix/pm9263/ |
H A D | pm9263.c | 84 at91_set_pio_output(AT91_PIO_PORTB, 27, 1); in pm9263_macb_hw_init() 85 at91_set_pio_value(AT91_PIO_PORTB, 27, 1); /* 1- enable, 0 - disable */ in pm9263_macb_hw_init() 141 #define PSRAM_CRE_PIN AT91_PIO_PORTB, 29 233 at91_set_b_periph(AT91_PIO_PORTB, 9, 0); /* LCDCC */ in pm9263_lcd_hw_init()
|
/openbmc/u-boot/board/egnite/ethernut5/ |
H A D | ethernut5_pwrman.c | 226 at91_set_pio_output(AT91_PIO_PORTB, 8, 1); in do_pwrman() 228 at91_set_pio_output(AT91_PIO_PORTB, 8, 0); in do_pwrman()
|
/openbmc/u-boot/arch/arm/mach-at91/include/mach/ |
H A D | atmel_pio4.h | 71 #define AT91_PIO_PORTB 0x1 macro
|
H A D | at91_pio.h | 153 #define AT91_PIO_PORTB 0x1 macro
|
/openbmc/u-boot/board/atmel/sama5d2_xplained/ |
H A D | sama5d2_xplained.c | 24 atmel_pio4_set_pio_output(AT91_PIO_PORTB, 10, 1); in board_usb_hw_init()
|
/openbmc/u-boot/board/atmel/at91sam9263ek/ |
H A D | at91sam9263ek.c | 109 at91_set_b_periph(AT91_PIO_PORTB, 9, 0); /* LCDCC */ in at91sam9263ek_lcd_hw_init()
|
/openbmc/u-boot/board/atmel/at91sam9n12ek/ |
H A D | at91sam9n12ek.c | 161 at91_set_pio_output(AT91_PIO_PORTB, 7, 0); in at91sam9n12ek_usb_hw_init()
|
/openbmc/u-boot/board/atmel/sama5d3xek/ |
H A D | sama5d3xek.c | 128 at91_set_pio_output(AT91_PIO_PORTB, 10, 0); /* MCI0 Power */ in sama5d3xek_mci_hw_init()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | atmel_pio4.c | 27 case AT91_PIO_PORTB: in atmel_pio4_port_base()
|
H A D | at91_gpio.c | 27 case AT91_PIO_PORTB: in at91_pio_get_port()
|