Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/ |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
Neha Malcom Francis | be557e9 | 2023-09-27 18:39:55 +0530 | [diff] [blame] | 8 | #include "k3-j721e-common-proc-board.dts" |
Praneeth Bajjuri | 1107753 | 2020-12-03 17:43:47 -0600 | [diff] [blame] | 9 | #include "k3-j721e-ddr-evm-lp4-4266.dtsi" |
Lokesh Vutla | 430a0b3 | 2019-10-07 19:26:37 +0530 | [diff] [blame] | 10 | #include "k3-j721e-ddr.dtsi" |
Neha Malcom Francis | be557e9 | 2023-09-27 18:39:55 +0530 | [diff] [blame] | 11 | #include "k3-j721e-common-proc-board-u-boot.dtsi" |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 12 | |
| 13 | / { |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 14 | chosen { |
| 15 | tick-timer = &mcu_timer0; |
| 16 | }; |
| 17 | |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 18 | aliases { |
| 19 | remoteproc0 = &sysctrler; |
| 20 | remoteproc1 = &a72_0; |
| 21 | }; |
| 22 | |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 23 | a72_0: a72@0 { |
| 24 | compatible = "ti,am654-rproc"; |
| 25 | reg = <0x0 0x00a90000 0x0 0x10>; |
| 26 | power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>, |
Manorit Chawdhry | d9765d5 | 2023-04-14 09:47:54 +0530 | [diff] [blame] | 27 | <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>, |
| 28 | <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 29 | resets = <&k3_reset 202 0>; |
Nishanth Menon | 975b78c | 2021-01-06 13:20:31 -0600 | [diff] [blame] | 30 | clocks = <&k3_clks 61 1>; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 31 | assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>; |
| 32 | assigned-clock-rates = <2000000000>, <200000000>; |
| 33 | ti,sci = <&dmsc>; |
| 34 | ti,sci-proc-id = <32>; |
| 35 | ti,sci-host-id = <10>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 36 | bootph-pre-ram; |
Keerthy | be86d32 | 2019-10-24 15:00:58 +0530 | [diff] [blame] | 37 | }; |
Vignesh Raghavendra | 9818197 | 2021-06-07 19:47:50 +0530 | [diff] [blame] | 38 | |
| 39 | dm_tifs: dm-tifs { |
| 40 | compatible = "ti,j721e-dm-sci"; |
| 41 | ti,host-id = <3>; |
| 42 | ti,secure-host; |
| 43 | mbox-names = "rx", "tx"; |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 44 | mboxes= <&secure_proxy_mcu 21>, |
| 45 | <&secure_proxy_mcu 23>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 46 | bootph-pre-ram; |
Vignesh Raghavendra | 9818197 | 2021-06-07 19:47:50 +0530 | [diff] [blame] | 47 | }; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 48 | }; |
| 49 | |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 50 | &mcu_timer0 { |
| 51 | status = "okay"; |
| 52 | bootph-pre-ram; |
Tero Kristo | 3cafcd8 | 2020-02-14 11:18:17 +0200 | [diff] [blame] | 53 | }; |
| 54 | |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 55 | &dmsc { |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 56 | mboxes= <&secure_proxy_mcu 8>, <&secure_proxy_mcu 6>, <&secure_proxy_mcu 5>; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 57 | mbox-names = "tx", "rx", "notify"; |
| 58 | ti,host-id = <4>; |
| 59 | ti,secure-host; |
| 60 | }; |
| 61 | |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 62 | &secure_proxy_mcu { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 63 | bootph-pre-ram; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 64 | status = "okay"; |
| 65 | }; |
| 66 | |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 67 | &cbass_mcu_wakeup { |
| 68 | sysctrler: sysctrler { |
| 69 | bootph-pre-ram; |
| 70 | compatible = "ti,am654-system-controller"; |
| 71 | mboxes= <&secure_proxy_mcu 4>, <&secure_proxy_mcu 5>; |
| 72 | mbox-names = "tx", "rx"; |
| 73 | }; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 74 | }; |
| 75 | |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 76 | &mcu_ringacc { |
| 77 | ti,sci = <&dm_tifs>; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 78 | }; |
| 79 | |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 80 | &mcu_udmap { |
| 81 | ti,sci = <&dm_tifs>; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 82 | }; |
| 83 | |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 84 | &wkup_i2c0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 85 | bootph-pre-ram; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 86 | tps659413a: tps659413a@48 { |
| 87 | reg = <0x48>; |
| 88 | compatible = "ti,tps659413"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 89 | bootph-pre-ram; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 90 | pinctrl-names = "default"; |
| 91 | pinctrl-0 = <&wkup_i2c0_pins_default>; |
| 92 | clock-frequency = <400000>; |
| 93 | |
| 94 | regulators: regulators { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 95 | bootph-pre-ram; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 96 | buck12_reg: buck12 { |
Keerthy | ac20ebd | 2022-02-10 09:25:58 +0530 | [diff] [blame] | 97 | /*VDD_CPU*/ |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 98 | regulator-name = "buck12"; |
Keerthy | ac20ebd | 2022-02-10 09:25:58 +0530 | [diff] [blame] | 99 | regulator-min-microvolt = <600000>; |
| 100 | regulator-max-microvolt = <900000>; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 101 | regulator-always-on; |
| 102 | regulator-boot-on; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 103 | bootph-pre-ram; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 104 | }; |
| 105 | }; |
Neha Malcom Francis | be557e9 | 2023-09-27 18:39:55 +0530 | [diff] [blame] | 106 | |
| 107 | esm: esm { |
| 108 | compatible = "ti,tps659413-esm"; |
| 109 | bootph-pre-ram; |
| 110 | }; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 111 | }; |
| 112 | }; |
| 113 | |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 114 | &wkup_uart0_pins_default { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 115 | bootph-pre-ram; |
Keerthy | 7c9fa30 | 2019-10-24 15:01:00 +0530 | [diff] [blame] | 116 | }; |
| 117 | |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 118 | &mcu_uart0_pins_default { |
| 119 | bootph-pre-ram; |
Vignesh Raghavendra | 8a290cc | 2020-01-27 23:22:15 +0530 | [diff] [blame] | 120 | }; |
| 121 | |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 122 | &wkup_vtm0 { |
| 123 | vdd-supply-2 = <&buck12_reg>; |
| 124 | bootph-pre-ram; |
Vaishnav Achath | fb708a4 | 2022-05-09 11:50:11 +0530 | [diff] [blame] | 125 | }; |
| 126 | |
Vignesh Raghavendra | da67437 | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 127 | &ospi0 { |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 128 | /* Address change for data region (32-bit) */ |
Vignesh Raghavendra | da67437 | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 129 | reg = <0x0 0x47040000 0x0 0x100>, |
| 130 | <0x0 0x50000000 0x0 0x8000000>; |
Vignesh Raghavendra | da67437 | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 131 | }; |
| 132 | |
Keerthy | 7b0b42d | 2020-03-04 10:10:01 +0530 | [diff] [blame] | 133 | &ospi1 { |
Neha Malcom Francis | cf5bc69 | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 134 | /* Address change for data region (32-bit) */ |
Keerthy | 7b0b42d | 2020-03-04 10:10:01 +0530 | [diff] [blame] | 135 | reg = <0x0 0x47050000 0x0 0x100>, |
| 136 | <0x0 0x58000000 0x0 0x8000000>; |
Sinthu Raja | 7fa564c | 2022-02-09 15:06:54 +0530 | [diff] [blame] | 137 | }; |