blob: 6c0275efa785e578e9f4f15118edaadc3a784f85 [file] [log] [blame]
Heiko Schocher75b27132011-11-01 20:00:32 +00001/*
2 * SoC-specific lowlevel code for tms320dm365 and similar chips
3 *
4 * Copyright (C) 2011
5 * Heiko Schocher, DENX Software Engineering, hs@denx.de.
6 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02007 * SPDX-License-Identifier: GPL-2.0+
Heiko Schocher75b27132011-11-01 20:00:32 +00008 */
9#ifndef __DM365_LOWLEVEL_H
10#define __DM365_LOWLEVEL_H
11
12#include <common.h>
13#include <asm/arch/hardware.h>
14#include <asm/io.h>
15
16void dm365_waitloop(unsigned long loopcnt);
17int dm365_pll1_init(unsigned long pllmult, unsigned long prediv);
18int dm365_pll2_init(unsigned long pllm, unsigned long prediv);
19int dm365_ddr_setup(void);
Heiko Schocher75b27132011-11-01 20:00:32 +000020void dm365_psc_init(void);
21void dm365_pinmux_ctl(unsigned long offset, unsigned long mask,
22 unsigned long value);
23void dm36x_lowlevel_init(ulong bootflag);
24
25#endif /* #ifndef __DM365_LOWLEVEL_H */