On Fri, Jun 15, 2012 at 3:26 PM, Vikram Narayanan <vikram186 at gmail.com> wrote: > /* turn on PHY power leaving reset asserted */ > - val = readl(&gpio4->gpio_dr) | 1 << 9; > - writel(val, &gpio4->gpio_dr); > + gpio_direction_output(GPIO_FEC_ENABLE_B, 1); Please use gpio_set_value instead.