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