Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Heiko Schocher | 75b2713 | 2011-11-01 20:00:32 +0000 | [diff] [blame] | 2 | /* |
| 3 | * SoC-specific lowlevel code for tms320dm365 and similar chips |
| 4 | * |
| 5 | * Copyright (C) 2011 |
| 6 | * Heiko Schocher, DENX Software Engineering, hs@denx.de. |
Heiko Schocher | 75b2713 | 2011-11-01 20:00:32 +0000 | [diff] [blame] | 7 | */ |
| 8 | #ifndef __DM365_LOWLEVEL_H |
| 9 | #define __DM365_LOWLEVEL_H |
| 10 | |
Heiko Schocher | 75b2713 | 2011-11-01 20:00:32 +0000 | [diff] [blame] | 11 | #include <asm/arch/hardware.h> |
| 12 | #include <asm/io.h> |
| 13 | |
| 14 | void dm365_waitloop(unsigned long loopcnt); |
| 15 | int dm365_pll1_init(unsigned long pllmult, unsigned long prediv); |
| 16 | int dm365_pll2_init(unsigned long pllm, unsigned long prediv); |
| 17 | int dm365_ddr_setup(void); |
Heiko Schocher | 75b2713 | 2011-11-01 20:00:32 +0000 | [diff] [blame] | 18 | void dm365_psc_init(void); |
| 19 | void dm365_pinmux_ctl(unsigned long offset, unsigned long mask, |
| 20 | unsigned long value); |
| 21 | void dm36x_lowlevel_init(ulong bootflag); |
| 22 | |
| 23 | #endif /* #ifndef __DM365_LOWLEVEL_H */ |