linux_dsm_epyc7002/drivers/pinctrl/meson
Martin Blumenstingl 6daae00243 pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
Gigabit Ethernet requires the Ethernet TXD0..3 and RXD0..3 data lines.
Add the missing eth_rxd2 and eth_rxd3 definitions so we don't have to
rely on the bootloader to set them up correctly.

The vendor u-boot sources for Odroid-C1 use the following Ethernet
pinmux configuration:
  SET_CBUS_REG_MASK(PERIPHS_PIN_MUX_6, 0x3f4f);
  SET_CBUS_REG_MASK(PERIPHS_PIN_MUX_7, 0xf00000);
This translates to the following pin groups in the mainline kernel:
- register 6 bit  0: eth_rxd1 (DIF_0_P)
- register 6 bit  1: eth_rxd0 (DIF_0_N)
- register 6 bit  2: eth_rx_dv (DIF_1_P)
- register 6 bit  3: eth_rx_clk (DIF_1_N)
- register 6 bit  6: eth_tx_en (DIF_3_P)
- register 6 bit  8: eth_ref_clk (DIF_3_N)
- register 6 bit  9: eth_mdc (DIF_4_P)
- register 6 bit 10: eth_mdio_en (DIF_4_N)
- register 6 bit 11: eth_tx_clk (GPIOH_9)
- register 6 bit 12: eth_txd2 (GPIOH_8)
- register 6 bit 13: eth_txd3 (GPIOH_7)
- register 7 bit 20: eth_txd0_0 (GPIOH_6)
- register 7 bit 21: eth_txd1_0 (GPIOH_5)
- register 7 bit 22: eth_rxd3 (DIF_2_P)
- register 7 bit 23: eth_rxd2 (DIF_2_N)

All functions except eth_rxd2 and eth_rxd3 are already supported by the
pinctrl-meson8b driver.

Suggested-by: Jianxin Pan <jianxin.pan@amlogic.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Emiliano Ingrassia <ingrassia@epigenesys.com>
Reviewed-by: Emiliano Ingrassia <ingrassia@epigenesys.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-01-14 09:30:14 +01:00
..
Kconfig pinctrl: meson-g12a: add pinctrl driver support 2018-08-29 10:34:53 +02:00
Makefile pinctrl: meson-g12a: add pinctrl driver support 2018-08-29 10:34:53 +02:00
pinctrl-meson8-pmx.c pinctrl: meson: rework pinmux ops 2017-10-16 23:14:10 +02:00
pinctrl-meson8-pmx.h pinctrl: meson: rework pinmux ops 2017-10-16 23:14:10 +02:00
pinctrl-meson8.c Pin control bulk changes for the v4.21 kernel cycle: 2019-01-01 13:19:16 -08:00
pinctrl-meson8b.c pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins 2019-01-14 09:30:14 +01:00
pinctrl-meson-axg-pmx.c pinctrl: meson-axg: Introduce a pinctrl pinmux ops for Meson-AXG SoC 2017-11-30 14:28:16 +01:00
pinctrl-meson-axg-pmx.h pinctrl: meson-axg: Introduce a pinctrl pinmux ops for Meson-AXG SoC 2017-11-30 14:28:16 +01:00
pinctrl-meson-axg.c pinctrl: meson: add gen_clk pins 2018-07-16 14:46:11 +02:00
pinctrl-meson-g12a.c pinctrl: meson-g12a: add pinctrl driver support 2018-08-29 10:34:53 +02:00
pinctrl-meson-gxbb.c pinctrl: meson: fix gxbb ao pull register bits 2018-11-05 09:33:22 +01:00
pinctrl-meson-gxl.c Pin control bulk changes for the v4.21 kernel cycle: 2019-01-01 13:19:16 -08:00
pinctrl-meson.c pinctrl: meson: fix pull enable register calculation 2018-11-19 15:40:55 +01:00
pinctrl-meson.h pinctrl: Include <linux/gpio/driver.h> nothing else 2018-09-14 15:10:57 +02:00