Go to the documentation of this file.
12 #ifdef CONFIG_SOC_TYPE_XWAY
17 #define SOC_ID_DANUBE1 0x129
18 #define SOC_ID_DANUBE2 0x12B
19 #define SOC_ID_TWINPASS 0x12D
20 #define SOC_ID_AMAZON_SE_1 0x152
21 #define SOC_ID_AMAZON_SE_2 0x153
22 #define SOC_ID_ARX188 0x16C
23 #define SOC_ID_ARX168_1 0x16D
24 #define SOC_ID_ARX168_2 0x16E
25 #define SOC_ID_ARX182 0x16F
26 #define SOC_ID_GRX188 0x170
27 #define SOC_ID_GRX168 0x171
29 #define SOC_ID_VRX288 0x1C0
30 #define SOC_ID_VRX282 0x1C1
31 #define SOC_ID_VRX268 0x1C2
32 #define SOC_ID_GRX268 0x1C8
33 #define SOC_ID_GRX288 0x1C9
34 #define SOC_ID_VRX288_2 0x00B
35 #define SOC_ID_VRX268_2 0x00C
36 #define SOC_ID_GRX288_2 0x00D
37 #define SOC_ID_GRX282_2 0x00E
40 #define SOC_TYPE_DANUBE 0x01
41 #define SOC_TYPE_TWINPASS 0x02
42 #define SOC_TYPE_AR9 0x03
43 #define SOC_TYPE_VR9 0x04
44 #define SOC_TYPE_VR9_2 0x05
45 #define SOC_TYPE_AMAZON_SE 0x06
48 #define BS_EXT_ROM 0x0
58 #define ltq_cgu_w32(x, y) ltq_w32((x), ltq_cgu_membase + (y))
59 #define ltq_cgu_r32(x) ltq_r32(ltq_cgu_membase + (x))
66 #define LTQ_ASC1_BASE_ADDR 0x1E100C00
67 #define LTQ_EARLY_ASC KSEG1ADDR(LTQ_ASC1_BASE_ADDR)
70 #define LTQ_EBU_BUSCON0 0x0060
71 #define LTQ_EBU_PCC_CON 0x0090
72 #define LTQ_EBU_PCC_IEN 0x00A4
73 #define LTQ_EBU_PCC_ISTAT 0x00A0
74 #define LTQ_EBU_BUSCON1 0x0064
75 #define LTQ_EBU_ADDRSEL1 0x0024
76 #define EBU_WRDIS 0x80000000
79 #define LTQ_RST_CAUSE_WDTRST 0x20
82 #define LTQ_MPS_BASE_ADDR (KSEG1 + 0x1F107000)
83 #define LTQ_MPS_CHIPID ((u32 *)(LTQ_MPS_BASE_ADDR + 0x0344))
86 #define PMU_PPE BIT(13)