1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2004 Freescale Semiconductor.
11 * CADMUS Board System Register interface.
15 * Returns board version register.
17 extern unsigned int get_board_version(void);
20 * Returns either 33000000 or 66000000 as the SYS_CLK_FREQ.
22 extern unsigned long get_clock_freq(void);
26 * Returns 1 - 4, as found in the USER CSR[6:7] bits.
28 extern unsigned int get_pci_slot(void);
32 * Returns PCI DUAL as found in CM_PCI[3].
34 extern unsigned int get_pci_dual(void);
37 #endif /* __CADMUS_H_ */