Home
last modified time | relevance | path

Searched refs:AT91_PIO_PORTA (Results 1 – 25 of 25) sorted by relevance

/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/
H A Dat91sam9260_devices.c70 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 Dat91sam9x5_devices.c121 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 Dat91sam9n12_devices.c20 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 Dat91sam9rl_devices.c31 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 Dat91sam9m10g45_devices.c134 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 Dat91sam9263_devices.c35 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 Dat91sam9261_devices.c67 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 Dsama5d3_devices.c176 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 Dethernut5.h116 #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 Dsnapper9260.h90 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 Dsama5d2_ptc_ek.c53 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 Dat91rm9200_devices.c36 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 DREADME.atmel_mci25 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 Dtaurus.c237 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 Dboard.c109 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 Dpm9g45.c97 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 Dethernut5_pwrman.c101 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 Dpm9263.c131 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 Dpm9261.c109 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 Dat91sam9263ek.c96 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 Datmel_pio4.h70 #define AT91_PIO_PORTA 0x0 macro
H A Dat91_pio.h152 #define AT91_PIO_PORTA 0x0 macro
/openbmc/u-boot/board/atmel/sama5d27_som1_ek/
H A Dsama5d27_som1_ek.c24 atmel_pio4_set_pio_output(AT91_PIO_PORTA, 27, 1); in board_usb_hw_init()
/openbmc/u-boot/drivers/gpio/
H A Datmel_pio4.c24 case AT91_PIO_PORTA: in atmel_pio4_port_base()
H A Dat91_gpio.c25 case AT91_PIO_PORTA: in at91_pio_get_port()