diff options
Diffstat (limited to 'arch/sh/include/mach-sdk7786/mach/fpga.h')
-rw-r--r-- | arch/sh/include/mach-sdk7786/mach/fpga.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/arch/sh/include/mach-sdk7786/mach/fpga.h b/arch/sh/include/mach-sdk7786/mach/fpga.h index 416b621d94d..40f0c2d3690 100644 --- a/arch/sh/include/mach-sdk7786/mach/fpga.h +++ b/arch/sh/include/mach-sdk7786/mach/fpga.h | |||
@@ -31,11 +31,35 @@ | |||
31 | #define EXTASR 0x110 | 31 | #define EXTASR 0x110 |
32 | #define SPCAR 0x120 | 32 | #define SPCAR 0x120 |
33 | #define INTMSR 0x130 | 33 | #define INTMSR 0x130 |
34 | |||
34 | #define PCIECR 0x140 | 35 | #define PCIECR 0x140 |
36 | #define PCIECR_PCIEMUX1 BIT(15) | ||
37 | #define PCIECR_PCIEMUX0 BIT(14) | ||
38 | #define PCIECR_PRST4 BIT(12) /* slot 4 card present */ | ||
39 | #define PCIECR_PRST3 BIT(11) /* slot 3 card present */ | ||
40 | #define PCIECR_PRST2 BIT(10) /* slot 2 card present */ | ||
41 | #define PCIECR_PRST1 BIT(9) /* slot 1 card present */ | ||
42 | #define PCIECR_CLKEN BIT(4) /* oscillator enable */ | ||
43 | |||
35 | #define FAER 0x150 | 44 | #define FAER 0x150 |
36 | #define USRGPIR 0x160 | 45 | #define USRGPIR 0x160 |
46 | |||
37 | /* 0x170 reserved */ | 47 | /* 0x170 reserved */ |
38 | #define LCLASR 0x180 | 48 | |
49 | #define LCLASR 0x180 | ||
50 | #define LCLASR_FRAMEN BIT(15) | ||
51 | |||
52 | #define LCLASR_FPGA_SEL_SHIFT 12 | ||
53 | #define LCLASR_NAND_SEL_SHIFT 8 | ||
54 | #define LCLASR_NORB_SEL_SHIFT 4 | ||
55 | #define LCLASR_NORA_SEL_SHIFT 0 | ||
56 | |||
57 | #define LCLASR_AREA_MASK 0x7 | ||
58 | |||
59 | #define LCLASR_FPGA_SEL_MASK (LCLASR_AREA_MASK << LCLASR_FPGA_SEL_SHIFT) | ||
60 | #define LCLASR_NAND_SEL_MASK (LCLASR_AREA_MASK << LCLASR_NAND_SEL_SHIFT) | ||
61 | #define LCLASR_NORB_SEL_MASK (LCLASR_AREA_MASK << LCLASR_NORB_SEL_SHIFT) | ||
62 | #define LCLASR_NORA_SEL_MASK (LCLASR_AREA_MASK << LCLASR_NORA_SEL_SHIFT) | ||
39 | 63 | ||
40 | #define SBCR 0x190 | 64 | #define SBCR 0x190 |
41 | #define SCBR_I2CMEN BIT(0) /* FPGA I2C master enable */ | 65 | #define SCBR_I2CMEN BIT(0) /* FPGA I2C master enable */ |