1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved.
5 * Author: John Rigby, <jrigby@freescale.com>, Friday Apr 13 2007
8 * MPC5xxx Prototypes and definitions
11 #ifndef __ASM_POWERPC_MPC5xxx_H__
12 #define __ASM_POWERPC_MPC5xxx_H__
14 #include <linux/property.h>
16 unsigned long mpc5xxx_fwnode_get_bus_frequency(struct fwnode_handle *fwnode);
18 static inline unsigned long mpc5xxx_get_bus_frequency(struct device *dev)
20 return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev));
23 #endif /* __ASM_POWERPC_MPC5xxx_H__ */