Bryan Brattlof | 2d982b7 | 2022-11-03 19:13:56 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * AM62AX 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) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/ |
| 9 | */ |
| 10 | |
| 11 | #include "k3-dev.h" |
| 12 | |
| 13 | static struct ti_psc soc_psc_list[] = { |
| 14 | [0] = PSC(0, 0x04000000), |
| 15 | [1] = PSC(1, 0x00400000), |
| 16 | }; |
| 17 | |
| 18 | static struct ti_pd soc_pd_list[] = { |
| 19 | [0] = PSC_PD(0, &soc_psc_list[1], NULL), |
| 20 | [1] = PSC_PD(3, &soc_psc_list[1], &soc_pd_list[0]), |
| 21 | [2] = PSC_PD(4, &soc_psc_list[1], &soc_pd_list[1]), |
| 22 | [3] = PSC_PD(13, &soc_psc_list[1], &soc_pd_list[0]), |
| 23 | }; |
| 24 | |
| 25 | static struct ti_lpsc soc_lpsc_list[] = { |
| 26 | [0] = PSC_LPSC(0, &soc_psc_list[1], &soc_pd_list[0], NULL), |
| 27 | [1] = PSC_LPSC(12, &soc_psc_list[1], &soc_pd_list[0], &soc_lpsc_list[5]), |
| 28 | [2] = PSC_LPSC(13, &soc_psc_list[1], &soc_pd_list[0], &soc_lpsc_list[6]), |
| 29 | [3] = PSC_LPSC(20, &soc_psc_list[1], &soc_pd_list[0], &soc_lpsc_list[8]), |
| 30 | [4] = PSC_LPSC(21, &soc_psc_list[1], &soc_pd_list[0], &soc_lpsc_list[8]), |
| 31 | [5] = PSC_LPSC(23, &soc_psc_list[1], &soc_pd_list[0], &soc_lpsc_list[8]), |
| 32 | [6] = PSC_LPSC(24, &soc_psc_list[1], &soc_pd_list[0], &soc_lpsc_list[8]), |
| 33 | [7] = PSC_LPSC(28, &soc_psc_list[1], &soc_pd_list[0], &soc_lpsc_list[8]), |
| 34 | [8] = PSC_LPSC(34, &soc_psc_list[1], &soc_pd_list[0], &soc_lpsc_list[8]), |
| 35 | [9] = PSC_LPSC(43, &soc_psc_list[1], &soc_pd_list[1], &soc_lpsc_list[8]), |
| 36 | [10] = PSC_LPSC(46, &soc_psc_list[1], &soc_pd_list[2], &soc_lpsc_list[9]), |
| 37 | [11] = PSC_LPSC(60, &soc_psc_list[1], &soc_pd_list[3], &soc_lpsc_list[8]), |
| 38 | [12] = PSC_LPSC(61, &soc_psc_list[1], &soc_pd_list[3], &soc_lpsc_list[11]), |
| 39 | [13] = PSC_LPSC(62, &soc_psc_list[1], &soc_pd_list[3], &soc_lpsc_list[12]), |
| 40 | }; |
| 41 | |
| 42 | static struct ti_dev soc_dev_list[] = { |
| 43 | PSC_DEV(16, &soc_lpsc_list[0]), |
| 44 | PSC_DEV(77, &soc_lpsc_list[0]), |
| 45 | PSC_DEV(61, &soc_lpsc_list[0]), |
| 46 | PSC_DEV(95, &soc_lpsc_list[0]), |
| 47 | PSC_DEV(107, &soc_lpsc_list[0]), |
| 48 | PSC_DEV(178, &soc_lpsc_list[1]), |
| 49 | PSC_DEV(179, &soc_lpsc_list[2]), |
| 50 | PSC_DEV(57, &soc_lpsc_list[3]), |
| 51 | PSC_DEV(58, &soc_lpsc_list[4]), |
| 52 | PSC_DEV(161, &soc_lpsc_list[5]), |
| 53 | PSC_DEV(162, &soc_lpsc_list[6]), |
| 54 | PSC_DEV(75, &soc_lpsc_list[7]), |
Nishanth Menon | be7ce26 | 2023-11-13 08:51:42 -0600 | [diff] [blame^] | 55 | PSC_DEV(36, &soc_lpsc_list[8]), |
Bryan Brattlof | 2d982b7 | 2022-11-03 19:13:56 -0500 | [diff] [blame] | 56 | PSC_DEV(102, &soc_lpsc_list[8]), |
| 57 | PSC_DEV(146, &soc_lpsc_list[8]), |
| 58 | PSC_DEV(166, &soc_lpsc_list[9]), |
| 59 | PSC_DEV(135, &soc_lpsc_list[10]), |
| 60 | PSC_DEV(170, &soc_lpsc_list[11]), |
| 61 | PSC_DEV(177, &soc_lpsc_list[12]), |
| 62 | PSC_DEV(55, &soc_lpsc_list[13]), |
| 63 | }; |
| 64 | |
| 65 | const struct ti_k3_pd_platdata am62ax_pd_platdata = { |
| 66 | .psc = soc_psc_list, |
| 67 | .pd = soc_pd_list, |
| 68 | .lpsc = soc_lpsc_list, |
| 69 | .devs = soc_dev_list, |
Nishanth Menon | af75618 | 2023-07-13 14:36:34 -0500 | [diff] [blame] | 70 | .num_psc = ARRAY_SIZE(soc_psc_list), |
| 71 | .num_pd = ARRAY_SIZE(soc_pd_list), |
| 72 | .num_lpsc = ARRAY_SIZE(soc_lpsc_list), |
| 73 | .num_devs = ARRAY_SIZE(soc_dev_list), |
Bryan Brattlof | 2d982b7 | 2022-11-03 19:13:56 -0500 | [diff] [blame] | 74 | }; |