summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-08-19 06:13:45 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-08-19 06:13:45 +0000
commit722eb0b032af038dbdfb453a65c8e65fb5de9561 (patch)
treed951b875055fcee8dc4a4c2eb8218e9376407742
parent3361b4c0ac77335b4088892e353c582ed483532f (diff)
Add missing OHCI clocks for Allwinner R40.
tested by jsing@
-rw-r--r--sys/dev/fdt/sxiccmu_clocks.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/fdt/sxiccmu_clocks.h b/sys/dev/fdt/sxiccmu_clocks.h
index 7528413d40d..9f323e5e3a7 100644
--- a/sys/dev/fdt/sxiccmu_clocks.h
+++ b/sys/dev/fdt/sxiccmu_clocks.h
@@ -430,6 +430,9 @@ struct sxiccmu_ccu_bit sun8i_h3_r_gates[] = {
#define R40_CLK_USB_PHY0 124
#define R40_CLK_USB_PHY1 125
#define R40_CLK_USB_PHY2 126
+#define R40_CLK_USB_OHCI0 127
+#define R40_CLK_USB_OHCI1 128
+#define R40_CLK_USB_OHCI2 129
#define R40_CLK_HOSC 253
#define R40_CLK_LOSC 254
@@ -471,6 +474,9 @@ struct sxiccmu_ccu_bit sun8i_r40_gates[] = {
[R40_CLK_USB_PHY0] = { 0x00cc, 8 },
[R40_CLK_USB_PHY1] = { 0x00cc, 9 },
[R40_CLK_USB_PHY2] = { 0x00cc, 10 },
+ [R40_CLK_USB_OHCI0] = { 0x00cc, 16 },
+ [R40_CLK_USB_OHCI1] = { 0x00cc, 17 },
+ [R40_CLK_USB_OHCI2] = { 0x00cc, 18 },
};
/* V3s */