Dave Gerlach | 6bf9755 | 2021-06-11 11:45:18 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * J721E specific device platform data |
| 4 | * |
Dave Gerlach | 0949b99 | 2021-09-07 17:16:56 -0500 | [diff] [blame] | 5 | * This file is auto generated. Please do not hand edit and report any issues |
| 6 | * to Dave Gerlach <d-gerlach@ti.com>. |
| 7 | * |
| 8 | * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ |
Dave Gerlach | 6bf9755 | 2021-06-11 11:45:18 +0300 | [diff] [blame] | 9 | */ |
Dave Gerlach | 0949b99 | 2021-09-07 17:16:56 -0500 | [diff] [blame] | 10 | |
Dave Gerlach | 6bf9755 | 2021-06-11 11:45:18 +0300 | [diff] [blame] | 11 | #include "k3-dev.h" |
| 12 | |
| 13 | static struct ti_psc soc_psc_list[] = { |
| 14 | [0] = PSC(0, 0x00400000), |
| 15 | [1] = PSC(1, 0x42000000), |
| 16 | }; |
| 17 | |
| 18 | static struct ti_pd soc_pd_list[] = { |
| 19 | [0] = PSC_PD(0, &soc_psc_list[0], NULL), |
| 20 | [1] = PSC_PD(14, &soc_psc_list[0], NULL), |
| 21 | [2] = PSC_PD(15, &soc_psc_list[0], &soc_pd_list[1]), |
| 22 | [3] = PSC_PD(16, &soc_psc_list[0], &soc_pd_list[1]), |
| 23 | [4] = PSC_PD(0, &soc_psc_list[1], NULL), |
| 24 | }; |
| 25 | |
| 26 | static struct ti_lpsc soc_lpsc_list[] = { |
| 27 | [0] = PSC_LPSC(0, &soc_psc_list[0], &soc_pd_list[0], NULL), |
| 28 | [1] = PSC_LPSC(7, &soc_psc_list[0], &soc_pd_list[0], NULL), |
| 29 | [2] = PSC_LPSC(14, &soc_psc_list[0], &soc_pd_list[0], &soc_lpsc_list[3]), |
| 30 | [3] = PSC_LPSC(15, &soc_psc_list[0], &soc_pd_list[0], NULL), |
| 31 | [4] = PSC_LPSC(20, &soc_psc_list[0], &soc_pd_list[0], NULL), |
| 32 | [5] = PSC_LPSC(21, &soc_psc_list[0], &soc_pd_list[0], NULL), |
| 33 | [6] = PSC_LPSC(23, &soc_psc_list[0], &soc_pd_list[0], NULL), |
| 34 | [7] = PSC_LPSC(25, &soc_psc_list[0], &soc_pd_list[0], NULL), |
| 35 | [8] = PSC_LPSC(78, &soc_psc_list[0], &soc_pd_list[1], NULL), |
| 36 | [9] = PSC_LPSC(80, &soc_psc_list[0], &soc_pd_list[2], &soc_lpsc_list[8]), |
| 37 | [10] = PSC_LPSC(81, &soc_psc_list[0], &soc_pd_list[3], &soc_lpsc_list[8]), |
| 38 | [11] = PSC_LPSC(0, &soc_psc_list[1], &soc_pd_list[4], NULL), |
| 39 | [12] = PSC_LPSC(3, &soc_psc_list[1], &soc_pd_list[4], NULL), |
| 40 | [13] = PSC_LPSC(10, &soc_psc_list[1], &soc_pd_list[4], NULL), |
| 41 | [14] = PSC_LPSC(11, &soc_psc_list[1], &soc_pd_list[4], NULL), |
| 42 | [15] = PSC_LPSC(12, &soc_psc_list[1], &soc_pd_list[4], NULL), |
| 43 | }; |
| 44 | |
| 45 | static struct ti_dev soc_dev_list[] = { |
| 46 | PSC_DEV(30, &soc_lpsc_list[0]), |
| 47 | PSC_DEV(61, &soc_lpsc_list[0]), |
| 48 | PSC_DEV(146, &soc_lpsc_list[1]), |
Bhavya Kapoor | 9798f81 | 2023-05-11 13:14:14 +0530 | [diff] [blame] | 49 | PSC_DEV(279, &soc_lpsc_list[1]), |
Dave Gerlach | 6bf9755 | 2021-06-11 11:45:18 +0300 | [diff] [blame] | 50 | PSC_DEV(90, &soc_lpsc_list[2]), |
| 51 | PSC_DEV(47, &soc_lpsc_list[3]), |
| 52 | PSC_DEV(288, &soc_lpsc_list[4]), |
| 53 | PSC_DEV(289, &soc_lpsc_list[5]), |
| 54 | PSC_DEV(92, &soc_lpsc_list[6]), |
| 55 | PSC_DEV(91, &soc_lpsc_list[7]), |
| 56 | PSC_DEV(4, &soc_lpsc_list[8]), |
| 57 | PSC_DEV(202, &soc_lpsc_list[9]), |
| 58 | PSC_DEV(203, &soc_lpsc_list[10]), |
| 59 | PSC_DEV(102, &soc_lpsc_list[11]), |
| 60 | PSC_DEV(103, &soc_lpsc_list[11]), |
| 61 | PSC_DEV(104, &soc_lpsc_list[11]), |
| 62 | PSC_DEV(154, &soc_lpsc_list[11]), |
| 63 | PSC_DEV(149, &soc_lpsc_list[11]), |
| 64 | PSC_DEV(113, &soc_lpsc_list[12]), |
| 65 | PSC_DEV(197, &soc_lpsc_list[12]), |
| 66 | PSC_DEV(103, &soc_lpsc_list[13]), |
| 67 | PSC_DEV(104, &soc_lpsc_list[14]), |
| 68 | PSC_DEV(102, &soc_lpsc_list[15]), |
| 69 | }; |
| 70 | |
| 71 | const struct ti_k3_pd_platdata j721e_pd_platdata = { |
| 72 | .psc = soc_psc_list, |
| 73 | .pd = soc_pd_list, |
| 74 | .lpsc = soc_lpsc_list, |
| 75 | .devs = soc_dev_list, |
Nishanth Menon | af75618 | 2023-07-13 14:36:34 -0500 | [diff] [blame] | 76 | .num_psc = ARRAY_SIZE(soc_psc_list), |
| 77 | .num_pd = ARRAY_SIZE(soc_pd_list), |
| 78 | .num_lpsc = ARRAY_SIZE(soc_lpsc_list), |
| 79 | .num_devs = ARRAY_SIZE(soc_dev_list), |
Dave Gerlach | 6bf9755 | 2021-06-11 11:45:18 +0300 | [diff] [blame] | 80 | }; |