diff options
author | loos <loos@FreeBSD.org> | 2016-12-30 20:18:50 +0000 |
---|---|---|
committer | loos <loos@FreeBSD.org> | 2016-12-30 20:18:50 +0000 |
commit | 61528a9f2e3a38f9daaf1542d9185276ea6ca492 (patch) | |
tree | 40270734e4821049e2468114f120da5cd1a0ff3b /sys/arm/ti/am335x/am335x_scm.h | |
parent | 35ffcf6e171e537d673bb496db2e6d4ba08181ef (diff) | |
download | FreeBSD-src-61528a9f2e3a38f9daaf1542d9185276ea6ca492.zip FreeBSD-src-61528a9f2e3a38f9daaf1542d9185276ea6ca492.tar.gz |
MFC of r305112, r305113, r305119, r305141 and r305432:
Replace magic numbers with the proper register names.
Fix the build, revert r305119, move the control module register data to
am335x_scm.h and fix if_cpsw.c to include the correct header.
Sponsored by: Rubicon Communications, LLC (Netgate)
Diffstat (limited to 'sys/arm/ti/am335x/am335x_scm.h')
-rw-r--r-- | sys/arm/ti/am335x/am335x_scm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/ti/am335x/am335x_scm.h b/sys/arm/ti/am335x/am335x_scm.h index bfb4cd2..4a01f82 100644 --- a/sys/arm/ti/am335x/am335x_scm.h +++ b/sys/arm/ti/am335x/am335x_scm.h @@ -29,10 +29,13 @@ #define __AM335X_SCM_H__ /* AM335x-specific registers for control module (scm) */ +#define SCM_CTRL_STATUS 0x40 #define SCM_USB_CTRL0 0x620 #define SCM_USB_STS0 0x624 #define SCM_USB_CTRL1 0x628 #define SCM_USB_STS1 0x62C +#define SCM_MAC_ID0_LO 0x630 +#define SCM_MAC_ID0_HI 0x634 #define SCM_PWMSS_CTRL 0x664 #endif /* __AM335X_SCM_H__ */ |