Sinthu Raja | 65ed6a0 | 2022-02-09 15:06:55 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | */ |
| 5 | |
| 6 | #include <dt-bindings/net/ti-dp83867.h> |
| 7 | |
| 8 | / { |
| 9 | chosen { |
| 10 | stdout-path = "serial2:115200n8"; |
| 11 | tick-timer = &timer1; |
| 12 | }; |
| 13 | |
| 14 | aliases { |
| 15 | ethernet0 = &cpsw_port1; |
| 16 | spi0 = &ospi0; |
| 17 | remoteproc0 = &mcu_r5fss0_core0; |
| 18 | remoteproc1 = &mcu_r5fss0_core1; |
| 19 | remoteproc2 = &main_r5fss0_core0; |
| 20 | remoteproc3 = &main_r5fss0_core1; |
| 21 | remoteproc4 = &main_r5fss1_core0; |
| 22 | remoteproc5 = &main_r5fss1_core1; |
| 23 | remoteproc6 = &c66_0; |
| 24 | remoteproc7 = &c66_1; |
| 25 | remoteproc8 = &c71_0; |
| 26 | i2c0 = &wkup_i2c0; |
| 27 | i2c1 = &mcu_i2c0; |
| 28 | i2c2 = &main_i2c0; |
| 29 | mmc1 = &main_sdhci1; /* SD Card */ |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | &cbass_main{ |
| 34 | u-boot,dm-spl; |
| 35 | |
| 36 | main_navss { |
| 37 | u-boot,dm-spl; |
| 38 | }; |
| 39 | }; |
| 40 | |
| 41 | &cbass_mcu_wakeup { |
| 42 | u-boot,dm-spl; |
| 43 | |
| 44 | timer1: timer@40400000 { |
| 45 | compatible = "ti,omap5430-timer"; |
| 46 | reg = <0x0 0x40400000 0x0 0x80>; |
| 47 | ti,timer-alwon; |
| 48 | clock-frequency = <25000000>; |
| 49 | u-boot,dm-spl; |
| 50 | }; |
| 51 | |
| 52 | mcu-navss { |
| 53 | u-boot,dm-spl; |
| 54 | |
| 55 | ringacc@2b800000 { |
| 56 | reg = <0x0 0x2b800000 0x0 0x400000>, |
| 57 | <0x0 0x2b000000 0x0 0x400000>, |
| 58 | <0x0 0x28590000 0x0 0x100>, |
| 59 | <0x0 0x2a500000 0x0 0x40000>, |
| 60 | <0x0 0x28440000 0x0 0x40000>; |
| 61 | reg-names = "rt", "fifos", "proxy_gcfg", "proxy_target", "cfg"; |
| 62 | u-boot,dm-spl; |
| 63 | }; |
| 64 | |
| 65 | dma-controller@285c0000 { |
| 66 | reg = <0x0 0x285c0000 0x0 0x100>, |
| 67 | <0x0 0x284c0000 0x0 0x4000>, |
| 68 | <0x0 0x2a800000 0x0 0x40000>, |
| 69 | <0x0 0x284a0000 0x0 0x4000>, |
| 70 | <0x0 0x2aa00000 0x0 0x40000>, |
| 71 | <0x0 0x28400000 0x0 0x2000>; |
| 72 | reg-names = "gcfg", "rchan", "rchanrt", "tchan", |
| 73 | "tchanrt", "rflow"; |
| 74 | u-boot,dm-spl; |
| 75 | }; |
| 76 | }; |
| 77 | |
| 78 | chipid@43000014 { |
| 79 | u-boot,dm-spl; |
| 80 | }; |
| 81 | }; |
| 82 | |
| 83 | &secure_proxy_main { |
| 84 | u-boot,dm-spl; |
| 85 | }; |
| 86 | |
| 87 | &dmsc { |
| 88 | u-boot,dm-spl; |
| 89 | k3_sysreset: sysreset-controller { |
| 90 | compatible = "ti,sci-sysreset"; |
| 91 | u-boot,dm-spl; |
| 92 | }; |
| 93 | }; |
| 94 | |
| 95 | &k3_pds { |
| 96 | u-boot,dm-spl; |
| 97 | }; |
| 98 | |
| 99 | &k3_clks { |
| 100 | u-boot,dm-spl; |
| 101 | }; |
| 102 | |
| 103 | &k3_reset { |
| 104 | u-boot,dm-spl; |
| 105 | }; |
| 106 | |
| 107 | &wkup_pmx0 { |
| 108 | u-boot,dm-spl; |
| 109 | }; |
| 110 | |
| 111 | &main_pmx0 { |
| 112 | u-boot,dm-spl; |
| 113 | }; |
| 114 | |
| 115 | &main_uart0 { |
| 116 | u-boot,dm-spl; |
| 117 | }; |
| 118 | |
| 119 | &mcu_uart0 { |
| 120 | u-boot,dm-spl; |
| 121 | }; |
| 122 | |
| 123 | &main_sdhci0 { |
| 124 | status = "disabled"; |
| 125 | }; |
| 126 | |
| 127 | &main_sdhci1 { |
| 128 | u-boot,dm-spl; |
| 129 | }; |
| 130 | |
| 131 | &wiz3_pll1_refclk { |
| 132 | assigned-clocks = <&wiz3_pll1_refclk>, <&wiz3_pll0_refclk>; |
| 133 | assigned-clock-parents = <&k3_clks 295 0>, <&k3_clks 295 9>; |
| 134 | }; |
| 135 | |
| 136 | &main_usbss0_pins_default { |
| 137 | u-boot,dm-spl; |
| 138 | }; |
| 139 | |
| 140 | &usbss0 { |
| 141 | u-boot,dm-spl; |
| 142 | }; |
| 143 | |
| 144 | &usb0 { |
| 145 | dr_mode = "host"; |
| 146 | u-boot,dm-spl; |
| 147 | }; |
| 148 | |
| 149 | &wiz2_pll1_refclk { |
| 150 | assigned-clocks = <&wiz2_pll1_refclk>, <&wiz2_pll0_refclk>; |
| 151 | assigned-clock-parents = <&k3_clks 294 0>, <&k3_clks 294 11>; |
| 152 | }; |
| 153 | |
| 154 | &main_usbss1_pins_default { |
| 155 | u-boot,dm-spl; |
| 156 | }; |
| 157 | |
| 158 | &usbss1 { |
| 159 | u-boot,dm-spl; |
| 160 | }; |
| 161 | |
| 162 | &usb1 { |
| 163 | dr_mode = "host"; |
| 164 | u-boot,dm-spl; |
| 165 | }; |
| 166 | |
| 167 | &mcu_cpsw { |
| 168 | reg = <0x0 0x46000000 0x0 0x200000>, |
| 169 | <0x0 0x40f00200 0x0 0x2>; |
| 170 | reg-names = "cpsw_nuss", "mac_efuse"; |
| 171 | /delete-property/ ranges; |
| 172 | |
| 173 | cpsw-phy-sel@40f04040 { |
| 174 | compatible = "ti,am654-cpsw-phy-sel"; |
| 175 | reg= <0x0 0x40f04040 0x0 0x4>; |
| 176 | reg-names = "gmii-sel"; |
| 177 | }; |
| 178 | }; |
| 179 | |
| 180 | &main_mmc1_pins_default { |
| 181 | u-boot,dm-spl; |
| 182 | }; |
| 183 | |
| 184 | &wkup_i2c0_pins_default { |
| 185 | u-boot,dm-spl; |
| 186 | }; |
| 187 | |
| 188 | &wkup_i2c0 { |
| 189 | u-boot,dm-spl; |
| 190 | }; |
| 191 | |
| 192 | &mcu_i2c0 { |
| 193 | u-boot,dm-spl; |
| 194 | }; |
| 195 | |
| 196 | &mcu_i2c1 { |
| 197 | status = "disabled"; |
| 198 | }; |
| 199 | |
| 200 | &main_i2c0 { |
| 201 | status = "disabled"; |
| 202 | }; |
| 203 | |
| 204 | &main_i2c1 { |
| 205 | status = "disabled"; |
| 206 | }; |
| 207 | |
| 208 | &main_i2c2 { |
| 209 | status = "disabled"; |
| 210 | }; |
| 211 | |
| 212 | &main_i2c3 { |
| 213 | status = "disabled"; |
| 214 | }; |
| 215 | |
| 216 | &main_i2c4 { |
| 217 | status = "disabled"; |
| 218 | }; |
| 219 | |
| 220 | &main_i2c5 { |
| 221 | status = "disabled"; |
| 222 | }; |
| 223 | |
| 224 | &main_i2c6 { |
| 225 | status = "disabled"; |
| 226 | }; |
| 227 | |
| 228 | &mcu_i2c0_pins_default { |
| 229 | u-boot,dm-spl; |
| 230 | }; |
| 231 | |
| 232 | &mcu_fss0_ospi0_pins_default { |
| 233 | u-boot,dm-spl; |
| 234 | }; |
| 235 | |
| 236 | &fss { |
| 237 | u-boot,dm-spl; |
| 238 | }; |
| 239 | |
| 240 | &ospi0 { |
| 241 | u-boot,dm-spl; |
| 242 | |
| 243 | flash@0 { |
| 244 | u-boot,dm-spl; |
| 245 | |
| 246 | partition@3fc0000 { |
| 247 | label = "ospi.phypattern"; |
| 248 | reg = <0x3fc0000 0x40000>; |
| 249 | u-boot,dm-spl; |
| 250 | }; |
| 251 | }; |
| 252 | }; |
| 253 | |
| 254 | &serdes_ln_ctrl { |
| 255 | u-boot,mux-autoprobe; |
| 256 | }; |
| 257 | |
| 258 | &usb_serdes_mux { |
| 259 | u-boot,mux-autoprobe; |
| 260 | }; |
| 261 | |
| 262 | &pcie0_rc { |
| 263 | status = "disabled"; |
| 264 | }; |
| 265 | |
| 266 | &pcie1_rc { |
| 267 | status = "disabled"; |
| 268 | }; |
| 269 | |
| 270 | &pcie0_ep { |
| 271 | status = "disabled"; |
| 272 | }; |
| 273 | |
| 274 | &pcie1_ep { |
| 275 | status = "disabled"; |
| 276 | }; |
| 277 | |
| 278 | &dss { |
| 279 | status = "disabled"; |
| 280 | }; |