diff options
author | Murali Karicheri <m-karicheri2@ti.com> | 2019-02-21 12:02:01 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-12 08:05:45 -0400 |
commit | c7206e978920bb87dd08679a11990a5548b62f36 (patch) | |
tree | 4bbec41b9bdcea7c7bb8a62c62d18579a9993d2f /arch/arm/mach-keystone | |
parent | 090493cc6db08edfc0c5dd68335d0de3dc827ee7 (diff) | |
download | u-boot-c7206e978920bb87dd08679a11990a5548b62f36.zip u-boot-c7206e978920bb87dd08679a11990a5548b62f36.tar.gz u-boot-c7206e978920bb87dd08679a11990a5548b62f36.tar.bz2 |
ARM: k2g-ice: Add pinmux support for rgmii interface
This add pinmux configuration for rgmii interface so that network
driver can be supported on K2G ICE boards. The pinmux configurations
for this are generated using the pinmux tool at
https://dev.ti.com/pinmux/app.html#/default
As this required some BUFFER_CLASS definitions, same is re-used
from the linux defnitions in include/dt-bindings/pinctrl/keystone.h
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/arm/mach-keystone')
-rw-r--r-- | arch/arm/mach-keystone/include/mach/mux-k2g.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/include/mach/mux-k2g.h b/arch/arm/mach-keystone/include/mach/mux-k2g.h index 809b72d..67d47f8 100644 --- a/arch/arm/mach-keystone/include/mach/mux-k2g.h +++ b/arch/arm/mach-keystone/include/mach/mux-k2g.h @@ -27,6 +27,11 @@ #define PIN_PTU (1 << 17) /* pull up */ #define PIN_PTD (0 << 17) /* pull down */ +#define BUFFER_CLASS_B (0 << 19) +#define BUFFER_CLASS_C (1 << 19) +#define BUFFER_CLASS_D (2 << 19) +#define BUFFER_CLASS_E (3 << 19) + #define MODE(m) ((m) & 0x7) #define MAX_PIN_N 260 |