arm/dts: Add channel-id mapping table.
authorMarcos Costa <mfreitas@motorola.com>
Tue, 22 Jan 2019 07:48:56 +0000 (05:48 -0200)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:56 +0000 (17:36 +0800)
'carrier-channel-ids.dtsi' copied from bp-shm2018
branch on 01/22/2019.

Change-Id: I5a98c994bfde07129ab730e878126c13d574c569
Reviewed-on: https://gerrit.mot.com/1298242
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dingwei Luo <luodw1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

arch/arm64/boot/dts/exynos/carrier-channel-ids.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/exynos/exynos9609-robusta2_common.dtsi

diff --git a/arch/arm64/boot/dts/exynos/carrier-channel-ids.dtsi b/arch/arm64/boot/dts/exynos/carrier-channel-ids.dtsi
new file mode 100644 (file)
index 0000000..b18b9c5
--- /dev/null
@@ -0,0 +1,273 @@
+/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016 Motorola Mobility LLC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+
+/ {
+       channel-id-map =
+               "acg",          /* 0 - Engineering or ACG */
+               "amxbr",        /* 1 - LatAm */
+               "amxpr",        /* 2 */
+               "amxmx",        /* 3 */
+               "amxcl",        /* 4 */
+               "amxar",        /* 5 */
+               "amxla",        /* 6 */
+               "amxpe",        /* 7 */
+               "amxco",        /* 8 */
+               "tefbr",        /* 9 */
+               "tefmx",        /* 10 */
+               "tefar",        /* 11 */
+               "tefcl",        /* 12 */
+               "tefpe",        /* 13 */
+               "tefco",        /* 14 */
+               "perar",        /* 15 */
+               "entcl",        /* 16 */
+               "iusmx",        /* 17 */
+               "niibr",        /* 18 */
+               "niicl",        /* 19 */
+               "niimx",        /* 20 */
+               "niipe",        /* 21 */
+               "oibr",         /* 22 */
+               "timbr",        /* 23 */
+               "tigco",        /* 24 */
+               "retbr",        /* 25 */
+               "retar",        /* 26 */
+               "retla",        /* 27 */
+               "retcl",        /* 28 */
+               "tefla",        /* 29 */
+               "retla1st",     /* 30 */
+               "tefunl",       /* 31 */
+               "tigca",        /* 32 */
+               "tigca1st",     /* 33 */
+               "retmx",        /* 34 */
+               "attmx",        /* 35 */
+               "womcl",        /* 36 */
+               "avaco",        /* 37 */
+               "retpe",        /* 38 */
+               "openla",       /* 39 */
+               "opencl",       /* 40 */
+               "openmx",       /* 41 */
+               "altmx",        /* 42 */
+               "openpe",       /* 43 */
+               "undefined",    /* 44 */
+               "undefined",    /* 45 */
+               "undefined",    /* 46 */
+               "undefined",    /* 47 */
+               "undefined",    /* 48 */
+               "undefined",    /* 49 */
+               "undefined",    /* 50 */
+               "undefined",    /* 51 */
+               "undefined",    /* 52 */
+               "undefined",    /* 53 */
+               "undefined",    /* 54 */
+               "undefined",    /* 55 */
+               "undefined",    /* 56 */
+               "undefined",    /* 57 */
+               "undefined",    /* 58 */
+               "undefined",    /* 59 */
+               "undefined",    /* 60 */
+               "undefined",    /* 61 */
+               "undefined",    /* 62 */
+               "undefined",    /* 63 */
+               "reteu",        /* 64 - Europe, Middle East & Africa */
+               "retgb",        /* 65 */
+               "retfr",        /* 66 */
+               "retes",        /* 67 */
+               "retie",        /* 68 */
+               "retde",        /* 69 */
+               "vfgb",         /* 70 */
+               "vfde",         /* 71 */
+               "vffr",         /* 72 */
+               "o2gb",         /* 73 */
+               "o2de",         /* 74 */
+               "orafr",        /* 75 */
+               "bouyfr",       /* 76 */
+               "eegb",         /* 77 */
+               "tescogb",      /* 78 */
+               "yoigo",        /* 79 */
+               "oraes",        /* 80 */
+               "retapac",      /* 81 */
+               "retmea",       /* 82 */
+               "vfit",         /* 83 */
+               "vfes",         /* 84 */
+               "vfeu",         /* 85 */
+               "3gb",          /* 86 */
+               "tescoie",      /* 87 */
+               "altfr",        /* 88 */
+               "3ie",          /* 89 */
+               "altpt",        /* 90 */
+               "timit",        /* 91 */
+               "retma",        /* 92 */
+               "windit",       /* 93 */
+               "vfhu",         /* 94 */
+               "vfro",         /* 95 */
+               "telhu",        /* 96 */
+               "playpl",       /* 97 */
+               "oraeu",        /* 98 */
+               "dteu",         /* 99 */
+               "teleu",        /* 100 */
+               "pluspl",       /* 101 */
+               "dtpl",         /* 102 */
+               "tefes",        /* 103 */
+               "altice",       /* 104 */
+               "vipeu",        /* 105 */
+               "veoneu",       /* 106 */
+               "openeu",       /* 107 */
+               "reteu2",       /* 108 */
+               "undefined",    /* 109 */
+               "undefined",    /* 110 */
+               "undefined",    /* 111 */
+               "undefined",    /* 112 */
+               "undefined",    /* 113 */
+               "undefined",    /* 114 */
+               "undefined",    /* 115 */
+               "undefined",    /* 116 */
+               "undefined",    /* 117 */
+               "undefined",    /* 118 */
+               "undefined",    /* 119 */
+               "undefined",    /* 120 */
+               "undefined",    /* 121 */
+               "undefined",    /* 122 */
+               "undefined",    /* 123 */
+               "undefined",    /* 124 */
+               "undefined",    /* 125 */
+               "undefined",    /* 126 */
+               "undefined",    /* 127 */
+               "retca",        /* 128 - North America */
+               "bwaca",        /* 129 */
+               "tkpca",        /* 130 */
+               "vzw",          /* 131 */
+               "att",          /* 132 */
+               "tmo",          /* 133 */
+               "sprint",       /* 134 */
+               "repw",         /* 135 */
+               "attpre",       /* 136 */
+               "cricket",      /* 137 */
+               "cc",           /* 138 */
+               "usc",          /* 139 */
+               "tracfone",     /* 140 */
+               "retus",        /* 141 */
+               "metropcs",     /* 142 */
+               "rcica",        /* 143 */
+               "wndca",        /* 144 */
+               "dmc",          /* 145 */
+               "bby",          /* 146 */
+               "amz",          /* 147 */
+               "acg",          /* 148 */
+               "lra",          /* 149 */
+               "comcast",      /* 150 */
+               "fi",           /* 151 */
+               "vzwpre",       /* 152 */
+               "undefined",    /* 153 */
+               "undefined",    /* 154 */
+               "undefined",    /* 155 */
+               "undefined",    /* 156 */
+               "undefined",    /* 157 */
+               "undefined",    /* 158 */
+               "undefined",    /* 159 */
+               "undefined",    /* 160 */
+               "undefined",    /* 161 */
+               "undefined",    /* 162 */
+               "undefined",    /* 163 */
+               "undefined",    /* 164 */
+               "undefined",    /* 165 */
+               "undefined",    /* 166 */
+               "undefined",    /* 167 */
+               "undefined",    /* 168 */
+               "undefined",    /* 169 */
+               "undefined",    /* 170 */
+               "undefined",    /* 171 */
+               "undefined",    /* 172 */
+               "undefined",    /* 173 */
+               "undefined",    /* 174 */
+               "undefined",    /* 175 */
+               "undefined",    /* 176 */
+               "undefined",    /* 177 */
+               "undefined",    /* 178 */
+               "undefined",    /* 179 */
+               "undefined",    /* 180 */
+               "undefined",    /* 181 */
+               "undefined",    /* 182 */
+               "undefined",    /* 183 */
+               "undefined",    /* 184 */
+               "undefined",    /* 185 */
+               "undefined",    /* 186 */
+               "undefined",    /* 187 */
+               "undefined",    /* 188 */
+               "undefined",    /* 189 */
+               "undefined",    /* 190 */
+               "undefined",    /* 191 */
+               "retin",        /* 192 - Asia & Oceania */
+               "retcn",        /* 193 */
+               "telstra",      /* 194 */
+               "vfau",         /* 195 */
+               "amzin",        /* 196 */
+               "jioin",        /* 197 */
+               "airin",        /* 198 */
+               "retid",        /* 199 */
+               "cmcc",         /* 200 */
+               "ctcn",         /* 201 */
+               "cucn",         /* 202 */
+               "retmm",        /* 203 */
+               "gt4gtw",       /* 204 */
+               "retth",        /* 205 */
+               "retru",        /* 206 */
+               "trueth",       /* 207 */
+               "smarthk",      /* 208 */
+               "mobilpk",      /* 209 */
+               "retsea",       /* 210 */
+               "undefined",    /* 211 */
+               "undefined",    /* 212 */
+               "undefined",    /* 213 */
+               "undefined",    /* 214 */
+               "undefined",    /* 215 */
+               "undefined",    /* 216 */
+               "undefined",    /* 217 */
+               "undefined",    /* 218 */
+               "undefined",    /* 219 */
+               "undefined",    /* 220 */
+               "undefined",    /* 221 */
+               "undefined",    /* 222 */
+               "undefined",    /* 223 */
+               "undefined",    /* 224 */
+               "undefined",    /* 225 */
+               "undefined",    /* 226 */
+               "undefined",    /* 227 */
+               "undefined",    /* 228 */
+               "undefined",    /* 229 */
+               "undefined",    /* 230 */
+               "undefined",    /* 231 */
+               "undefined",    /* 232 */
+               "undefined",    /* 233 */
+               "undefined",    /* 234 */
+               "undefined",    /* 235 */
+               "undefined",    /* 236 */
+               "undefined",    /* 237 */
+               "undefined",    /* 238 */
+               "undefined",    /* 239 */
+               "undefined",    /* 240 */
+               "undefined",    /* 241 */
+               "undefined",    /* 242 */
+               "undefined",    /* 243 */
+               "undefined",    /* 244 */
+               "undefined",    /* 245 */
+               "undefined",    /* 246 */
+               "undefined",    /* 247 */
+               "undefined",    /* 248 */
+               "undefined",    /* 249 */
+               "undefined",    /* 250 */
+               "undefined",    /* 251 */
+               "undefined",    /* 252 */
+               "undefined",    /* 253 */
+               "undefined",    /* 254 */
+               "undefined";    /* 255 */
+};
index 93ec88498e56e22b95f04107a64cfbd2a49dbb38..18ae5cf841ac221732007defd69ab06c046b01ff 100755 (executable)
@@ -18,6 +18,7 @@
 #include "wing-sensor.dtsi"
 #include "exynos9610-robusta2-motor.dtsi"
 #include "exynos9610_gpio_config_macros.dtsi"
+#include "carrier-channel-ids.dtsi"
 
 / {
        fragment@common {