ARM: sunxi: Add gpio pull-up/down and cleanup pin function definitions

Add definitions for pull-up/downs, and several pin functions used
by various drivers, such as gmac, i2c, and mmc.

Also remove any pin functions not currently used by drivers.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
i2c: sunxi: Use sunxi gpio pin function macros

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
net: sunxi_emac: Use sunxi gpio pin function macros

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
net: sunxi_gmac: Use sunxi gpio pin function macros

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
mmc: sunxi: Use sunxi gpio functions to configure pins

Use the sunxi gpio driver to configure pins, instead of directly
writing magic numbers.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
ARM: sunxi: fix sun5i uart1 pin definition name

The pin definition for uart1 was mis-named as uart0.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>