1/* 2 * Copyright 2017, DornerWorks 3 * 4 * This software may be distributed and modified according to the terms of 5 * the BSD 2-Clause license. Note that NO WARRANTY is provided. 6 * See "LICENSE_BSD2.txt" for details. 7 * 8 * @TAG(DORNERWORKS_BSD) 9 */ 10/* 11 * This data was produced by DornerWorks, Ltd. of Grand Rapids, MI, USA under 12 * a DARPA SBIR, Contract Number D16PC00107. 13 * 14 * Approved for Public Release, Distribution Unlimited. 15 */ 16 17#include "../../arch/arm/clock.h" 18#include "../../services.h" 19#include <assert.h> 20#include <string.h> 21#include <utils/util.h> 22 23static struct clock cpu_1x_clk = { CLK_OPS_DEFAULT(CPU_1X) }; 24 25void clk_print_clock_tree(clock_sys_t* sys) 26{ 27 clk_t *clk = clk_get_clock(sys, CLK_CPU_1X); 28 clk_print_tree(clk, ""); 29} 30 31clk_t* ps_clocks[] = 32{ 33 [CLK_CPU_1X] = &cpu_1x_clk, 34}; 35 36freq_t ps_freq_default[] = 37{ 38 [CLK_CPU_1X] = 1100 * MHZ, 39}; 40