2 * Copyright 2004 Freescale Semiconductor.
4 * SPDX-License-Identifier: GPL-2.0+
12 * CADMUS Board System Register interface.
16 * Returns board version register.
18 extern unsigned int get_board_version(void);
21 * Returns either 33000000 or 66000000 as the SYS_CLK_FREQ.
23 extern unsigned long get_clock_freq(void);
27 * Returns 1 - 4, as found in the USER CSR[6:7] bits.
29 extern unsigned int get_pci_slot(void);
33 * Returns PCI DUAL as found in CM_PCI[3].
35 extern unsigned int get_pci_dual(void);
38 #endif /* __CADMUS_H_ */