Lokesh Vutla | 3d09ed3 | 2018-11-02 19:51:08 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Device Tree Source for AM6 SoC Family MCU Domain peripherals |
| 4 | * |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 5 | * Copyright (C) 2016-2020 Texas Instruments Incorporated - https://www.ti.com/ |
Lokesh Vutla | 3d09ed3 | 2018-11-02 19:51:08 +0530 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | &cbass_mcu { |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 9 | mcu_conf: scm-conf@40f00000 { |
Vignesh Raghavendra | 388b117 | 2020-07-06 13:36:56 +0530 | [diff] [blame] | 10 | compatible = "syscon", "simple-mfd"; |
| 11 | reg = <0x0 0x40f00000 0x0 0x20000>; |
| 12 | #address-cells = <1>; |
| 13 | #size-cells = <1>; |
| 14 | ranges = <0x0 0x0 0x40f00000 0x20000>; |
| 15 | |
| 16 | phy_gmii_sel: phy@4040 { |
| 17 | compatible = "ti,am654-phy-gmii-sel"; |
| 18 | reg = <0x4040 0x4>; |
| 19 | #phy-cells = <1>; |
| 20 | }; |
| 21 | }; |
| 22 | |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 23 | /* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */ |
| 24 | mcu_timerio_input: pinctrl@40f04200 { |
| 25 | compatible = "pinctrl-single"; |
| 26 | reg = <0x0 0x40f04200 0x0 0x10>; |
| 27 | #pinctrl-cells = <1>; |
| 28 | pinctrl-single,register-width = <32>; |
| 29 | pinctrl-single,function-mask = <0x00000101>; |
| 30 | }; |
| 31 | |
| 32 | /* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */ |
| 33 | mcu_timerio_output: pinctrl@40f04280 { |
| 34 | compatible = "pinctrl-single"; |
| 35 | reg = <0x0 0x40f04280 0x0 0x8>; |
| 36 | #pinctrl-cells = <1>; |
| 37 | pinctrl-single,register-width = <32>; |
| 38 | pinctrl-single,function-mask = <0x00000003>; |
| 39 | }; |
| 40 | |
Lokesh Vutla | 3d09ed3 | 2018-11-02 19:51:08 +0530 | [diff] [blame] | 41 | mcu_uart0: serial@40a00000 { |
| 42 | compatible = "ti,am654-uart"; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 43 | reg = <0x00 0x40a00000 0x00 0x100>; |
| 44 | interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>; |
| 45 | clock-frequency = <96000000>; |
| 46 | current-speed = <115200>; |
| 47 | power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; |
| 48 | status = "disabled"; |
Lokesh Vutla | 3d09ed3 | 2018-11-02 19:51:08 +0530 | [diff] [blame] | 49 | }; |
Andreas Dannenberg | e3179be | 2019-06-04 18:08:14 -0500 | [diff] [blame] | 50 | |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 51 | mcu_ram: sram@41c00000 { |
| 52 | compatible = "mmio-sram"; |
| 53 | reg = <0x00 0x41c00000 0x00 0x80000>; |
| 54 | ranges = <0x0 0x00 0x41c00000 0x80000>; |
| 55 | #address-cells = <1>; |
| 56 | #size-cells = <1>; |
| 57 | }; |
| 58 | |
Andreas Dannenberg | e3179be | 2019-06-04 18:08:14 -0500 | [diff] [blame] | 59 | mcu_i2c0: i2c@40b00000 { |
| 60 | compatible = "ti,am654-i2c", "ti,omap4-i2c"; |
| 61 | reg = <0x0 0x40b00000 0x0 0x100>; |
| 62 | interrupts = <GIC_SPI 564 IRQ_TYPE_LEVEL_HIGH>; |
| 63 | #address-cells = <1>; |
| 64 | #size-cells = <0>; |
| 65 | clock-names = "fck"; |
| 66 | clocks = <&k3_clks 114 1>; |
Lokesh Vutla | 61ff6a3 | 2019-06-07 19:24:47 +0530 | [diff] [blame] | 67 | power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 68 | status = "disabled"; |
Andreas Dannenberg | e3179be | 2019-06-04 18:08:14 -0500 | [diff] [blame] | 69 | }; |
Suman Anna | 34721e5 | 2019-09-04 16:01:41 +0530 | [diff] [blame] | 70 | |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 71 | mcu_spi0: spi@40300000 { |
| 72 | compatible = "ti,am654-mcspi","ti,omap4-mcspi"; |
| 73 | reg = <0x0 0x40300000 0x0 0x400>; |
| 74 | interrupts = <GIC_SPI 560 IRQ_TYPE_LEVEL_HIGH>; |
| 75 | clocks = <&k3_clks 142 1>; |
| 76 | power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>; |
Suman Anna | 34721e5 | 2019-09-04 16:01:41 +0530 | [diff] [blame] | 77 | #address-cells = <1>; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 78 | #size-cells = <0>; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 79 | status = "disabled"; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 80 | }; |
Suman Anna | 34721e5 | 2019-09-04 16:01:41 +0530 | [diff] [blame] | 81 | |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 82 | mcu_spi1: spi@40310000 { |
| 83 | compatible = "ti,am654-mcspi","ti,omap4-mcspi"; |
| 84 | reg = <0x0 0x40310000 0x0 0x400>; |
| 85 | interrupts = <GIC_SPI 561 IRQ_TYPE_LEVEL_HIGH>; |
| 86 | clocks = <&k3_clks 143 1>; |
| 87 | power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>; |
| 88 | #address-cells = <1>; |
| 89 | #size-cells = <0>; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 90 | status = "disabled"; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 91 | }; |
Suman Anna | 34721e5 | 2019-09-04 16:01:41 +0530 | [diff] [blame] | 92 | |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 93 | mcu_spi2: spi@40320000 { |
| 94 | compatible = "ti,am654-mcspi","ti,omap4-mcspi"; |
| 95 | reg = <0x0 0x40320000 0x0 0x400>; |
| 96 | interrupts = <GIC_SPI 562 IRQ_TYPE_LEVEL_HIGH>; |
| 97 | clocks = <&k3_clks 144 1>; |
| 98 | power-domains = <&k3_pds 144 TI_SCI_PD_EXCLUSIVE>; |
| 99 | #address-cells = <1>; |
| 100 | #size-cells = <0>; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 101 | status = "disabled"; |
Suman Anna | 34721e5 | 2019-09-04 16:01:41 +0530 | [diff] [blame] | 102 | }; |
Vignesh Raghavendra | 1ee7955 | 2020-02-04 11:09:51 +0530 | [diff] [blame] | 103 | |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 104 | tscadc0: tscadc@40200000 { |
| 105 | compatible = "ti,am654-tscadc", "ti,am3359-tscadc"; |
| 106 | reg = <0x0 0x40200000 0x0 0x1000>; |
| 107 | interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>; |
| 108 | clocks = <&k3_clks 0 2>; |
| 109 | assigned-clocks = <&k3_clks 0 2>; |
| 110 | assigned-clock-rates = <60000000>; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 111 | clock-names = "fck"; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 112 | dmas = <&mcu_udmap 0x7100>, |
| 113 | <&mcu_udmap 0x7101 >; |
| 114 | dma-names = "fifo0", "fifo1"; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 115 | status = "disabled"; |
Vignesh Raghavendra | 1ee7955 | 2020-02-04 11:09:51 +0530 | [diff] [blame] | 116 | |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 117 | adc { |
| 118 | #io-channel-cells = <1>; |
| 119 | compatible = "ti,am654-adc", "ti,am3359-adc"; |
Vignesh Raghavendra | 1ee7955 | 2020-02-04 11:09:51 +0530 | [diff] [blame] | 120 | }; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 121 | }; |
Vignesh Raghavendra | 1ee7955 | 2020-02-04 11:09:51 +0530 | [diff] [blame] | 122 | |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 123 | tscadc1: tscadc@40210000 { |
| 124 | compatible = "ti,am654-tscadc", "ti,am3359-tscadc"; |
| 125 | reg = <0x0 0x40210000 0x0 0x1000>; |
| 126 | interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>; |
| 127 | clocks = <&k3_clks 1 2>; |
| 128 | assigned-clocks = <&k3_clks 1 2>; |
| 129 | assigned-clock-rates = <60000000>; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 130 | clock-names = "fck"; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 131 | dmas = <&mcu_udmap 0x7102>, |
| 132 | <&mcu_udmap 0x7103>; |
| 133 | dma-names = "fifo0", "fifo1"; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 134 | status = "disabled"; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 135 | |
| 136 | adc { |
| 137 | #io-channel-cells = <1>; |
| 138 | compatible = "ti,am654-adc", "ti,am3359-adc"; |
Vignesh Raghavendra | 1ee7955 | 2020-02-04 11:09:51 +0530 | [diff] [blame] | 139 | }; |
| 140 | }; |
Vignesh Raghavendra | 01250d8 | 2020-07-07 13:43:35 +0530 | [diff] [blame] | 141 | |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 142 | /* |
| 143 | * The MCU domain timer interrupts are routed only to the ESM module, |
| 144 | * and not currently available for Linux. The MCU domain timers are |
| 145 | * of limited use without interrupts, and likely reserved by the ESM. |
| 146 | */ |
| 147 | mcu_timer0: timer@40400000 { |
| 148 | compatible = "ti,am654-timer"; |
| 149 | reg = <0x00 0x40400000 0x00 0x400>; |
| 150 | clocks = <&k3_clks 35 0>; |
| 151 | clock-names = "fck"; |
| 152 | power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>; |
| 153 | ti,timer-pwm; |
| 154 | status = "reserved"; |
| 155 | }; |
| 156 | |
| 157 | mcu_timer1: timer@40410000 { |
| 158 | compatible = "ti,am654-timer"; |
| 159 | reg = <0x00 0x40410000 0x00 0x400>; |
| 160 | clocks = <&k3_clks 36 0>; |
| 161 | clock-names = "fck"; |
| 162 | power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>; |
| 163 | ti,timer-pwm; |
| 164 | status = "reserved"; |
| 165 | }; |
| 166 | |
| 167 | mcu_timer2: timer@40420000 { |
| 168 | compatible = "ti,am654-timer"; |
| 169 | reg = <0x00 0x40420000 0x00 0x400>; |
| 170 | clocks = <&k3_clks 37 0>; |
| 171 | clock-names = "fck"; |
| 172 | power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>; |
| 173 | ti,timer-pwm; |
| 174 | status = "reserved"; |
| 175 | }; |
| 176 | |
| 177 | mcu_timer3: timer@40430000 { |
| 178 | compatible = "ti,am654-timer"; |
| 179 | reg = <0x00 0x40430000 0x00 0x400>; |
| 180 | clocks = <&k3_clks 38 0>; |
| 181 | clock-names = "fck"; |
| 182 | power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>; |
| 183 | ti,timer-pwm; |
| 184 | status = "reserved"; |
| 185 | }; |
| 186 | |
Tom Rini | f827645 | 2021-09-10 17:37:43 -0400 | [diff] [blame] | 187 | mcu_navss: bus@28380000 { |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 188 | compatible = "simple-bus"; |
Vignesh Raghavendra | 01250d8 | 2020-07-07 13:43:35 +0530 | [diff] [blame] | 189 | #address-cells = <2>; |
| 190 | #size-cells = <2>; |
Tom Rini | f827645 | 2021-09-10 17:37:43 -0400 | [diff] [blame] | 191 | ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>; |
Vignesh Raghavendra | 01250d8 | 2020-07-07 13:43:35 +0530 | [diff] [blame] | 192 | dma-coherent; |
| 193 | dma-ranges; |
| 194 | |
| 195 | ti,sci-dev-id = <119>; |
| 196 | |
| 197 | mcu_ringacc: ringacc@2b800000 { |
| 198 | compatible = "ti,am654-navss-ringacc"; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 199 | reg = <0x0 0x2b800000 0x0 0x400000>, |
| 200 | <0x0 0x2b000000 0x0 0x400000>, |
| 201 | <0x0 0x28590000 0x0 0x100>, |
| 202 | <0x0 0x2a500000 0x0 0x40000>, |
| 203 | <0x0 0x28440000 0x0 0x40000>; |
| 204 | reg-names = "rt", "fifos", "proxy_gcfg", |
| 205 | "proxy_target", "cfg"; |
Vignesh Raghavendra | 01250d8 | 2020-07-07 13:43:35 +0530 | [diff] [blame] | 206 | ti,num-rings = <286>; |
Lokesh Vutla | 3eb3dcc | 2020-08-17 11:00:49 +0530 | [diff] [blame] | 207 | ti,sci-rm-range-gp-rings = <0x1>; /* GP ring range */ |
Vignesh Raghavendra | 01250d8 | 2020-07-07 13:43:35 +0530 | [diff] [blame] | 208 | ti,sci = <&dmsc>; |
| 209 | ti,sci-dev-id = <195>; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 210 | msi-parent = <&inta_main_udmass>; |
Vignesh Raghavendra | 01250d8 | 2020-07-07 13:43:35 +0530 | [diff] [blame] | 211 | }; |
| 212 | |
| 213 | mcu_udmap: dma-controller@285c0000 { |
| 214 | compatible = "ti,am654-navss-mcu-udmap"; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 215 | reg = <0x0 0x285c0000 0x0 0x100>, |
| 216 | <0x0 0x2a800000 0x0 0x40000>, |
| 217 | <0x0 0x2aa00000 0x0 0x40000>; |
Vignesh Raghavendra | 01250d8 | 2020-07-07 13:43:35 +0530 | [diff] [blame] | 218 | reg-names = "gcfg", "rchanrt", "tchanrt"; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 219 | msi-parent = <&inta_main_udmass>; |
Vignesh Raghavendra | 01250d8 | 2020-07-07 13:43:35 +0530 | [diff] [blame] | 220 | #dma-cells = <1>; |
| 221 | |
| 222 | ti,sci = <&dmsc>; |
| 223 | ti,sci-dev-id = <194>; |
| 224 | ti,ringacc = <&mcu_ringacc>; |
| 225 | |
Lokesh Vutla | 3eb3dcc | 2020-08-17 11:00:49 +0530 | [diff] [blame] | 226 | ti,sci-rm-range-tchan = <0xf>, /* TX_HCHAN */ |
| 227 | <0xd>; /* TX_CHAN */ |
| 228 | ti,sci-rm-range-rchan = <0xb>, /* RX_HCHAN */ |
| 229 | <0xa>; /* RX_CHAN */ |
| 230 | ti,sci-rm-range-rflow = <0x0>; /* GP RFLOW */ |
Vignesh Raghavendra | 01250d8 | 2020-07-07 13:43:35 +0530 | [diff] [blame] | 231 | }; |
| 232 | }; |
Vignesh Raghavendra | 388b117 | 2020-07-06 13:36:56 +0530 | [diff] [blame] | 233 | |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 234 | secure_proxy_mcu: mailbox@2a480000 { |
| 235 | compatible = "ti,am654-secure-proxy"; |
| 236 | #mbox-cells = <1>; |
| 237 | reg-names = "target_data", "rt", "scfg"; |
| 238 | reg = <0x0 0x2a480000 0x0 0x80000>, |
| 239 | <0x0 0x2a380000 0x0 0x80000>, |
| 240 | <0x0 0x2a400000 0x0 0x80000>; |
| 241 | /* |
| 242 | * Marked Disabled: |
| 243 | * Node is incomplete as it is meant for bootloaders and |
| 244 | * firmware on non-MPU processors |
| 245 | */ |
| 246 | status = "disabled"; |
| 247 | }; |
| 248 | |
| 249 | m_can0: can@40528000 { |
| 250 | compatible = "bosch,m_can"; |
| 251 | reg = <0x0 0x40528000 0x0 0x400>, |
| 252 | <0x0 0x40500000 0x0 0x4400>; |
| 253 | reg-names = "m_can", "message_ram"; |
| 254 | power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>; |
| 255 | clocks = <&k3_clks 102 5>, <&k3_clks 102 0>; |
| 256 | clock-names = "hclk", "cclk"; |
| 257 | interrupt-parent = <&gic500>; |
| 258 | interrupts = <GIC_SPI 544 IRQ_TYPE_LEVEL_HIGH>, |
| 259 | <GIC_SPI 545 IRQ_TYPE_LEVEL_HIGH>; |
| 260 | interrupt-names = "int0", "int1"; |
| 261 | bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; |
| 262 | status = "disabled"; |
| 263 | }; |
| 264 | |
| 265 | m_can1: can@40568000 { |
| 266 | compatible = "bosch,m_can"; |
| 267 | reg = <0x0 0x40568000 0x0 0x400>, |
| 268 | <0x0 0x40540000 0x0 0x4400>; |
| 269 | reg-names = "m_can", "message_ram"; |
| 270 | power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>; |
| 271 | clocks = <&k3_clks 103 5>, <&k3_clks 103 0>; |
| 272 | clock-names = "hclk", "cclk"; |
| 273 | interrupt-parent = <&gic500>; |
| 274 | interrupts = <GIC_SPI 547 IRQ_TYPE_LEVEL_HIGH>, |
| 275 | <GIC_SPI 548 IRQ_TYPE_LEVEL_HIGH>; |
| 276 | interrupt-names = "int0", "int1"; |
| 277 | bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; |
| 278 | status = "disabled"; |
| 279 | }; |
| 280 | |
| 281 | fss: bus@47000000 { |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 282 | compatible = "simple-bus"; |
| 283 | #address-cells = <2>; |
| 284 | #size-cells = <2>; |
| 285 | ranges; |
| 286 | |
| 287 | ospi0: spi@47040000 { |
| 288 | compatible = "ti,am654-ospi", "cdns,qspi-nor"; |
| 289 | reg = <0x0 0x47040000 0x0 0x100>, |
| 290 | <0x5 0x00000000 0x1 0x0000000>; |
| 291 | interrupts = <GIC_SPI 552 IRQ_TYPE_LEVEL_HIGH>; |
| 292 | cdns,fifo-depth = <256>; |
| 293 | cdns,fifo-width = <4>; |
| 294 | cdns,trigger-address = <0x0>; |
| 295 | clocks = <&k3_clks 248 0>; |
| 296 | assigned-clocks = <&k3_clks 248 0>; |
| 297 | assigned-clock-parents = <&k3_clks 248 2>; |
| 298 | assigned-clock-rates = <166666666>; |
| 299 | power-domains = <&k3_pds 248 TI_SCI_PD_EXCLUSIVE>; |
| 300 | #address-cells = <1>; |
| 301 | #size-cells = <0>; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 302 | status = "disabled"; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 303 | }; |
| 304 | |
| 305 | ospi1: spi@47050000 { |
| 306 | compatible = "ti,am654-ospi", "cdns,qspi-nor"; |
| 307 | reg = <0x0 0x47050000 0x0 0x100>, |
| 308 | <0x7 0x00000000 0x1 0x00000000>; |
| 309 | interrupts = <GIC_SPI 553 IRQ_TYPE_LEVEL_HIGH>; |
| 310 | cdns,fifo-depth = <256>; |
| 311 | cdns,fifo-width = <4>; |
| 312 | cdns,trigger-address = <0x0>; |
| 313 | clocks = <&k3_clks 249 6>; |
| 314 | power-domains = <&k3_pds 249 TI_SCI_PD_EXCLUSIVE>; |
| 315 | #address-cells = <1>; |
| 316 | #size-cells = <0>; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 317 | status = "disabled"; |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 318 | }; |
| 319 | }; |
| 320 | |
Vignesh Raghavendra | 388b117 | 2020-07-06 13:36:56 +0530 | [diff] [blame] | 321 | mcu_cpsw: ethernet@46000000 { |
| 322 | compatible = "ti,am654-cpsw-nuss"; |
| 323 | #address-cells = <2>; |
| 324 | #size-cells = <2>; |
| 325 | reg = <0x0 0x46000000 0x0 0x200000>; |
| 326 | reg-names = "cpsw_nuss"; |
| 327 | ranges = <0x0 0x0 0x0 0x46000000 0x0 0x200000>; |
| 328 | dma-coherent; |
| 329 | clocks = <&k3_clks 5 10>; |
| 330 | clock-names = "fck"; |
| 331 | power-domains = <&k3_pds 5 TI_SCI_PD_EXCLUSIVE>; |
| 332 | |
| 333 | dmas = <&mcu_udmap 0xf000>, |
| 334 | <&mcu_udmap 0xf001>, |
| 335 | <&mcu_udmap 0xf002>, |
| 336 | <&mcu_udmap 0xf003>, |
| 337 | <&mcu_udmap 0xf004>, |
| 338 | <&mcu_udmap 0xf005>, |
| 339 | <&mcu_udmap 0xf006>, |
| 340 | <&mcu_udmap 0xf007>, |
| 341 | <&mcu_udmap 0x7000>; |
| 342 | dma-names = "tx0", "tx1", "tx2", "tx3", |
| 343 | "tx4", "tx5", "tx6", "tx7", |
| 344 | "rx"; |
| 345 | |
| 346 | ethernet-ports { |
| 347 | #address-cells = <1>; |
| 348 | #size-cells = <0>; |
| 349 | |
| 350 | cpsw_port1: port@1 { |
| 351 | reg = <1>; |
| 352 | ti,mac-only; |
| 353 | label = "port1"; |
| 354 | ti,syscon-efuse = <&mcu_conf 0x200>; |
| 355 | phys = <&phy_gmii_sel 1>; |
| 356 | }; |
| 357 | }; |
| 358 | |
| 359 | davinci_mdio: mdio@f00 { |
| 360 | compatible = "ti,cpsw-mdio","ti,davinci_mdio"; |
| 361 | reg = <0x0 0xf00 0x0 0x100>; |
| 362 | #address-cells = <1>; |
| 363 | #size-cells = <0>; |
| 364 | clocks = <&k3_clks 5 10>; |
| 365 | clock-names = "fck"; |
| 366 | bus_freq = <1000000>; |
Bryan Brattlof | fd1fe63 | 2023-12-29 11:47:01 -0600 | [diff] [blame] | 367 | status = "disabled"; |
Vignesh Raghavendra | 388b117 | 2020-07-06 13:36:56 +0530 | [diff] [blame] | 368 | }; |
| 369 | |
| 370 | cpts@3d000 { |
| 371 | compatible = "ti,am65-cpts"; |
| 372 | reg = <0x0 0x3d000 0x0 0x400>; |
| 373 | clocks = <&mcu_cpsw_cpts_mux>; |
| 374 | clock-names = "cpts"; |
| 375 | interrupts-extended = <&gic500 GIC_SPI 570 IRQ_TYPE_LEVEL_HIGH>; |
| 376 | interrupt-names = "cpts"; |
| 377 | ti,cpts-ext-ts-inputs = <4>; |
| 378 | ti,cpts-periodic-outputs = <2>; |
| 379 | |
| 380 | mcu_cpsw_cpts_mux: refclk-mux { |
| 381 | #clock-cells = <0>; |
| 382 | clocks = <&k3_clks 118 5>, <&k3_clks 118 11>, |
| 383 | <&k3_clks 118 6>, <&k3_clks 118 3>, |
| 384 | <&k3_clks 118 8>, <&k3_clks 118 14>, |
| 385 | <&k3_clks 120 3>, <&k3_clks 121 3>; |
| 386 | assigned-clocks = <&mcu_cpsw_cpts_mux>; |
| 387 | assigned-clock-parents = <&k3_clks 118 5>; |
| 388 | }; |
| 389 | }; |
| 390 | }; |
Jan Kiszka | b97bbb8 | 2020-06-23 13:15:10 +0200 | [diff] [blame] | 391 | |
Lokesh Vutla | 462275c | 2021-02-01 11:26:39 +0530 | [diff] [blame] | 392 | mcu_r5fss0: r5fss@41000000 { |
| 393 | compatible = "ti,am654-r5fss"; |
| 394 | ti,cluster-mode = <1>; |
| 395 | #address-cells = <1>; |
| 396 | #size-cells = <1>; |
| 397 | ranges = <0x41000000 0x00 0x41000000 0x20000>, |
| 398 | <0x41400000 0x00 0x41400000 0x20000>; |
| 399 | power-domains = <&k3_pds 129 TI_SCI_PD_EXCLUSIVE>; |
| 400 | |
| 401 | mcu_r5fss0_core0: r5f@41000000 { |
| 402 | compatible = "ti,am654-r5f"; |
| 403 | reg = <0x41000000 0x00008000>, |
| 404 | <0x41010000 0x00008000>; |
| 405 | reg-names = "atcm", "btcm"; |
| 406 | ti,sci = <&dmsc>; |
| 407 | ti,sci-dev-id = <159>; |
| 408 | ti,sci-proc-ids = <0x01 0xff>; |
| 409 | resets = <&k3_reset 159 1>; |
| 410 | firmware-name = "am65x-mcu-r5f0_0-fw"; |
| 411 | ti,atcm-enable = <1>; |
| 412 | ti,btcm-enable = <1>; |
| 413 | ti,loczrama = <1>; |
| 414 | }; |
| 415 | |
| 416 | mcu_r5fss0_core1: r5f@41400000 { |
| 417 | compatible = "ti,am654-r5f"; |
| 418 | reg = <0x41400000 0x00008000>, |
| 419 | <0x41410000 0x00008000>; |
| 420 | reg-names = "atcm", "btcm"; |
| 421 | ti,sci = <&dmsc>; |
| 422 | ti,sci-dev-id = <245>; |
| 423 | ti,sci-proc-ids = <0x02 0xff>; |
| 424 | resets = <&k3_reset 245 1>; |
| 425 | firmware-name = "am65x-mcu-r5f0_1-fw"; |
| 426 | ti,atcm-enable = <1>; |
| 427 | ti,btcm-enable = <1>; |
| 428 | ti,loczrama = <1>; |
| 429 | }; |
Jan Kiszka | b97bbb8 | 2020-06-23 13:15:10 +0200 | [diff] [blame] | 430 | }; |
Tom Rini | f827645 | 2021-09-10 17:37:43 -0400 | [diff] [blame] | 431 | |
| 432 | mcu_rti1: watchdog@40610000 { |
| 433 | compatible = "ti,j7-rti-wdt"; |
| 434 | reg = <0x0 0x40610000 0x0 0x100>; |
| 435 | clocks = <&k3_clks 135 0>; |
| 436 | power-domains = <&k3_pds 135 TI_SCI_PD_SHARED>; |
| 437 | assigned-clocks = <&k3_clks 135 0>; |
| 438 | assigned-clock-parents = <&k3_clks 135 4>; |
| 439 | }; |
Lokesh Vutla | 3d09ed3 | 2018-11-02 19:51:08 +0530 | [diff] [blame] | 440 | }; |