1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Firmware API for mac80211 ST-Ericsson CW1200 drivers 4 * 5 * Copyright (c) 2010, ST-Ericsson 6 * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no> 7 * 8 * Based on: 9 * ST-Ericsson UMAC CW1200 driver which is 10 * Copyright (c) 2010, ST-Ericsson 11 * Author: Ajitpal Singh <ajitpal.singh@stericsson.com> 12 */ 13 14 #ifndef FWIO_H_INCLUDED 15 #define FWIO_H_INCLUDED 16 17 #define BOOTLOADER_CW1X60 "boot_cw1x60.bin" 18 #define FIRMWARE_CW1X60 "wsm_cw1x60.bin" 19 #define FIRMWARE_CUT22 "wsm_22.bin" 20 #define FIRMWARE_CUT20 "wsm_20.bin" 21 #define FIRMWARE_CUT11 "wsm_11.bin" 22 #define FIRMWARE_CUT10 "wsm_10.bin" 23 #define SDD_FILE_CW1X60 "sdd_cw1x60.bin" 24 #define SDD_FILE_22 "sdd_22.bin" 25 #define SDD_FILE_20 "sdd_20.bin" 26 #define SDD_FILE_11 "sdd_11.bin" 27 #define SDD_FILE_10 "sdd_10.bin" 28 29 int cw1200_load_firmware(struct cw1200_common *priv); 30 31 /* SDD definitions */ 32 #define SDD_PTA_CFG_ELT_ID 0xEB 33 #define SDD_REFERENCE_FREQUENCY_ELT_ID 0xc5 34 u32 cw1200_dpll_from_clk(u16 clk); 35 36 #endif 37