18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * arch/arm/mach-lpc32xx/common.h
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Author: Kevin Wells <kevin.wells@nxp.com>
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Copyright (C) 2009-2010 NXP Semiconductors
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#ifndef __LPC32XX_COMMON_H
118c2ecf20Sopenharmony_ci#define __LPC32XX_COMMON_H
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#include <linux/init.h>
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci/*
168c2ecf20Sopenharmony_ci * Other arch specific structures and functions
178c2ecf20Sopenharmony_ci */
188c2ecf20Sopenharmony_ciextern void __init lpc32xx_map_io(void);
198c2ecf20Sopenharmony_ciextern void __init lpc32xx_serial_init(void);
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci/*
228c2ecf20Sopenharmony_ci * Returns the LPC32xx unique 128-bit chip ID
238c2ecf20Sopenharmony_ci */
248c2ecf20Sopenharmony_ciextern void lpc32xx_get_uid(u32 devid[4]);
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci/*
278c2ecf20Sopenharmony_ci * Pointers used for sizing and copying suspend function data
288c2ecf20Sopenharmony_ci */
298c2ecf20Sopenharmony_ciextern int lpc32xx_sys_suspend(void);
308c2ecf20Sopenharmony_ciextern int lpc32xx_sys_suspend_sz;
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci#endif
33