162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * arch/arm/mach-lpc32xx/common.h 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Author: Kevin Wells <kevin.wells@nxp.com> 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * Copyright (C) 2009-2010 NXP Semiconductors 862306a36Sopenharmony_ci */ 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#ifndef __LPC32XX_COMMON_H 1162306a36Sopenharmony_ci#define __LPC32XX_COMMON_H 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#include <linux/init.h> 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci/* 1662306a36Sopenharmony_ci * Other arch specific structures and functions 1762306a36Sopenharmony_ci */ 1862306a36Sopenharmony_ciextern void __init lpc32xx_map_io(void); 1962306a36Sopenharmony_ciextern void __init lpc32xx_serial_init(void); 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci/* 2262306a36Sopenharmony_ci * Returns the LPC32xx unique 128-bit chip ID 2362306a36Sopenharmony_ci */ 2462306a36Sopenharmony_ciextern void lpc32xx_get_uid(u32 devid[4]); 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci/* 2762306a36Sopenharmony_ci * Pointers used for sizing and copying suspend function data 2862306a36Sopenharmony_ci */ 2962306a36Sopenharmony_ciextern int lpc32xx_sys_suspend(void); 3062306a36Sopenharmony_ciextern int lpc32xx_sys_suspend_sz; 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci#endif 33