- at91_sys_write(AT91_PMC_PCER, 1 << AT91SAM9263_ID_PIOB | \
- 1 << AT91SAM9263_ID_PIOCDE); \
- at91_set_gpio_output(AT91_PIN_PB4, 0); \
- at91_set_gpio_output(AT91_PIN_PB5, 0); \
+ at91_set_pio_output(AT91_PIO_PORTB, 4, 0); \
+ at91_set_pio_output(AT91_PIO_PORTB, 5, 0); \