From 722eb0b032af038dbdfb453a65c8e65fb5de9561 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 19 Aug 2019 06:13:45 +0000 Subject: Add missing OHCI clocks for Allwinner R40. tested by jsing@ --- sys/dev/fdt/sxiccmu_clocks.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys') 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 */ -- cgit v1.2.3