Lines Matching +full:soc +full:- +full:s

1 // SPDX-License-Identifier: GPL-2.0-or-later
34 /* SoC die attribute definition for QorIQ platform */
37 * Power Architecture-based SoCs T Series
40 /* Die: T4240, SoC: T4240/T4160/T4080 */
45 /* Die: T1040, SoC: T1040/T1020/T1042/T1022 */
50 /* Die: T2080, SoC: T2080/T2081 */
55 /* Die: T1024, SoC: T1024/T1014/T1023/T1013 */
62 * ARM-based SoCs LS Series
65 /* Die: LS1043A, SoC: LS1043A/LS1023A */
70 /* Die: LS2080A, SoC: LS2080A/LS2040A/LS2085A */
75 /* Die: LS1088A, SoC: LS1088A/LS1048A/LS1084A/LS1044A */
80 /* Die: LS1012A, SoC: LS1012A */
85 /* Die: LS1046A, SoC: LS1046A/LS1026A */
90 /* Die: LS2088A, SoC: LS2088A/LS2048A/LS2084A/LS2044A */
95 /* Die: LS1021A, SoC: LS1021A/LS1020A/LS1022A */
100 /* Die: LX2160A, SoC: LX2160A/LX2120A/LX2080A */
105 /* Die: LS1028A, SoC: LS1028A */
116 while (matches->svr) { in fsl_soc_die_match()
117 if (matches->svr == (svr & matches->mask)) in fsl_soc_die_match()
128 if (!guts || !guts->regs) in fsl_guts_get_svr()
131 if (guts->little_endian) in fsl_guts_get_svr()
132 svr = ioread32(&guts->regs->svr); in fsl_guts_get_svr()
134 svr = ioread32be(&guts->regs->svr); in fsl_guts_get_svr()
141 struct device_node *np = pdev->dev.of_node; in fsl_guts_probe()
142 struct device *dev = &pdev->dev; in fsl_guts_probe()
151 return -ENOMEM; in fsl_guts_probe()
153 guts->little_endian = of_property_read_bool(np, "little-endian"); in fsl_guts_probe()
156 guts->regs = devm_ioremap_resource(dev, res); in fsl_guts_probe()
157 if (IS_ERR(guts->regs)) in fsl_guts_probe()
158 return PTR_ERR(guts->regs); in fsl_guts_probe()
160 /* Register soc device */ in fsl_guts_probe()
171 "QorIQ %s", soc_die->die); in fsl_guts_probe()
176 return -ENOMEM; in fsl_guts_probe()
180 return -ENOMEM; in fsl_guts_probe()
184 return -ENOMEM; in fsl_guts_probe()
190 pr_info("Machine: %s\n", soc_dev_attr.machine); in fsl_guts_probe()
191 pr_info("SoC family: %s\n", soc_dev_attr.family); in fsl_guts_probe()
192 pr_info("SoC ID: %s, Revision: %s\n", in fsl_guts_probe()
209 { .compatible = "fsl,qoriq-device-config-1.0", },
210 { .compatible = "fsl,qoriq-device-config-2.0", },
211 { .compatible = "fsl,p1010-guts", },
212 { .compatible = "fsl,p1020-guts", },
213 { .compatible = "fsl,p1021-guts", },
214 { .compatible = "fsl,p1022-guts", },
215 { .compatible = "fsl,p1023-guts", },
216 { .compatible = "fsl,p2020-guts", },
217 { .compatible = "fsl,bsc9131-guts", },
218 { .compatible = "fsl,bsc9132-guts", },
219 { .compatible = "fsl,mpc8536-guts", },
220 { .compatible = "fsl,mpc8544-guts", },
221 { .compatible = "fsl,mpc8548-guts", },
222 { .compatible = "fsl,mpc8568-guts", },
223 { .compatible = "fsl,mpc8569-guts", },
224 { .compatible = "fsl,mpc8572-guts", },
225 { .compatible = "fsl,ls1021a-dcfg", },
226 { .compatible = "fsl,ls1043a-dcfg", },
227 { .compatible = "fsl,ls2080a-dcfg", },
228 { .compatible = "fsl,ls1088a-dcfg", },
229 { .compatible = "fsl,ls1012a-dcfg", },
230 { .compatible = "fsl,ls1046a-dcfg", },
231 { .compatible = "fsl,lx2160a-dcfg", },
232 { .compatible = "fsl,ls1028a-dcfg", },
239 .name = "fsl-guts",