blob: 59176c98999fb31e16bdc4c1974b23b8289a8d9a [file] [log] [blame]
Jayesh Choudhary9332a6372024-06-12 14:41:16 +05301// SPDX-License-Identifier: GPL-2.0+
2/*
3 * J722S specific device platform data
4 *
5 * This file is auto generated. Please do not hand edit and report any issues
6 * to Bryan Brattlof <bb@ti.com>.
7 *
8 * Copyright (C) 2024 Texas Instruments Incorporated - https://www.ti.com/
9 */
10
11#include "k3-dev.h"
12
13static struct ti_psc soc_psc_list[] = {
14 [0] = PSC(0, 0x00400000),
15};
16
17static struct ti_pd soc_pd_list[] = {
18 [0] = PSC_PD(0, &soc_psc_list[0], NULL),
19 [1] = PSC_PD(3, &soc_psc_list[0], &soc_pd_list[0]),
20 [2] = PSC_PD(4, &soc_psc_list[0], &soc_pd_list[1]),
21 [3] = PSC_PD(13, &soc_psc_list[0], &soc_pd_list[0]),
22};
23
24static struct ti_lpsc soc_lpsc_list[] = {
25 [0] = PSC_LPSC(0, &soc_psc_list[0], &soc_pd_list[0], NULL),
26 [1] = PSC_LPSC(12, &soc_psc_list[0], &soc_pd_list[0], &soc_lpsc_list[5]),
27 [2] = PSC_LPSC(13, &soc_psc_list[0], &soc_pd_list[0], &soc_lpsc_list[5]),
28 [3] = PSC_LPSC(20, &soc_psc_list[0], &soc_pd_list[0], &soc_lpsc_list[7]),
29 [4] = PSC_LPSC(21, &soc_psc_list[0], &soc_pd_list[0], &soc_lpsc_list[7]),
30 [5] = PSC_LPSC(23, &soc_psc_list[0], &soc_pd_list[0], &soc_lpsc_list[7]),
31 [6] = PSC_LPSC(28, &soc_psc_list[0], &soc_pd_list[0], &soc_lpsc_list[7]),
32 [7] = PSC_LPSC(34, &soc_psc_list[0], &soc_pd_list[0], &soc_lpsc_list[7]),
33 [8] = PSC_LPSC(53, &soc_psc_list[0], &soc_pd_list[1], &soc_lpsc_list[7]),
34 [9] = PSC_LPSC(56, &soc_psc_list[0], &soc_pd_list[2], &soc_lpsc_list[8]),
35 [10] = PSC_LPSC(72, &soc_psc_list[0], &soc_pd_list[3], &soc_lpsc_list[7]),
36 [11] = PSC_LPSC(73, &soc_psc_list[0], &soc_pd_list[3], &soc_lpsc_list[10]),
37 [12] = PSC_LPSC(74, &soc_psc_list[0], &soc_pd_list[3], &soc_lpsc_list[11]),
38};
39
40static struct ti_dev soc_dev_list[] = {
41 PSC_DEV(16, &soc_lpsc_list[0]),
42 PSC_DEV(77, &soc_lpsc_list[0]),
43 PSC_DEV(61, &soc_lpsc_list[0]),
44 PSC_DEV(178, &soc_lpsc_list[1]),
45 PSC_DEV(179, &soc_lpsc_list[2]),
46 PSC_DEV(57, &soc_lpsc_list[3]),
47 PSC_DEV(58, &soc_lpsc_list[4]),
48 PSC_DEV(161, &soc_lpsc_list[5]),
49 PSC_DEV(75, &soc_lpsc_list[6]),
50 PSC_DEV(36, &soc_lpsc_list[7]),
51 PSC_DEV(102, &soc_lpsc_list[7]),
52 PSC_DEV(146, &soc_lpsc_list[7]),
53 PSC_DEV(166, &soc_lpsc_list[8]),
54 PSC_DEV(135, &soc_lpsc_list[9]),
55 PSC_DEV(170, &soc_lpsc_list[10]),
56 PSC_DEV(177, &soc_lpsc_list[11]),
57 PSC_DEV(55, &soc_lpsc_list[12]),
58};
59
60const struct ti_k3_pd_platdata j722s_pd_platdata = {
61 .psc = soc_psc_list,
62 .pd = soc_pd_list,
63 .lpsc = soc_lpsc_list,
64 .devs = soc_dev_list,
65 .num_psc = ARRAY_SIZE(soc_psc_list),
66 .num_pd = ARRAY_SIZE(soc_pd_list),
67 .num_lpsc = ARRAY_SIZE(soc_lpsc_list),
68 .num_devs = ARRAY_SIZE(soc_dev_list),
69};