Go to the documentation of this file.
26 #ifndef __RTL8712_SYSCFG_BITDEF_H__
27 #define __RTL8712_SYSCFG_BITDEF_H__
35 #define iso_LDR2RP_SHT 8
36 #define iso_LDR2RP BIT(iso_LDR2RP_SHT)
39 #define FEN_DIO_SDIO_SHT 0
40 #define FEN_DIO_SDIO BIT(FEN_DIO_SDIO_SHT)
41 #define FEN_SDIO_SHT 1
42 #define FEN_SDIO BIT(FEN_SDIO_SHT)
43 #define FEN_USBA_SHT 2
44 #define FEN_USBA BIT(FEN_USBA_SHT)
45 #define FEN_UPLL_SHT 3
46 #define FEN_UPLL BIT(FEN_UPLL_SHT)
47 #define FEN_USBD_SHT 4
48 #define FEN_USBD BIT(FEN_USBD_SHT)
49 #define FEN_DIO_PCIE_SHT 5
50 #define FEN_DIO_PCIE BIT(FEN_DIO_PCIE_SHT)
51 #define FEN_PCIEA_SHT 6
52 #define FEN_PCIEA BIT(FEN_PCIEA_SHT)
53 #define FEN_PPLL_SHT 7
54 #define FEN_PPLL BIT(FEN_PPLL_SHT)
55 #define FEN_PCIED_SHT 8
56 #define FEN_PCIED BIT(FEN_PCIED_SHT)
57 #define FEN_CPUEN_SHT 10
58 #define FEN_CPUEN BIT(FEN_CPUEN_SHT)
59 #define FEN_DCORE_SHT 11
60 #define FEN_DCORE BIT(FEN_DCORE_SHT)
61 #define FEN_ELDR_SHT 12
62 #define FEN_ELDR BIT(FEN_ELDR_SHT)
63 #define PWC_DV2LDR_SHT 13
64 #define PWC_DV2LDR BIT(PWC_DV2LDR_SHT)
67 #define SYS_CLKSEL_SHT 0
68 #define SYS_CLKSEL BIT(SYS_CLKSEL_SHT)
69 #define PS_CLKSEL_SHT 1
70 #define PS_CLKSEL BIT(PS_CLKSEL_SHT)
72 #define CPU_CLKSEL_SHT 2
73 #define CPU_CLKSEL BIT(CPU_CLKSEL_SHT)
76 #define INT32K_EN_SHT 3
77 #define INT32K_EN BIT(INT32K_EN_SHT)
79 #define MACSLP BIT(MACSLP_SHT)
80 #define MAC_CLK_EN_SHT 11
81 #define MAC_CLK_EN BIT(MAC_CLK_EN_SHT)
82 #define SYS_CLK_EN_SHT 12
83 #define SYS_CLK_EN BIT(SYS_CLK_EN_SHT)
84 #define RING_CLK_EN_SHT 13
85 #define RING_CLK_EN BIT(RING_CLK_EN_SHT)
86 #define SWHW_SEL_SHT 14
87 #define SWHW_SEL BIT(SWHW_SEL_SHT)
89 #define FWHW_SEL_SHT 15
90 #define FWHW_SEL BIT(FWHW_SEL_SHT)
94 #define _VPDIDX_MSK 0xFF00
96 #define _EEM_MSK 0x00C0
100 #define _EEPROM_EN BIT(5)
101 #define _9356SEL BIT(4)
108 #define AFE_MISC_USB_MBEN_SHT 7
109 #define AFE_MISC_USB_MBEN BIT(AFE_MISC_USB_MBEN_SHT)
110 #define AFE_MISC_USB_BGEN_SHT 6
111 #define AFE_MISC_USB_BGEN BIT(AFE_MISC_USB_BGEN_SHT)
112 #define AFE_MISC_LD12_VDAJ_SHT 4
113 #define AFE_MISC_LD12_VDAJ_MSK 0X0030
114 #define AFE_MISC_LD12_VDAJ BIT(AFE_MISC_LD12_VDAJ_SHT)
115 #define AFE_MISC_I32_EN_SHT 3
116 #define AFE_MISC_I32_EN BIT(AFE_MISC_I32_EN_SHT)
117 #define AFE_MISC_E32_EN_SHT 2
118 #define AFE_MISC_E32_EN BIT(AFE_MISC_E32_EN_SHT)
119 #define AFE_MISC_MBEN_SHT 1
120 #define AFE_MISC_MBEN BIT(AFE_MISC_MBEN_SHT)
122 #define AFE_MISC_BGEN_SHT 0
123 #define AFE_MISC_BGEN BIT(AFE_MISC_BGEN_SHT)
130 #define SPS1_SWEN BIT(1)
131 #define SPS1_LDEN BIT(0)
137 #define LDA15_EN BIT(0)
143 #define LDV12_EN BIT(0)
144 #define LDV12_SDBY BIT(1)
147 #define _CLK_GATE_EN BIT(0)
151 #define EF_FLAG BIT(31)
153 #define EF_PGPD 0x70000000
154 #define EF_RDT 0x0F000000
156 #define EF_PDN_EN BIT(19)
157 #define ALD_EN BIT(18)
158 #define EF_ADDR 0x0003FF00
159 #define EF_DATA 0x000000FF
162 #define LDOE25_EN BIT(31)
165 #define EFUSE_CLK_EN BIT(1)
166 #define EFUSE_CLK_SEL BIT(0)