Define the Allwinner PLL FDT constants in the file that uses them rather

than including a file from under sys/gnu.

Sponsored by:	DARPA, AFRL
This commit is contained in:
andrew 2016-10-26 14:09:30 +00:00
parent d9148c6347
commit 6b5436f0fc

View File

@ -47,12 +47,15 @@ __FBSDID("$FreeBSD$");
#include <dev/extres/clk/clk.h>
#include <dt-bindings/clock/sun4i-a10-pll2.h>
#include <arm/allwinner/aw_machdep.h>
#include "clkdev_if.h"
#define SUN4I_A10_PLL2_1X 0
#define SUN4I_A10_PLL2_2X 1
#define SUN4I_A10_PLL2_4X 2
#define SUN4I_A10_PLL2_8X 3
#define AW_PLL_ENABLE (1 << 31)
#define A10_PLL1_OUT_EXT_DIVP (0x3 << 16)