summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-owl
diff options
context:
space:
mode:
authorAmit Singh Tomar <amittomer25@gmail.com>2020-05-09 17:25:12 +0300
committerTom Rini <trini@konsulko.com>2020-07-08 00:11:58 +0300
commit3c5c4ee35f58bd9d3ca8fb2b4d31da4e5abe17f1 (patch)
tree84ceb01da49040fb515e5fbd7e92649314a70984 /arch/arm/include/asm/arch-owl
parentfa6539a3dcbf269121ca64084cff4c146fcdaf19 (diff)
downloadu-boot-3c5c4ee35f58bd9d3ca8fb2b4d31da4e5abe17f1.tar.xz
net: designware: s700: Add glue code for S700 mac
This patchs adds glue logic to enable designware mac present on Action Semi based S700 SoC, Configures SoC specific bits. Undocumented bit that programs the PHY interface select register comes from vendor source. It has been tested on Cubieboard7-lite based on S700 SoC. Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-owl')
-rw-r--r--arch/arm/include/asm/arch-owl/regs_s700.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-owl/regs_s700.h b/arch/arm/include/asm/arch-owl/regs_s700.h
index 90459ae95e..0f79faec69 100644
--- a/arch/arm/include/asm/arch-owl/regs_s700.h
+++ b/arch/arm/include/asm/arch-owl/regs_s700.h
@@ -55,4 +55,10 @@
#define CMU_DEVCLKEN1_ETH BIT(23)
+#define GPIO_MFP_PWM (0xE01B0000)
+#define MFP_CTL0 (GPIO_MFP_PWM + 0x40)
+#define MFP_CTL1 (GPIO_MFP_PWM + 0x44)
+#define MFP_CTL2 (GPIO_MFP_PWM + 0x48)
+#define MFP_CTL3 (GPIO_MFP_PWM + 0x4C)
+
#endif