Skip to content

Commit 490bbdc

Browse files
khayash1Linus Walleij
authored andcommitted
pinctrl: uniphier: Add Pro5 PCIe pin-mux settings
Pro5 PCIe interface uses the following pins: XPERST, XPEWAKE, XPECLKRQ Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Link: https://lore.kernel.org/r/1564465410-9165-5-git-send-email-hayashi.kunihiko@socionext.com Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent fc1d910 commit 490bbdc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,6 +807,8 @@ static const unsigned nand_pins[] = {19, 20, 21, 22, 23, 24, 25, 28, 29, 30,
807807
static const int nand_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
808808
static const unsigned nand_cs1_pins[] = {26, 27};
809809
static const int nand_cs1_muxvals[] = {0, 0};
810+
static const unsigned pcie_pins[] = {109, 110, 111};
811+
static const int pcie_muxvals[] = {0, 0, 0};
810812
static const unsigned sd_pins[] = {250, 251, 252, 253, 254, 255, 256, 257, 258};
811813
static const int sd_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0};
812814
static const unsigned spi0_pins[] = {120, 121, 122, 123};
@@ -902,6 +904,7 @@ static const struct uniphier_pinctrl_group uniphier_pro5_groups[] = {
902904
UNIPHIER_PINCTRL_GROUP(i2c5b),
903905
UNIPHIER_PINCTRL_GROUP(i2c5c),
904906
UNIPHIER_PINCTRL_GROUP(i2c6),
907+
UNIPHIER_PINCTRL_GROUP(pcie),
905908
UNIPHIER_PINCTRL_GROUP(sd),
906909
UNIPHIER_PINCTRL_GROUP(spi0),
907910
UNIPHIER_PINCTRL_GROUP(spi1),
@@ -936,6 +939,7 @@ static const char * const i2c3_groups[] = {"i2c3"};
936939
static const char * const i2c5_groups[] = {"i2c5", "i2c5b", "i2c5c"};
937940
static const char * const i2c6_groups[] = {"i2c6"};
938941
static const char * const nand_groups[] = {"nand", "nand_cs1"};
942+
static const char * const pcie_groups[] = {"pcie"};
939943
static const char * const sd_groups[] = {"sd"};
940944
static const char * const spi0_groups[] = {"spi0"};
941945
static const char * const spi1_groups[] = {"spi1"};
@@ -967,6 +971,7 @@ static const struct uniphier_pinmux_function uniphier_pro5_functions[] = {
967971
UNIPHIER_PINMUX_FUNCTION(i2c5),
968972
UNIPHIER_PINMUX_FUNCTION(i2c6),
969973
UNIPHIER_PINMUX_FUNCTION(nand),
974+
UNIPHIER_PINMUX_FUNCTION(pcie),
970975
UNIPHIER_PINMUX_FUNCTION(sd),
971976
UNIPHIER_PINMUX_FUNCTION(spi0),
972977
UNIPHIER_PINMUX_FUNCTION(spi1),

0 commit comments

Comments
 (0)