Lokesh Vutla | aebb2a4 | 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 | d73851b | 2023-09-27 18:39:55 +0530 | [diff] [blame^] | 8 | #include "k3-j721e-common-proc-board.dts" |
Praneeth Bajjuri | 9c789fe | 2020-12-03 17:43:47 -0600 | [diff] [blame] | 9 | #include "k3-j721e-ddr-evm-lp4-4266.dtsi" |
Lokesh Vutla | ec2fa9f | 2019-10-07 19:26:37 +0530 | [diff] [blame] | 10 | #include "k3-j721e-ddr.dtsi" |
Neha Malcom Francis | d73851b | 2023-09-27 18:39:55 +0530 | [diff] [blame^] | 11 | #include "k3-j721e-common-proc-board-u-boot.dtsi" |
Aswath Govindraju | 3c1d89f | 2022-01-28 13:41:39 +0530 | [diff] [blame] | 12 | #include <dt-bindings/phy/phy-cadence.h> |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | aliases { |
| 16 | remoteproc0 = &sysctrler; |
| 17 | remoteproc1 = &a72_0; |
| 18 | }; |
| 19 | |
| 20 | chosen { |
| 21 | stdout-path = "serial2:115200n8"; |
| 22 | tick-timer = &timer1; |
| 23 | }; |
| 24 | |
| 25 | a72_0: a72@0 { |
| 26 | compatible = "ti,am654-rproc"; |
| 27 | reg = <0x0 0x00a90000 0x0 0x10>; |
| 28 | power-domains = <&k3_pds 61 TI_SCI_PD_EXCLUSIVE>, |
Manorit Chawdhry | bdbd668 | 2023-04-14 09:47:54 +0530 | [diff] [blame] | 29 | <&k3_pds 202 TI_SCI_PD_EXCLUSIVE>, |
| 30 | <&k3_pds 4 TI_SCI_PD_EXCLUSIVE>; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 31 | resets = <&k3_reset 202 0>; |
Nishanth Menon | 965db9f | 2021-01-06 13:20:31 -0600 | [diff] [blame] | 32 | clocks = <&k3_clks 61 1>; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 33 | assigned-clocks = <&k3_clks 202 2>, <&k3_clks 61 1>; |
| 34 | assigned-clock-rates = <2000000000>, <200000000>; |
| 35 | ti,sci = <&dmsc>; |
| 36 | ti,sci-proc-id = <32>; |
| 37 | ti,sci-host-id = <10>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-pre-ram; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 39 | }; |
| 40 | |
Faiz Abbas | 0abf600 | 2020-02-26 13:44:37 +0530 | [diff] [blame] | 41 | clk_200mhz: dummy_clock_200mhz { |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 42 | compatible = "fixed-clock"; |
| 43 | #clock-cells = <0>; |
| 44 | clock-frequency = <200000000>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 45 | bootph-pre-ram; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 46 | }; |
Vignesh Raghavendra | b070f58 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 47 | |
Faiz Abbas | 0abf600 | 2020-02-26 13:44:37 +0530 | [diff] [blame] | 48 | clk_19_2mhz: dummy_clock_19_2mhz { |
Vignesh Raghavendra | b070f58 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 49 | compatible = "fixed-clock"; |
| 50 | #clock-cells = <0>; |
| 51 | clock-frequency = <19200000>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 52 | bootph-pre-ram; |
Vignesh Raghavendra | b070f58 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 53 | }; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | &cbass_mcu_wakeup { |
| 57 | mcu_secproxy: secproxy@28380000 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 58 | bootph-pre-ram; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 59 | compatible = "ti,am654-secure-proxy"; |
| 60 | reg = <0x0 0x2a380000 0x0 0x80000>, |
| 61 | <0x0 0x2a400000 0x0 0x80000>, |
| 62 | <0x0 0x2a480000 0x0 0x80000>; |
| 63 | reg-names = "rt", "scfg", "target_data"; |
| 64 | #mbox-cells = <1>; |
| 65 | }; |
| 66 | |
| 67 | sysctrler: sysctrler { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 68 | bootph-pre-ram; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 69 | compatible = "ti,am654-system-controller"; |
| 70 | mboxes= <&mcu_secproxy 4>, <&mcu_secproxy 5>; |
| 71 | mbox-names = "tx", "rx"; |
| 72 | }; |
Keerthy | 69eceae | 2019-10-24 15:00:58 +0530 | [diff] [blame] | 73 | |
| 74 | wkup_vtm0: wkup_vtm@42040000 { |
| 75 | compatible = "ti,am654-vtm", "ti,j721e-avs"; |
| 76 | reg = <0x0 0x42040000 0x0 0x330>; |
| 77 | power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>; |
| 78 | #thermal-sensor-cells = <1>; |
| 79 | }; |
Vignesh Raghavendra | 00d6fc9 | 2021-06-07 19:47:50 +0530 | [diff] [blame] | 80 | |
| 81 | dm_tifs: dm-tifs { |
| 82 | compatible = "ti,j721e-dm-sci"; |
| 83 | ti,host-id = <3>; |
| 84 | ti,secure-host; |
| 85 | mbox-names = "rx", "tx"; |
| 86 | mboxes= <&mcu_secproxy 21>, |
| 87 | <&mcu_secproxy 23>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 88 | bootph-pre-ram; |
Vignesh Raghavendra | 00d6fc9 | 2021-06-07 19:47:50 +0530 | [diff] [blame] | 89 | }; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 90 | }; |
| 91 | |
Tero Kristo | 7304546 | 2020-02-14 11:18:17 +0200 | [diff] [blame] | 92 | &cbass_main { |
| 93 | main_esm: esm@700000 { |
| 94 | compatible = "ti,j721e-esm"; |
| 95 | reg = <0x0 0x700000 0x0 0x1000>; |
| 96 | ti,esm-pins = <344>, <345>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 97 | bootph-pre-ram; |
Tero Kristo | 7304546 | 2020-02-14 11:18:17 +0200 | [diff] [blame] | 98 | }; |
| 99 | }; |
| 100 | |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 101 | &dmsc { |
| 102 | mboxes= <&mcu_secproxy 8>, <&mcu_secproxy 6>, <&mcu_secproxy 5>; |
| 103 | mbox-names = "tx", "rx", "notify"; |
| 104 | ti,host-id = <4>; |
| 105 | ti,secure-host; |
| 106 | }; |
| 107 | |
| 108 | &wkup_pmx0 { |
| 109 | wkup_uart0_pins_default: wkup_uart0_pins_default { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 110 | bootph-pre-ram; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 111 | pinctrl-single,pins = < |
| 112 | J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */ |
| 113 | J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 0) /* (J28) WKUP_UART0_TXD */ |
| 114 | >; |
| 115 | }; |
| 116 | |
| 117 | mcu_uart0_pins_default: mcu_uart0_pins_default { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 118 | bootph-pre-ram; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 119 | pinctrl-single,pins = < |
| 120 | J721E_WKUP_IOPAD(0xe8, PIN_INPUT, 0) /* (H29) WKUP_GPIO0_14.MCU_UART0_CTSn */ |
| 121 | J721E_WKUP_IOPAD(0xec, PIN_OUTPUT, 0) /* (J27) WKUP_GPIO0_15.MCU_UART0_RTSn */ |
| 122 | J721E_WKUP_IOPAD(0xe4, PIN_INPUT, 0) /* (H28) WKUP_GPIO0_13.MCU_UART0_RXD */ |
| 123 | J721E_WKUP_IOPAD(0xe0, PIN_OUTPUT, 0) /* (G29) WKUP_GPIO0_12.MCU_UART0_TXD */ |
| 124 | >; |
| 125 | }; |
Keerthy | 0f63cea | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 126 | |
| 127 | wkup_i2c0_pins_default: wkup-i2c0-pins-default { |
| 128 | pinctrl-single,pins = < |
| 129 | J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */ |
| 130 | J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */ |
| 131 | >; |
| 132 | }; |
Vignesh Raghavendra | 224d7fe | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 133 | |
Vaishnav Achath | 3042649 | 2022-05-09 11:50:11 +0530 | [diff] [blame] | 134 | mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-pins-default { |
| 135 | pinctrl-single,pins = < |
| 136 | J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 1) /* (E20) MCU_OSPI0_CLK.MCU_HYPERBUS0_CK */ |
| 137 | J721E_WKUP_IOPAD(0x4, PIN_OUTPUT, 1) /* (C21) MCU_OSPI0_LBCLKO.MCU_HYPERBUS0_CKn */ |
| 138 | J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 1) /* (F19) MCU_OSPI0_CSn0.MCU_HYPERBUS0_CSn0 */ |
| 139 | J721E_WKUP_IOPAD(0x54, PIN_OUTPUT, 3) /* (E22) MCU_OSPI1_CSn1.MCU_HYPERBUS0_CSn1 */ |
| 140 | J721E_WKUP_IOPAD(0x30, PIN_OUTPUT, 1) /* (E19) MCU_OSPI0_CSn1.MCU_HYPERBUS0_RESETn */ |
| 141 | J721E_WKUP_IOPAD(0x8, PIN_INPUT, 1) /* (D21) MCU_OSPI0_DQS.MCU_HYPERBUS0_RWDS */ |
| 142 | J721E_WKUP_IOPAD(0xc, PIN_INPUT, 1) /* (D20) MCU_OSPI0_D0.MCU_HYPERBUS0_DQ0 */ |
| 143 | J721E_WKUP_IOPAD(0x10, PIN_INPUT, 1) /* (G19) MCU_OSPI0_D1.MCU_HYPERBUS0_DQ1 */ |
| 144 | J721E_WKUP_IOPAD(0x14, PIN_INPUT, 1) /* (G20) MCU_OSPI0_D2.MCU_HYPERBUS0_DQ2 */ |
| 145 | J721E_WKUP_IOPAD(0x18, PIN_INPUT, 1) /* (F20) MCU_OSPI0_D3.MCU_HYPERBUS0_DQ3 */ |
| 146 | J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 1) /* (F21) MCU_OSPI0_D4.MCU_HYPERBUS0_DQ4 */ |
| 147 | J721E_WKUP_IOPAD(0x20, PIN_INPUT, 1) /* (E21) MCU_OSPI0_D5.MCU_HYPERBUS0_DQ5 */ |
| 148 | J721E_WKUP_IOPAD(0x24, PIN_INPUT, 1) /* (B22) MCU_OSPI0_D6.MCU_HYPERBUS0_DQ6 */ |
| 149 | J721E_WKUP_IOPAD(0x28, PIN_INPUT, 1) /* (G21) MCU_OSPI0_D7.MCU_HYPERBUS0_DQ7 */ |
| 150 | >; |
| 151 | }; |
| 152 | |
| 153 | wkup_gpio_pins_default: wkup-gpio-pins-default { |
| 154 | pinctrl-single,pins = < |
| 155 | J721E_WKUP_IOPAD(0xd0, PIN_INPUT, 7) /* WKUP_GPIO0_8 */ |
| 156 | >; |
| 157 | }; |
| 158 | |
Vignesh Raghavendra | 224d7fe | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 159 | mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { |
| 160 | pinctrl-single,pins = < |
| 161 | J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_OSPI0_CLK */ |
| 162 | J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* MCU_OSPI0_DQS */ |
| 163 | J721E_WKUP_IOPAD(0x000c, PIN_INPUT, 0) /* MCU_OSPI0_D0 */ |
| 164 | J721E_WKUP_IOPAD(0x0010, PIN_INPUT, 0) /* MCU_OSPI0_D1 */ |
| 165 | J721E_WKUP_IOPAD(0x0014, PIN_INPUT, 0) /* MCU_OSPI0_D2 */ |
| 166 | J721E_WKUP_IOPAD(0x0018, PIN_INPUT, 0) /* MCU_OSPI0_D3 */ |
| 167 | J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_OSPI0_D4 */ |
| 168 | J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* MCU_OSPI0_D5 */ |
| 169 | J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* MCU_OSPI0_D6 */ |
| 170 | J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_OSPI0_D7 */ |
| 171 | J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */ |
| 172 | >; |
| 173 | }; |
Keerthy | 896cf0e | 2020-03-04 10:09:59 +0530 | [diff] [blame] | 174 | |
| 175 | mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-pins-default { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 176 | bootph-pre-ram; |
Keerthy | 896cf0e | 2020-03-04 10:09:59 +0530 | [diff] [blame] | 177 | pinctrl-single,pins = < |
| 178 | J721E_WKUP_IOPAD(0x34, PIN_OUTPUT, 0) /* (F22) MCU_OSPI1_CLK */ |
| 179 | J721E_WKUP_IOPAD(0x50, PIN_OUTPUT, 0) /* (C22) MCU_OSPI1_CSn0 */ |
| 180 | J721E_WKUP_IOPAD(0x40, PIN_INPUT, 0) /* (D22) MCU_OSPI1_D0 */ |
| 181 | J721E_WKUP_IOPAD(0x44, PIN_INPUT, 0) /* (G22) MCU_OSPI1_D1 */ |
| 182 | J721E_WKUP_IOPAD(0x48, PIN_INPUT, 0) /* (D23) MCU_OSPI1_D2 */ |
| 183 | J721E_WKUP_IOPAD(0x4c, PIN_INPUT, 0) /* (C23) MCU_OSPI1_D3 */ |
| 184 | J721E_WKUP_IOPAD(0x3c, PIN_INPUT, 0) /* (B23) MCU_OSPI1_DQS */ |
| 185 | J721E_WKUP_IOPAD(0x38, PIN_INPUT, 0) /* (A23) MCU_OSPI1_LBCLKO */ |
| 186 | >; |
| 187 | }; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 188 | }; |
| 189 | |
| 190 | &main_pmx0 { |
| 191 | main_uart0_pins_default: main_uart0_pins_default { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 192 | bootph-pre-ram; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 193 | pinctrl-single,pins = < |
| 194 | J721E_IOPAD(0x1d4, PIN_INPUT, 1) /* (Y3) SPI1_CS0.UART0_CTSn */ |
| 195 | J721E_IOPAD(0x1c0, PIN_OUTPUT, 1) /* (AA2) SPI0_CS0.UART0_RTSn */ |
| 196 | J721E_IOPAD(0x1e8, PIN_INPUT, 0) /* (AB2) UART0_RXD */ |
| 197 | J721E_IOPAD(0x1ec, PIN_OUTPUT, 0) /* (AB3) UART0_TXD */ |
| 198 | >; |
| 199 | }; |
Vignesh Raghavendra | 5aeab3b | 2019-11-18 19:16:35 +0530 | [diff] [blame] | 200 | |
Vignesh Raghavendra | b642778 | 2020-01-27 23:22:15 +0530 | [diff] [blame] | 201 | main_i2c0_pins_default: main-i2c0-pins-default { |
| 202 | pinctrl-single,pins = < |
| 203 | J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */ |
| 204 | J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */ |
| 205 | >; |
| 206 | }; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 207 | }; |
| 208 | |
| 209 | &wkup_uart0 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 210 | bootph-pre-ram; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 211 | pinctrl-names = "default"; |
| 212 | pinctrl-0 = <&wkup_uart0_pins_default>; |
| 213 | status = "okay"; |
| 214 | }; |
| 215 | |
Vaishnav Achath | 3042649 | 2022-05-09 11:50:11 +0530 | [diff] [blame] | 216 | &wkup_gpio0 { |
| 217 | pinctrl-names = "default"; |
| 218 | pinctrl-0 = <&wkup_gpio_pins_default>; |
| 219 | }; |
| 220 | |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 221 | &mcu_uart0 { |
Lokesh Vutla | fde109d | 2020-02-03 19:16:53 +0530 | [diff] [blame] | 222 | /delete-property/ power-domains; |
| 223 | /delete-property/ clocks; |
| 224 | /delete-property/ clock-names; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 225 | pinctrl-names = "default"; |
| 226 | pinctrl-0 = <&mcu_uart0_pins_default>; |
| 227 | status = "okay"; |
Lokesh Vutla | fde109d | 2020-02-03 19:16:53 +0530 | [diff] [blame] | 228 | clock-frequency = <48000000>; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 229 | }; |
| 230 | |
| 231 | &main_uart0 { |
| 232 | pinctrl-names = "default"; |
| 233 | pinctrl-0 = <&main_uart0_pins_default>; |
| 234 | status = "okay"; |
| 235 | power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>; |
| 236 | }; |
| 237 | |
| 238 | &main_sdhci0 { |
| 239 | /delete-property/ power-domains; |
| 240 | /delete-property/ assigned-clocks; |
| 241 | /delete-property/ assigned-clock-parents; |
| 242 | clock-names = "clk_xin"; |
| 243 | clocks = <&clk_200mhz>; |
| 244 | ti,driver-strength-ohm = <50>; |
| 245 | non-removable; |
| 246 | bus-width = <8>; |
| 247 | }; |
| 248 | |
| 249 | &main_sdhci1 { |
| 250 | /delete-property/ power-domains; |
| 251 | /delete-property/ assigned-clocks; |
| 252 | /delete-property/ assigned-clock-parents; |
Faiz Abbas | ccc855e | 2020-01-16 19:42:21 +0530 | [diff] [blame] | 253 | pinctrl-names = "default"; |
| 254 | pinctrl-0 = <&main_mmc1_pins_default>; |
Lokesh Vutla | aebb2a4 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 255 | clock-names = "clk_xin"; |
| 256 | clocks = <&clk_200mhz>; |
| 257 | ti,driver-strength-ohm = <50>; |
| 258 | }; |
| 259 | |
Keerthy | 0f63cea | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 260 | &wkup_i2c0 { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 261 | bootph-pre-ram; |
Keerthy | 0f63cea | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 262 | tps659413a: tps659413a@48 { |
| 263 | reg = <0x48>; |
| 264 | compatible = "ti,tps659413"; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 265 | bootph-pre-ram; |
Keerthy | 0f63cea | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 266 | pinctrl-names = "default"; |
| 267 | pinctrl-0 = <&wkup_i2c0_pins_default>; |
| 268 | clock-frequency = <400000>; |
| 269 | |
| 270 | regulators: regulators { |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 271 | bootph-pre-ram; |
Keerthy | 0f63cea | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 272 | buck12_reg: buck12 { |
Keerthy | da6a8d9 | 2022-02-10 09:25:58 +0530 | [diff] [blame] | 273 | /*VDD_CPU*/ |
Keerthy | 0f63cea | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 274 | regulator-name = "buck12"; |
Keerthy | da6a8d9 | 2022-02-10 09:25:58 +0530 | [diff] [blame] | 275 | regulator-min-microvolt = <600000>; |
| 276 | regulator-max-microvolt = <900000>; |
Keerthy | 0f63cea | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 277 | regulator-always-on; |
| 278 | regulator-boot-on; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 279 | bootph-pre-ram; |
Keerthy | 0f63cea | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 280 | }; |
| 281 | }; |
Neha Malcom Francis | d73851b | 2023-09-27 18:39:55 +0530 | [diff] [blame^] | 282 | |
| 283 | esm: esm { |
| 284 | compatible = "ti,tps659413-esm"; |
| 285 | bootph-pre-ram; |
| 286 | }; |
Keerthy | 0f63cea | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 287 | }; |
| 288 | }; |
| 289 | |
Keerthy | 2f71498 | 2019-10-24 15:01:00 +0530 | [diff] [blame] | 290 | &wkup_vtm0 { |
| 291 | vdd-supply-2 = <&buck12_reg>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 292 | bootph-pre-ram; |
Keerthy | 2f71498 | 2019-10-24 15:01:00 +0530 | [diff] [blame] | 293 | }; |
| 294 | |
Vignesh Raghavendra | b070f58 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 295 | &usbss0 { |
| 296 | /delete-property/ power-domains; |
| 297 | /delete-property/ assigned-clocks; |
| 298 | /delete-property/ assigned-clock-parents; |
| 299 | clocks = <&clk_19_2mhz>; |
Aswath Govindraju | fa7a145 | 2021-08-26 21:28:57 +0530 | [diff] [blame] | 300 | clock-names = "ref"; |
Vignesh Raghavendra | b070f58 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 301 | pinctrl-names = "default"; |
| 302 | pinctrl-0 = <&main_usbss0_pins_default>; |
| 303 | ti,vbus-divider; |
| 304 | }; |
| 305 | |
Vignesh Raghavendra | b642778 | 2020-01-27 23:22:15 +0530 | [diff] [blame] | 306 | &main_i2c0 { |
| 307 | pinctrl-names = "default"; |
| 308 | pinctrl-0 = <&main_i2c0_pins_default>; |
| 309 | clock-frequency = <400000>; |
| 310 | |
| 311 | exp1: gpio@20 { |
| 312 | compatible = "ti,tca6416"; |
| 313 | reg = <0x20>; |
| 314 | gpio-controller; |
| 315 | #gpio-cells = <2>; |
| 316 | }; |
| 317 | |
| 318 | exp2: gpio@22 { |
| 319 | compatible = "ti,tca6424"; |
| 320 | reg = <0x22>; |
| 321 | gpio-controller; |
| 322 | #gpio-cells = <2>; |
| 323 | }; |
| 324 | }; |
| 325 | |
Vaishnav Achath | 3042649 | 2022-05-09 11:50:11 +0530 | [diff] [blame] | 326 | &hbmc { |
| 327 | status = "okay"; |
| 328 | pinctrl-names = "default"; |
| 329 | pinctrl-0 = <&mcu_fss0_hpb0_pins_default>; |
| 330 | reg = <0x0 0x47040000 0x0 0x100>, |
| 331 | <0x0 0x50000000 0x0 0x8000000>; |
| 332 | ranges = <0x0 0x0 0x0 0x50000000 0x4000000>, /* 64MB Flash on CS0 */ |
| 333 | <0x1 0x0 0x0 0x54000000 0x800000>; /* 8MB flash on CS1 */ |
| 334 | |
| 335 | flash@0,0 { |
| 336 | compatible = "cypress,hyperflash", "cfi-flash"; |
| 337 | reg = <0x0 0x0 0x4000000>; |
| 338 | }; |
| 339 | }; |
| 340 | |
Vignesh Raghavendra | 224d7fe | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 341 | &ospi0 { |
| 342 | pinctrl-names = "default"; |
| 343 | pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; |
| 344 | |
| 345 | reg = <0x0 0x47040000 0x0 0x100>, |
| 346 | <0x0 0x50000000 0x0 0x8000000>; |
| 347 | |
| 348 | flash@0{ |
| 349 | compatible = "jedec,spi-nor"; |
| 350 | reg = <0x0>; |
| 351 | spi-tx-bus-width = <1>; |
| 352 | spi-rx-bus-width = <8>; |
Vignesh Raghavendra | aaf5580 | 2020-04-02 18:59:13 +0530 | [diff] [blame] | 353 | spi-max-frequency = <50000000>; |
Vignesh Raghavendra | 224d7fe | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 354 | cdns,tshsl-ns = <60>; |
| 355 | cdns,tsd2d-ns = <60>; |
| 356 | cdns,tchsh-ns = <60>; |
| 357 | cdns,tslch-ns = <60>; |
| 358 | cdns,read-delay = <0>; |
| 359 | #address-cells = <1>; |
| 360 | #size-cells = <1>; |
| 361 | }; |
| 362 | }; |
| 363 | |
Keerthy | 6d310ba | 2020-03-04 10:10:01 +0530 | [diff] [blame] | 364 | &ospi1 { |
| 365 | pinctrl-names = "default"; |
| 366 | pinctrl-0 = <&mcu_fss0_ospi1_pins_default>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 367 | bootph-pre-ram; |
Keerthy | 6d310ba | 2020-03-04 10:10:01 +0530 | [diff] [blame] | 368 | |
| 369 | reg = <0x0 0x47050000 0x0 0x100>, |
| 370 | <0x0 0x58000000 0x0 0x8000000>; |
| 371 | |
| 372 | flash@0{ |
| 373 | compatible = "jedec,spi-nor"; |
| 374 | reg = <0x0>; |
| 375 | spi-tx-bus-width = <1>; |
| 376 | spi-rx-bus-width = <4>; |
| 377 | spi-max-frequency = <40000000>; |
| 378 | cdns,tshsl-ns = <60>; |
| 379 | cdns,tsd2d-ns = <60>; |
| 380 | cdns,tchsh-ns = <60>; |
| 381 | cdns,tslch-ns = <60>; |
| 382 | cdns,read-delay = <2>; |
| 383 | #address-cells = <1>; |
| 384 | #size-cells = <1>; |
Simon Glass | 8c103c3 | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 385 | bootph-pre-ram; |
Keerthy | 6d310ba | 2020-03-04 10:10:01 +0530 | [diff] [blame] | 386 | }; |
| 387 | }; |
Vignesh Raghavendra | 00d6fc9 | 2021-06-07 19:47:50 +0530 | [diff] [blame] | 388 | |
| 389 | &mcu_ringacc { |
| 390 | ti,sci = <&dm_tifs>; |
| 391 | }; |
| 392 | |
| 393 | &mcu_udmap { |
| 394 | ti,sci = <&dm_tifs>; |
| 395 | }; |
Aswath Govindraju | 3c1d89f | 2022-01-28 13:41:39 +0530 | [diff] [blame] | 396 | |
| 397 | &wiz0_pll1_refclk { |
| 398 | assigned-clocks = <&wiz0_pll1_refclk>; |
| 399 | assigned-clock-parents = <&cmn_refclk1>; |
| 400 | }; |
| 401 | |
| 402 | &wiz0_refclk_dig { |
| 403 | assigned-clocks = <&wiz0_refclk_dig>; |
| 404 | assigned-clock-parents = <&cmn_refclk1>; |
| 405 | }; |
| 406 | |
| 407 | &serdes0 { |
Aswath Govindraju | a94d70a | 2022-01-28 13:41:51 +0530 | [diff] [blame] | 408 | assigned-clocks = <&serdes0 CDNS_SIERRA_PLL_CMNLC>, <&serdes0 CDNS_SIERRA_PLL_CMNLC1>; |
| 409 | assigned-clock-parents = <&wiz0_pll1_refclk>, <&wiz0_pll1_refclk>; |
Aswath Govindraju | 3c1d89f | 2022-01-28 13:41:39 +0530 | [diff] [blame] | 410 | |
Aswath Govindraju | a94d70a | 2022-01-28 13:41:51 +0530 | [diff] [blame] | 411 | serdes0_qsgmii_link: phy@1 { |
| 412 | reg = <1>; |
| 413 | cdns,num-lanes = <1>; |
| 414 | #phy-cells = <0>; |
| 415 | cdns,phy-type = <PHY_TYPE_QSGMII>; |
| 416 | resets = <&serdes_wiz0 2>; |
| 417 | }; |
Aswath Govindraju | 3c1d89f | 2022-01-28 13:41:39 +0530 | [diff] [blame] | 418 | }; |
Sinthu Raja | 1157f36 | 2022-02-09 15:06:54 +0530 | [diff] [blame] | 419 | |
| 420 | /* EEPROM might be read before SYSFW is available */ |
| 421 | &wkup_i2c0 { |
| 422 | /delete-property/ power-domains; |
| 423 | }; |