Chip data updates for Odyssey PLL unlock attentions

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ib9eb382f30a11e0f5823ddee6131097afd7412f6
diff --git a/chip_data/odyssey/node_tp_local_fir.json b/chip_data/odyssey/node_tp_local_fir.json
index f67d7ed..a0b98e2 100644
--- a/chip_data/odyssey/node_tp_local_fir.json
+++ b/chip_data/odyssey/node_tp_local_fir.json
@@ -274,7 +274,10 @@
                     "desc": "unused"
                 },
                 "18": {
-                    "desc": "Error reported from one or more PCB responder - PLL lock/unlock"
+                    "desc": "PCB slave error",
+                    "child_node": {
+                        "name": "PLL_UNLOCK"
+                    }
                 },
                 "19": {
                     "desc": "SBE - PPE internal hardware error",
diff --git a/chip_data/odyssey/pll_unlock.json b/chip_data/odyssey/pll_unlock.json
new file mode 100644
index 0000000..63d88fa
--- /dev/null
+++ b/chip_data/odyssey/pll_unlock.json
@@ -0,0 +1,405 @@
+{
+    "version": 1,
+    "model_ec": ["ODYSSEY_10"],
+    "registers": {
+        "BC_OR_PCBSLV_ERROR": {
+            "instances": {
+                "0": "0x470F001F"
+            }
+        },
+        "PCBSLV_CONFIG": {
+            "instances": {
+                "1": "0x010F001E",
+                "8": "0x080F001E"
+            }
+        },
+        "PCBSLV_ERROR": {
+            "instances": {
+                "1": "0x010F001F",
+                "8": "0x080F001F"
+            }
+        }
+    },
+    "isolation_nodes": {
+        "PLL_UNLOCK": {
+            "instances": [0],
+            "rules": [
+                {
+                    "attn_type": ["CHIP_CS"],
+                    "node_inst": [0],
+                    "expr": {
+                        "expr_type": "and",
+                        "exprs": [
+                            {
+                                "expr_type": "or",
+                                "exprs": [
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 24
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 25
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 26
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 27
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 28
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 29
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 30
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 31
+                                    }
+                                ]
+                            },
+                            {
+                                "expr_type": "int",
+                                "int_value": "0x8000000000000000"
+                            }
+                        ]
+                    }
+                },
+                {
+                    "attn_type": ["RECOV"],
+                    "node_inst": [0],
+                    "expr": {
+                        "expr_type": "and",
+                        "exprs": [
+                            {
+                                "expr_type": "or",
+                                "exprs": [
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 24
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 25
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 26
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 27
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 28
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 29
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 30
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 31
+                                    }
+                                ]
+                            },
+                            {
+                                "expr_type": "int",
+                                "int_value": "0x8000000000000000"
+                            }
+                        ]
+                    }
+                },
+                {
+                    "attn_type": ["SP_ATTN"],
+                    "node_inst": [0],
+                    "expr": {
+                        "expr_type": "and",
+                        "exprs": [
+                            {
+                                "expr_type": "or",
+                                "exprs": [
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 24
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 25
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 26
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 27
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 28
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 29
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 30
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 31
+                                    }
+                                ]
+                            },
+                            {
+                                "expr_type": "int",
+                                "int_value": "0x8000000000000000"
+                            }
+                        ]
+                    }
+                },
+                {
+                    "attn_type": ["UNIT_CS"],
+                    "node_inst": [0],
+                    "expr": {
+                        "expr_type": "and",
+                        "exprs": [
+                            {
+                                "expr_type": "or",
+                                "exprs": [
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 24
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 25
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 26
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 27
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 28
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 29
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 30
+                                    },
+                                    {
+                                        "expr_type": "lshift",
+                                        "expr": {
+                                            "expr_type": "reg",
+                                            "reg_name": "BC_OR_PCBSLV_ERROR"
+                                        },
+                                        "shift_value": 31
+                                    }
+                                ]
+                            },
+                            {
+                                "expr_type": "int",
+                                "int_value": "0x8000000000000000"
+                            }
+                        ]
+                    }
+                }
+            ],
+            "bits": {
+                "0": {
+                    "desc": "PLL unlock"
+                }
+            },
+            "capture_groups": [
+                {
+                    "group_name": "PLL_UNLOCK",
+                    "group_inst": {
+                        "0": 0
+                    }
+                }
+            ]
+        }
+    },
+    "capture_groups": {
+        "PLL_UNLOCK": [
+            {
+                "reg_name": "PCBSLV_CONFIG",
+                "reg_inst": {
+                    "0": 1
+                }
+            },
+            {
+                "reg_name": "PCBSLV_CONFIG",
+                "reg_inst": {
+                    "0": 8
+                }
+            },
+            {
+                "reg_name": "BC_OR_PCBSLV_ERROR",
+                "reg_inst": {
+                    "0": 0
+                }
+            },
+            {
+                "reg_name": "PCBSLV_ERROR",
+                "reg_inst": {
+                    "0": 1
+                }
+            },
+            {
+                "reg_name": "PCBSLV_ERROR",
+                "reg_inst": {
+                    "0": 8
+                }
+            }
+        ]
+    }
+}