pinctrl: meson: add gen_clk pins
Add the pinctrl configuration for gen_clk on gxbb and axg. gen_clk allows to output and devide several internal clocks of SoC, including most of the plls. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
a35f5c1ac2
commit
a130af0162
|
@ -672,6 +672,9 @@ static const unsigned int jtag_ao_tdo_pins[] = {GPIOAO_4};
|
|||
static const unsigned int jtag_ao_clk_pins[] = {GPIOAO_5};
|
||||
static const unsigned int jtag_ao_tms_pins[] = {GPIOAO_7};
|
||||
|
||||
/* gen_clk */
|
||||
static const unsigned int gen_clk_ee_pins[] = {GPIOAO_13};
|
||||
|
||||
static struct meson_pmx_group meson_axg_aobus_groups[] = {
|
||||
GPIO_GROUP(GPIOAO_0),
|
||||
GPIO_GROUP(GPIOAO_1),
|
||||
|
@ -718,6 +721,7 @@ static struct meson_pmx_group meson_axg_aobus_groups[] = {
|
|||
GROUP(jtag_ao_tdo, 4),
|
||||
GROUP(jtag_ao_clk, 4),
|
||||
GROUP(jtag_ao_tms, 4),
|
||||
GROUP(gen_clk_ee, 4),
|
||||
};
|
||||
|
||||
static const char * const gpio_periphs_groups[] = {
|
||||
|
@ -947,6 +951,10 @@ static const char * const tdmb_groups[] = {
|
|||
"tdmb_din2", "tdmb_dout2", "tdmb_din3", "tdmb_dout3",
|
||||
};
|
||||
|
||||
static const char * const gen_clk_ee_groups[] = {
|
||||
"gen_clk_ee",
|
||||
};
|
||||
|
||||
static struct meson_pmx_func meson_axg_periphs_functions[] = {
|
||||
FUNCTION(gpio_periphs),
|
||||
FUNCTION(emmc),
|
||||
|
@ -992,6 +1000,7 @@ static struct meson_pmx_func meson_axg_aobus_functions[] = {
|
|||
FUNCTION(pwm_ao_c),
|
||||
FUNCTION(pwm_ao_d),
|
||||
FUNCTION(jtag_ao),
|
||||
FUNCTION(gen_clk_ee),
|
||||
};
|
||||
|
||||
static struct meson_bank meson_axg_periphs_banks[] = {
|
||||
|
|
|
@ -243,6 +243,8 @@ static const unsigned int i2s_out_ch67_y_pins[] = { GPIOY_10 };
|
|||
|
||||
static const unsigned int spdif_out_y_pins[] = { GPIOY_12 };
|
||||
|
||||
static const unsigned int gen_clk_out_pins[] = { GPIOY_15 };
|
||||
|
||||
static const struct pinctrl_pin_desc meson_gxbb_aobus_pins[] = {
|
||||
MESON_PIN(GPIOAO_0),
|
||||
MESON_PIN(GPIOAO_1),
|
||||
|
@ -453,6 +455,7 @@ static struct meson_pmx_group meson_gxbb_periphs_groups[] = {
|
|||
GROUP(i2s_out_ch45_y, 1, 6),
|
||||
GROUP(i2s_out_ch67_y, 1, 7),
|
||||
GROUP(spdif_out_y, 1, 9),
|
||||
GROUP(gen_clk_out, 6, 15),
|
||||
|
||||
/* Bank Z */
|
||||
GROUP(eth_mdio, 6, 1),
|
||||
|
@ -706,6 +709,10 @@ static const char * const spdif_out_groups[] = {
|
|||
"spdif_out_y",
|
||||
};
|
||||
|
||||
static const char * const gen_clk_out_groups[] = {
|
||||
"gen_clk_out",
|
||||
};
|
||||
|
||||
static const char * const gpio_aobus_groups[] = {
|
||||
"GPIOAO_0", "GPIOAO_1", "GPIOAO_2", "GPIOAO_3", "GPIOAO_4",
|
||||
"GPIOAO_5", "GPIOAO_6", "GPIOAO_7", "GPIOAO_8", "GPIOAO_9",
|
||||
|
@ -790,6 +797,7 @@ static struct meson_pmx_func meson_gxbb_periphs_functions[] = {
|
|||
FUNCTION(hdmi_i2c),
|
||||
FUNCTION(i2s_out),
|
||||
FUNCTION(spdif_out),
|
||||
FUNCTION(gen_clk_out),
|
||||
};
|
||||
|
||||
static struct meson_pmx_func meson_gxbb_aobus_functions[] = {
|
||||
|
|
Loading…
Reference in New Issue