aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/sunxi/clk_h6.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-03-11 15:48:57 -0400
committerTom Rini <trini@konsulko.com>2019-03-11 15:48:57 -0400
commit2e8092d94f40a5692baf3ec768ce3216a7bf032a (patch)
tree457de4ce00ca8263c115e70bd3e7540e34a7bed8 /drivers/clk/sunxi/clk_h6.c
parent6a08213d52f036dbfbdd92f1416bc4b08fd4d3f6 (diff)
parentaefc0b7a60b9147b79b7a735c045e28daba712f1 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
- axp818 fix - fix warnings for ethernet clock code
Diffstat (limited to 'drivers/clk/sunxi/clk_h6.c')
-rw-r--r--drivers/clk/sunxi/clk_h6.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/clk_h6.c b/drivers/clk/sunxi/clk_h6.c
index 71f0c78656..0bb00f449a 100644
--- a/drivers/clk/sunxi/clk_h6.c
+++ b/drivers/clk/sunxi/clk_h6.c
@@ -26,6 +26,8 @@ static struct ccu_clk_gate h6_gates[] = {
[CLK_BUS_SPI0] = GATE(0x96c, BIT(0)),
[CLK_BUS_SPI1] = GATE(0x96c, BIT(1)),
+
+ [CLK_BUS_EMAC] = GATE(0x97c, BIT(0)),
};
static struct ccu_reset h6_resets[] = {
@@ -39,6 +41,8 @@ static struct ccu_reset h6_resets[] = {
[RST_BUS_SPI0] = RESET(0x96c, BIT(16)),
[RST_BUS_SPI1] = RESET(0x96c, BIT(17)),
+
+ [RST_BUS_EMAC] = RESET(0x97c, BIT(16)),
};
static const struct ccu_desc h6_ccu_desc = {