1 /* Copyright 2013-2017 IBM Corp. 2 * 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 12 * implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef __PHB3_CAPP_H 18 #define __PHB3_CAPP_H 19 20 #define CAPP_SNP_ARRAY_ADDR_REG 0x2013028 21 #define CAPP_APC_MASTER_ARRAY_ADDR_REG 0x201302A 22 #define CAPP_SNP_ARRAY_WRITE_REG 0x2013801 23 #define CAPP_APC_MASTER_ARRAY_WRITE_REG 0x2013802 24 25 #define CAPP_FIR 0x2013000 26 #define CAPP_FIR_MASK 0x2013003 27 #define CAPP_FIR_ACTION0 0x2013006 28 #define CAPP_FIR_ACTION1 0x2013007 29 #define CAPP_ERR_RPT_CLR 0x2013013 30 #define APC_MASTER_PB_CTRL 0x2013018 31 #define APC_MASTER_CAPI_CTRL 0x2013019 32 #define TRANSPORT_CONTROL 0x201301C 33 #define CANNED_PRESP_MAP0 0x201301D 34 #define CANNED_PRESP_MAP1 0x201301E 35 #define CANNED_PRESP_MAP2 0x201301F 36 #define CAPP_ERR_STATUS_CTRL 0x201300E 37 #define FLUSH_SUE_STATE_MAP 0x201300F 38 #define CAPP_TB 0x2013026 39 #define CAPP_TFMR 0x2013027 40 #define CAPP_EPOCH_TIMER_CTRL 0x201302C 41 #define FLUSH_UOP_CONFIG1 0x2013803 42 #define FLUSH_UOP_CONFIG2 0x2013804 43 #define SNOOP_CAPI_CONFIG 0x201301A 44 45 /* 46 * Naples has two CAPP units, statically mapped: 47 * CAPP0 attached to PHB0, and CAPP1 attached to PHB1. 48 * The addresses of CAPP1 XSCOMS registers are 0x180 away. 49 */ 50 #define CAPP1_REG_OFFSET 0x180 51 52 #endif /* __PHB3_CAPP_H */ 53