diff options
author | Chen-Yu Tsai <wens@csie.org> | 2013-12-29 22:25:48 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-01-08 04:46:28 -0500 |
commit | b6a32a28cd6c99cd13ce6e72fcd7080e76c7e259 (patch) | |
tree | 1e79cf3bbd142c1ef8419c4acc5de808e03450cd /drivers/pinctrl | |
parent | a1edd49e42f1b79015dab2d5d7057ef39730a789 (diff) |
pinctrl: sunxi: Add Allwinner A20 clock output pin functions
This patch adds the clock output pin functions on the A20.
The 2 pins can output a configurable clock to be used by
external modules. This is used on the CubieTruck, to supply
a 32768 Hz low power clock to the onboard Wifi+BT module.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-sunxi-pins.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-sunxi-pins.h b/drivers/pinctrl/pinctrl-sunxi-pins.h index 2c7446a1a199..6fd8d4d95140 100644 --- a/drivers/pinctrl/pinctrl-sunxi-pins.h +++ b/drivers/pinctrl/pinctrl-sunxi-pins.h | |||
@@ -3774,12 +3774,14 @@ static const struct sunxi_desc_pin sun7i_a20_pins[] = { | |||
3774 | SUNXI_FUNCTION(0x1, "gpio_out"), | 3774 | SUNXI_FUNCTION(0x1, "gpio_out"), |
3775 | SUNXI_FUNCTION(0x2, "spi0"), /* MOSI */ | 3775 | SUNXI_FUNCTION(0x2, "spi0"), /* MOSI */ |
3776 | SUNXI_FUNCTION(0x3, "uart6"), /* TX */ | 3776 | SUNXI_FUNCTION(0x3, "uart6"), /* TX */ |
3777 | SUNXI_FUNCTION(0x4, "clk_out_a"), /* CLK_OUT_A */ | ||
3777 | SUNXI_FUNCTION_IRQ(0x5, 24)), /* EINT24 */ | 3778 | SUNXI_FUNCTION_IRQ(0x5, 24)), /* EINT24 */ |
3778 | SUNXI_PIN(SUNXI_PINCTRL_PIN_PI13, | 3779 | SUNXI_PIN(SUNXI_PINCTRL_PIN_PI13, |
3779 | SUNXI_FUNCTION(0x0, "gpio_in"), | 3780 | SUNXI_FUNCTION(0x0, "gpio_in"), |
3780 | SUNXI_FUNCTION(0x1, "gpio_out"), | 3781 | SUNXI_FUNCTION(0x1, "gpio_out"), |
3781 | SUNXI_FUNCTION(0x2, "spi0"), /* MISO */ | 3782 | SUNXI_FUNCTION(0x2, "spi0"), /* MISO */ |
3782 | SUNXI_FUNCTION(0x3, "uart6"), /* RX */ | 3783 | SUNXI_FUNCTION(0x3, "uart6"), /* RX */ |
3784 | SUNXI_FUNCTION(0x4, "clk_out_b"), /* CLK_OUT_B */ | ||
3783 | SUNXI_FUNCTION_IRQ(0x5, 25)), /* EINT25 */ | 3785 | SUNXI_FUNCTION_IRQ(0x5, 25)), /* EINT25 */ |
3784 | SUNXI_PIN(SUNXI_PINCTRL_PIN_PI14, | 3786 | SUNXI_PIN(SUNXI_PINCTRL_PIN_PI14, |
3785 | SUNXI_FUNCTION(0x0, "gpio_in"), | 3787 | SUNXI_FUNCTION(0x0, "gpio_in"), |