diff options
author | Tom Rini <trini@konsulko.com> | 2021-01-27 11:30:31 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-01-27 11:30:31 -0500 |
commit | e6738b56e6799a67c0286fcceff9a7db7c006c7b (patch) | |
tree | af66b7757762118e90e593f74da1ddcb4aef1610 /include | |
parent | e262b2973e22174da666038514d17f0f7171466b (diff) | |
parent | 69076dff2284ed099cc0583e5e64bd8012d1ab5c (diff) |
Merge branch '2021-01-27-assorted-net-updates'
- e1000 fixes for MIPS
- netconsole and ping fix
- cortina_ni driver
- micrel PHY fix
- Add fdtoverlays keyword to extlinux file parsing
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/presidio_asic.h | 15 | ||||
-rw-r--r-- | include/phy.h | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/include/configs/presidio_asic.h b/include/configs/presidio_asic.h index 710731efd56..3f926212820 100644 --- a/include/configs/presidio_asic.h +++ b/include/configs/presidio_asic.h @@ -2,7 +2,7 @@ /* * Copyright (C) 2020 Cortina Access Inc. * - * Configuration for Cortina-Access Presidio board. + * Configuration for Cortina-Access Presidio board */ #ifndef __PRESIDIO_ASIC_H @@ -63,6 +63,19 @@ sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE +#define KSEG1_ATU_XLAT(x) (x) + +/* HW REG ADDR */ +#define NI_READ_POLL_COUNT 1000 +#define CA_NI_MDIO_REG_BASE 0xF4338 +#define NI_HV_GLB_MAC_ADDR_CFG0_OFFSET 0x010 +#define NI_HV_GLB_MAC_ADDR_CFG1_OFFSET 0x014 +#define NI_HV_PT_BASE 0x400 +#define NI_HV_XRAM_BASE 0x820 +#define GLOBAL_BLOCK_RESET_OFFSET 0x04 +#define GLOBAL_GLOBAL_CONFIG_OFFSET 0x20 +#define GLOBAL_IO_DRIVE_CONTROL_OFFSET 0x4c + /* max command args */ #define CONFIG_SYS_MAXARGS 64 #define CONFIG_EXTRA_ENV_SETTINGS "silent=y\0" diff --git a/include/phy.h b/include/phy.h index cbdb10d6fce..7750efd8bb5 100644 --- a/include/phy.h +++ b/include/phy.h @@ -493,6 +493,7 @@ int phy_aquantia_init(void); int phy_atheros_init(void); int phy_broadcom_init(void); int phy_cortina_init(void); +int phy_cortina_access_init(void); int phy_davicom_init(void); int phy_et1011c_init(void); int phy_lxt_init(void); |