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 | |
| 8 | #include "k3-j721e-som-p0.dtsi" |
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 | 20a9004 | 2023-07-22 00:14:28 +0530 | [diff] [blame] | 11 | #include "k3-j721e-binman.dtsi" |
Aswath Govindraju | dcfb97e | 2022-01-28 13:41:39 +0530 | [diff] [blame] | 12 | #include <dt-bindings/phy/phy-cadence.h> |
Lokesh Vutla | ac73680 | 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 | d9765d5 | 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 | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 31 | resets = <&k3_reset 202 0>; |
Nishanth Menon | 975b78c | 2021-01-06 13:20:31 -0600 | [diff] [blame] | 32 | clocks = <&k3_clks 61 1>; |
Lokesh Vutla | ac73680 | 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 | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 38 | bootph-pre-ram; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 39 | }; |
| 40 | |
Faiz Abbas | 6f08b48 | 2020-02-26 13:44:37 +0530 | [diff] [blame] | 41 | clk_200mhz: dummy_clock_200mhz { |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 42 | compatible = "fixed-clock"; |
| 43 | #clock-cells = <0>; |
| 44 | clock-frequency = <200000000>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 45 | bootph-pre-ram; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 46 | }; |
Vignesh Raghavendra | 4bdd330 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 47 | |
Faiz Abbas | 6f08b48 | 2020-02-26 13:44:37 +0530 | [diff] [blame] | 48 | clk_19_2mhz: dummy_clock_19_2mhz { |
Vignesh Raghavendra | 4bdd330 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 49 | compatible = "fixed-clock"; |
| 50 | #clock-cells = <0>; |
| 51 | clock-frequency = <19200000>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 52 | bootph-pre-ram; |
Vignesh Raghavendra | 4bdd330 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 53 | }; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | &cbass_mcu_wakeup { |
| 57 | mcu_secproxy: secproxy@28380000 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 58 | bootph-pre-ram; |
Lokesh Vutla | ac73680 | 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 | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 68 | bootph-pre-ram; |
Lokesh Vutla | ac73680 | 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 | be86d32 | 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 | 9818197 | 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 | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 88 | bootph-pre-ram; |
Vignesh Raghavendra | 9818197 | 2021-06-07 19:47:50 +0530 | [diff] [blame] | 89 | }; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 90 | }; |
| 91 | |
Tero Kristo | 3cafcd8 | 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 | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 97 | bootph-pre-ram; |
Tero Kristo | 3cafcd8 | 2020-02-14 11:18:17 +0200 | [diff] [blame] | 98 | }; |
| 99 | }; |
| 100 | |
Lokesh Vutla | ac73680 | 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 | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 110 | bootph-pre-ram; |
Lokesh Vutla | ac73680 | 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 | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 118 | bootph-pre-ram; |
Lokesh Vutla | ac73680 | 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 | c6f8654 | 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 | da67437 | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 133 | |
Vaishnav Achath | fb708a4 | 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 | da67437 | 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 | 71156c9 | 2020-03-04 10:09:59 +0530 | [diff] [blame] | 174 | |
| 175 | mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-pins-default { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 176 | bootph-pre-ram; |
Keerthy | 71156c9 | 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 | ac73680 | 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 | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 192 | bootph-pre-ram; |
Lokesh Vutla | ac73680 | 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 | 04ed493 | 2019-11-18 19:16:35 +0530 | [diff] [blame] | 200 | |
| 201 | main_usbss0_pins_default: main_usbss0_pins_default { |
| 202 | pinctrl-single,pins = < |
| 203 | J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */ |
| 204 | J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */ |
| 205 | >; |
| 206 | }; |
Faiz Abbas | c67d389 | 2020-01-16 19:42:21 +0530 | [diff] [blame] | 207 | |
| 208 | main_mmc1_pins_default: main_mmc1_pins_default { |
| 209 | pinctrl-single,pins = < |
| 210 | J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */ |
| 211 | J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */ |
| 212 | J721E_IOPAD(0x2ac, PIN_INPUT, 0) /* (P25) MMC1_CLKLB */ |
| 213 | J721E_IOPAD(0x24c, PIN_INPUT, 0) /* (R24) MMC1_DAT0 */ |
| 214 | J721E_IOPAD(0x248, PIN_INPUT, 0) /* (P24) MMC1_DAT1 */ |
| 215 | J721E_IOPAD(0x244, PIN_INPUT, 0) /* (R25) MMC1_DAT2 */ |
| 216 | J721E_IOPAD(0x240, PIN_INPUT, 0) /* (R26) MMC1_DAT3 */ |
| 217 | J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */ |
| 218 | J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */ |
| 219 | >; |
| 220 | }; |
Vignesh Raghavendra | 8a290cc | 2020-01-27 23:22:15 +0530 | [diff] [blame] | 221 | |
| 222 | main_i2c0_pins_default: main-i2c0-pins-default { |
| 223 | pinctrl-single,pins = < |
| 224 | J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */ |
| 225 | J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */ |
| 226 | >; |
| 227 | }; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 228 | }; |
| 229 | |
| 230 | &wkup_uart0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 231 | bootph-pre-ram; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 232 | pinctrl-names = "default"; |
| 233 | pinctrl-0 = <&wkup_uart0_pins_default>; |
| 234 | status = "okay"; |
| 235 | }; |
| 236 | |
Vaishnav Achath | fb708a4 | 2022-05-09 11:50:11 +0530 | [diff] [blame] | 237 | &wkup_gpio0 { |
| 238 | pinctrl-names = "default"; |
| 239 | pinctrl-0 = <&wkup_gpio_pins_default>; |
| 240 | }; |
| 241 | |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 242 | &mcu_uart0 { |
Lokesh Vutla | bad3d41 | 2020-02-03 19:16:53 +0530 | [diff] [blame] | 243 | /delete-property/ power-domains; |
| 244 | /delete-property/ clocks; |
| 245 | /delete-property/ clock-names; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 246 | pinctrl-names = "default"; |
| 247 | pinctrl-0 = <&mcu_uart0_pins_default>; |
| 248 | status = "okay"; |
Lokesh Vutla | bad3d41 | 2020-02-03 19:16:53 +0530 | [diff] [blame] | 249 | clock-frequency = <48000000>; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 250 | }; |
| 251 | |
| 252 | &main_uart0 { |
| 253 | pinctrl-names = "default"; |
| 254 | pinctrl-0 = <&main_uart0_pins_default>; |
| 255 | status = "okay"; |
| 256 | power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>; |
| 257 | }; |
| 258 | |
| 259 | &main_sdhci0 { |
| 260 | /delete-property/ power-domains; |
| 261 | /delete-property/ assigned-clocks; |
| 262 | /delete-property/ assigned-clock-parents; |
| 263 | clock-names = "clk_xin"; |
| 264 | clocks = <&clk_200mhz>; |
| 265 | ti,driver-strength-ohm = <50>; |
| 266 | non-removable; |
| 267 | bus-width = <8>; |
| 268 | }; |
| 269 | |
| 270 | &main_sdhci1 { |
| 271 | /delete-property/ power-domains; |
| 272 | /delete-property/ assigned-clocks; |
| 273 | /delete-property/ assigned-clock-parents; |
Faiz Abbas | c67d389 | 2020-01-16 19:42:21 +0530 | [diff] [blame] | 274 | pinctrl-names = "default"; |
| 275 | pinctrl-0 = <&main_mmc1_pins_default>; |
Lokesh Vutla | ac73680 | 2019-06-13 10:29:55 +0530 | [diff] [blame] | 276 | clock-names = "clk_xin"; |
| 277 | clocks = <&clk_200mhz>; |
| 278 | ti,driver-strength-ohm = <50>; |
| 279 | }; |
| 280 | |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 281 | &wkup_i2c0 { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 282 | bootph-pre-ram; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 283 | tps659413a: tps659413a@48 { |
| 284 | reg = <0x48>; |
| 285 | compatible = "ti,tps659413"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 286 | bootph-pre-ram; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 287 | pinctrl-names = "default"; |
| 288 | pinctrl-0 = <&wkup_i2c0_pins_default>; |
| 289 | clock-frequency = <400000>; |
| 290 | |
| 291 | regulators: regulators { |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 292 | bootph-pre-ram; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 293 | buck12_reg: buck12 { |
Keerthy | ac20ebd | 2022-02-10 09:25:58 +0530 | [diff] [blame] | 294 | /*VDD_CPU*/ |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 295 | regulator-name = "buck12"; |
Keerthy | ac20ebd | 2022-02-10 09:25:58 +0530 | [diff] [blame] | 296 | regulator-min-microvolt = <600000>; |
| 297 | regulator-max-microvolt = <900000>; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 298 | regulator-always-on; |
| 299 | regulator-boot-on; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 300 | bootph-pre-ram; |
Keerthy | c6f8654 | 2019-10-24 15:00:59 +0530 | [diff] [blame] | 301 | }; |
| 302 | }; |
| 303 | }; |
| 304 | }; |
| 305 | |
Keerthy | 7c9fa30 | 2019-10-24 15:01:00 +0530 | [diff] [blame] | 306 | &wkup_vtm0 { |
| 307 | vdd-supply-2 = <&buck12_reg>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 308 | bootph-pre-ram; |
Keerthy | 7c9fa30 | 2019-10-24 15:01:00 +0530 | [diff] [blame] | 309 | }; |
| 310 | |
Vignesh Raghavendra | 4bdd330 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 311 | &usbss0 { |
| 312 | /delete-property/ power-domains; |
| 313 | /delete-property/ assigned-clocks; |
| 314 | /delete-property/ assigned-clock-parents; |
| 315 | clocks = <&clk_19_2mhz>; |
Aswath Govindraju | 2cd46c2 | 2021-08-26 21:28:57 +0530 | [diff] [blame] | 316 | clock-names = "ref"; |
Vignesh Raghavendra | 4bdd330 | 2020-01-27 17:59:25 +0530 | [diff] [blame] | 317 | pinctrl-names = "default"; |
| 318 | pinctrl-0 = <&main_usbss0_pins_default>; |
| 319 | ti,vbus-divider; |
| 320 | }; |
| 321 | |
Vignesh Raghavendra | 8a290cc | 2020-01-27 23:22:15 +0530 | [diff] [blame] | 322 | &main_i2c0 { |
| 323 | pinctrl-names = "default"; |
| 324 | pinctrl-0 = <&main_i2c0_pins_default>; |
| 325 | clock-frequency = <400000>; |
| 326 | |
| 327 | exp1: gpio@20 { |
| 328 | compatible = "ti,tca6416"; |
| 329 | reg = <0x20>; |
| 330 | gpio-controller; |
| 331 | #gpio-cells = <2>; |
| 332 | }; |
| 333 | |
| 334 | exp2: gpio@22 { |
| 335 | compatible = "ti,tca6424"; |
| 336 | reg = <0x22>; |
| 337 | gpio-controller; |
| 338 | #gpio-cells = <2>; |
| 339 | }; |
| 340 | }; |
| 341 | |
Vaishnav Achath | fb708a4 | 2022-05-09 11:50:11 +0530 | [diff] [blame] | 342 | &hbmc { |
| 343 | status = "okay"; |
| 344 | pinctrl-names = "default"; |
| 345 | pinctrl-0 = <&mcu_fss0_hpb0_pins_default>; |
| 346 | reg = <0x0 0x47040000 0x0 0x100>, |
| 347 | <0x0 0x50000000 0x0 0x8000000>; |
| 348 | ranges = <0x0 0x0 0x0 0x50000000 0x4000000>, /* 64MB Flash on CS0 */ |
| 349 | <0x1 0x0 0x0 0x54000000 0x800000>; /* 8MB flash on CS1 */ |
| 350 | |
| 351 | flash@0,0 { |
| 352 | compatible = "cypress,hyperflash", "cfi-flash"; |
| 353 | reg = <0x0 0x0 0x4000000>; |
| 354 | }; |
| 355 | }; |
| 356 | |
Vignesh Raghavendra | da67437 | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 357 | &ospi0 { |
| 358 | pinctrl-names = "default"; |
| 359 | pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; |
| 360 | |
| 361 | reg = <0x0 0x47040000 0x0 0x100>, |
| 362 | <0x0 0x50000000 0x0 0x8000000>; |
| 363 | |
| 364 | flash@0{ |
| 365 | compatible = "jedec,spi-nor"; |
| 366 | reg = <0x0>; |
| 367 | spi-tx-bus-width = <1>; |
| 368 | spi-rx-bus-width = <8>; |
Vignesh Raghavendra | f9a36d5 | 2020-04-02 18:59:13 +0530 | [diff] [blame] | 369 | spi-max-frequency = <50000000>; |
Vignesh Raghavendra | da67437 | 2020-02-04 11:09:52 +0530 | [diff] [blame] | 370 | cdns,tshsl-ns = <60>; |
| 371 | cdns,tsd2d-ns = <60>; |
| 372 | cdns,tchsh-ns = <60>; |
| 373 | cdns,tslch-ns = <60>; |
| 374 | cdns,read-delay = <0>; |
| 375 | #address-cells = <1>; |
| 376 | #size-cells = <1>; |
| 377 | }; |
| 378 | }; |
| 379 | |
Keerthy | 7b0b42d | 2020-03-04 10:10:01 +0530 | [diff] [blame] | 380 | &ospi1 { |
| 381 | pinctrl-names = "default"; |
| 382 | pinctrl-0 = <&mcu_fss0_ospi1_pins_default>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 383 | bootph-pre-ram; |
Keerthy | 7b0b42d | 2020-03-04 10:10:01 +0530 | [diff] [blame] | 384 | |
| 385 | reg = <0x0 0x47050000 0x0 0x100>, |
| 386 | <0x0 0x58000000 0x0 0x8000000>; |
| 387 | |
| 388 | flash@0{ |
| 389 | compatible = "jedec,spi-nor"; |
| 390 | reg = <0x0>; |
| 391 | spi-tx-bus-width = <1>; |
| 392 | spi-rx-bus-width = <4>; |
| 393 | spi-max-frequency = <40000000>; |
| 394 | cdns,tshsl-ns = <60>; |
| 395 | cdns,tsd2d-ns = <60>; |
| 396 | cdns,tchsh-ns = <60>; |
| 397 | cdns,tslch-ns = <60>; |
| 398 | cdns,read-delay = <2>; |
| 399 | #address-cells = <1>; |
| 400 | #size-cells = <1>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 401 | bootph-pre-ram; |
Keerthy | 7b0b42d | 2020-03-04 10:10:01 +0530 | [diff] [blame] | 402 | }; |
| 403 | }; |
Vignesh Raghavendra | 9818197 | 2021-06-07 19:47:50 +0530 | [diff] [blame] | 404 | |
| 405 | &mcu_ringacc { |
| 406 | ti,sci = <&dm_tifs>; |
| 407 | }; |
| 408 | |
| 409 | &mcu_udmap { |
| 410 | ti,sci = <&dm_tifs>; |
| 411 | }; |
Aswath Govindraju | dcfb97e | 2022-01-28 13:41:39 +0530 | [diff] [blame] | 412 | |
| 413 | &wiz0_pll1_refclk { |
| 414 | assigned-clocks = <&wiz0_pll1_refclk>; |
| 415 | assigned-clock-parents = <&cmn_refclk1>; |
| 416 | }; |
| 417 | |
| 418 | &wiz0_refclk_dig { |
| 419 | assigned-clocks = <&wiz0_refclk_dig>; |
| 420 | assigned-clock-parents = <&cmn_refclk1>; |
| 421 | }; |
| 422 | |
| 423 | &serdes0 { |
Aswath Govindraju | 83a8367 | 2022-01-28 13:41:51 +0530 | [diff] [blame] | 424 | assigned-clocks = <&serdes0 CDNS_SIERRA_PLL_CMNLC>, <&serdes0 CDNS_SIERRA_PLL_CMNLC1>; |
| 425 | assigned-clock-parents = <&wiz0_pll1_refclk>, <&wiz0_pll1_refclk>; |
Aswath Govindraju | dcfb97e | 2022-01-28 13:41:39 +0530 | [diff] [blame] | 426 | |
| 427 | serdes0_pcie_link: link@0 { |
| 428 | reg = <0>; |
| 429 | cdns,num-lanes = <1>; |
| 430 | #phy-cells = <0>; |
| 431 | cdns,phy-type = <PHY_TYPE_PCIE>; |
| 432 | resets = <&serdes_wiz0 1>; |
| 433 | }; |
Aswath Govindraju | 83a8367 | 2022-01-28 13:41:51 +0530 | [diff] [blame] | 434 | |
| 435 | serdes0_qsgmii_link: phy@1 { |
| 436 | reg = <1>; |
| 437 | cdns,num-lanes = <1>; |
| 438 | #phy-cells = <0>; |
| 439 | cdns,phy-type = <PHY_TYPE_QSGMII>; |
| 440 | resets = <&serdes_wiz0 2>; |
| 441 | }; |
Aswath Govindraju | dcfb97e | 2022-01-28 13:41:39 +0530 | [diff] [blame] | 442 | }; |
Sinthu Raja | 7fa564c | 2022-02-09 15:06:54 +0530 | [diff] [blame] | 443 | |
| 444 | /* EEPROM might be read before SYSFW is available */ |
| 445 | &wkup_i2c0 { |
| 446 | /delete-property/ power-domains; |
| 447 | }; |