| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ |
|---|
| 3 | + * Copyright (C) 2014 Texas Instruments Incorporated - https://www.ti.com/ |
|---|
| 3 | 4 | * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 5 | * Based on "omap4.dtsi" |
|---|
| 8 | 6 | */ |
|---|
| 9 | 7 | |
|---|
| .. | .. |
|---|
| 31 | 29 | }; |
|---|
| 32 | 30 | }; |
|---|
| 33 | 31 | |
|---|
| 32 | + aliases { |
|---|
| 33 | + rproc0 = &ipu1; |
|---|
| 34 | + rproc1 = &ipu2; |
|---|
| 35 | + rproc2 = &dsp1; |
|---|
| 36 | + rproc3 = &dsp2; |
|---|
| 37 | + }; |
|---|
| 38 | + |
|---|
| 34 | 39 | pmu { |
|---|
| 35 | 40 | compatible = "arm,cortex-a15-pmu"; |
|---|
| 36 | 41 | interrupt-parent = <&wakeupgen>; |
|---|
| .. | .. |
|---|
| 44 | 49 | reg = <0x41500000 0x100>; |
|---|
| 45 | 50 | }; |
|---|
| 46 | 51 | |
|---|
| 47 | | - omap_dwc3_4: omap_dwc3_4@48940000 { |
|---|
| 48 | | - compatible = "ti,dwc3"; |
|---|
| 49 | | - ti,hwmods = "usb_otg_ss4"; |
|---|
| 50 | | - reg = <0x48940000 0x10000>; |
|---|
| 51 | | - interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 52 | | - #address-cells = <1>; |
|---|
| 52 | + |
|---|
| 53 | + target-module@41501000 { |
|---|
| 54 | + compatible = "ti,sysc-omap2", "ti,sysc"; |
|---|
| 55 | + reg = <0x41501000 0x4>, |
|---|
| 56 | + <0x41501010 0x4>, |
|---|
| 57 | + <0x41501014 0x4>; |
|---|
| 58 | + reg-names = "rev", "sysc", "syss"; |
|---|
| 59 | + ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
|---|
| 60 | + <SYSC_IDLE_NO>, |
|---|
| 61 | + <SYSC_IDLE_SMART>; |
|---|
| 62 | + ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
|---|
| 63 | + SYSC_OMAP2_SOFTRESET | |
|---|
| 64 | + SYSC_OMAP2_AUTOIDLE)>; |
|---|
| 65 | + clocks = <&dsp2_clkctrl DRA7_DSP2_MMU0_DSP2_CLKCTRL 0>; |
|---|
| 66 | + clock-names = "fck"; |
|---|
| 67 | + resets = <&prm_dsp2 1>; |
|---|
| 68 | + reset-names = "rstctrl"; |
|---|
| 69 | + ranges = <0x0 0x41501000 0x1000>; |
|---|
| 53 | 70 | #size-cells = <1>; |
|---|
| 54 | | - utmi-mode = <2>; |
|---|
| 55 | | - ranges; |
|---|
| 56 | | - status = "disabled"; |
|---|
| 57 | | - usb4: usb@48950000 { |
|---|
| 58 | | - compatible = "snps,dwc3"; |
|---|
| 59 | | - reg = <0x48950000 0x17000>; |
|---|
| 60 | | - interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 61 | | - <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 62 | | - <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 63 | | - interrupt-names = "peripheral", |
|---|
| 64 | | - "host", |
|---|
| 65 | | - "otg"; |
|---|
| 66 | | - maximum-speed = "high-speed"; |
|---|
| 67 | | - dr_mode = "otg"; |
|---|
| 71 | + #address-cells = <1>; |
|---|
| 72 | + |
|---|
| 73 | + mmu0_dsp2: mmu@0 { |
|---|
| 74 | + compatible = "ti,dra7-dsp-iommu"; |
|---|
| 75 | + reg = <0x0 0x100>; |
|---|
| 76 | + interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 77 | + #iommu-cells = <0>; |
|---|
| 78 | + ti,syscon-mmuconfig = <&dsp2_system 0x0>; |
|---|
| 68 | 79 | }; |
|---|
| 69 | 80 | }; |
|---|
| 70 | 81 | |
|---|
| 71 | | - mmu0_dsp2: mmu@41501000 { |
|---|
| 72 | | - compatible = "ti,dra7-dsp-iommu"; |
|---|
| 73 | | - reg = <0x41501000 0x100>; |
|---|
| 74 | | - interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 75 | | - ti,hwmods = "mmu0_dsp2"; |
|---|
| 76 | | - #iommu-cells = <0>; |
|---|
| 77 | | - ti,syscon-mmuconfig = <&dsp2_system 0x0>; |
|---|
| 78 | | - status = "disabled"; |
|---|
| 82 | + target-module@41502000 { |
|---|
| 83 | + compatible = "ti,sysc-omap2", "ti,sysc"; |
|---|
| 84 | + reg = <0x41502000 0x4>, |
|---|
| 85 | + <0x41502010 0x4>, |
|---|
| 86 | + <0x41502014 0x4>; |
|---|
| 87 | + reg-names = "rev", "sysc", "syss"; |
|---|
| 88 | + ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
|---|
| 89 | + <SYSC_IDLE_NO>, |
|---|
| 90 | + <SYSC_IDLE_SMART>; |
|---|
| 91 | + ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
|---|
| 92 | + SYSC_OMAP2_SOFTRESET | |
|---|
| 93 | + SYSC_OMAP2_AUTOIDLE)>; |
|---|
| 94 | + |
|---|
| 95 | + clocks = <&dsp2_clkctrl DRA7_DSP2_MMU0_DSP2_CLKCTRL 0>; |
|---|
| 96 | + clock-names = "fck"; |
|---|
| 97 | + resets = <&prm_dsp2 1>; |
|---|
| 98 | + reset-names = "rstctrl"; |
|---|
| 99 | + ranges = <0x0 0x41502000 0x1000>; |
|---|
| 100 | + #size-cells = <1>; |
|---|
| 101 | + #address-cells = <1>; |
|---|
| 102 | + |
|---|
| 103 | + mmu1_dsp2: mmu@0 { |
|---|
| 104 | + compatible = "ti,dra7-dsp-iommu"; |
|---|
| 105 | + reg = <0x0 0x100>; |
|---|
| 106 | + interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 107 | + #iommu-cells = <0>; |
|---|
| 108 | + ti,syscon-mmuconfig = <&dsp2_system 0x1>; |
|---|
| 109 | + }; |
|---|
| 79 | 110 | }; |
|---|
| 80 | 111 | |
|---|
| 81 | | - mmu1_dsp2: mmu@41502000 { |
|---|
| 82 | | - compatible = "ti,dra7-dsp-iommu"; |
|---|
| 83 | | - reg = <0x41502000 0x100>; |
|---|
| 84 | | - interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 85 | | - ti,hwmods = "mmu1_dsp2"; |
|---|
| 86 | | - #iommu-cells = <0>; |
|---|
| 87 | | - ti,syscon-mmuconfig = <&dsp2_system 0x1>; |
|---|
| 112 | + dsp2: dsp@41000000 { |
|---|
| 113 | + compatible = "ti,dra7-dsp"; |
|---|
| 114 | + reg = <0x41000000 0x48000>, |
|---|
| 115 | + <0x41600000 0x8000>, |
|---|
| 116 | + <0x41700000 0x8000>; |
|---|
| 117 | + reg-names = "l2ram", "l1pram", "l1dram"; |
|---|
| 118 | + ti,bootreg = <&scm_conf 0x560 10>; |
|---|
| 119 | + iommus = <&mmu0_dsp2>, <&mmu1_dsp2>; |
|---|
| 88 | 120 | status = "disabled"; |
|---|
| 121 | + resets = <&prm_dsp2 0>; |
|---|
| 122 | + clocks = <&dsp2_clkctrl DRA7_DSP2_MMU0_DSP2_CLKCTRL 0>; |
|---|
| 123 | + firmware-name = "dra7-dsp2-fw.xe66"; |
|---|
| 89 | 124 | }; |
|---|
| 90 | 125 | }; |
|---|
| 91 | 126 | }; |
|---|
| .. | .. |
|---|
| 95 | 130 | }; |
|---|
| 96 | 131 | |
|---|
| 97 | 132 | &dss { |
|---|
| 98 | | - reg = <0x58000000 0x80>, |
|---|
| 99 | | - <0x58004054 0x4>, |
|---|
| 100 | | - <0x58004300 0x20>, |
|---|
| 101 | | - <0x58009054 0x4>, |
|---|
| 102 | | - <0x58009300 0x20>; |
|---|
| 133 | + reg = <0 0x80>, |
|---|
| 134 | + <0x4054 0x4>, |
|---|
| 135 | + <0x4300 0x20>, |
|---|
| 136 | + <0x9054 0x4>, |
|---|
| 137 | + <0x9300 0x20>; |
|---|
| 103 | 138 | reg-names = "dss", "pll1_clkctrl", "pll1", |
|---|
| 104 | 139 | "pll2_clkctrl", "pll2"; |
|---|
| 105 | 140 | |
|---|
| 106 | | - clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>, |
|---|
| 107 | | - <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 12>, |
|---|
| 108 | | - <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 13>; |
|---|
| 141 | + clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>, |
|---|
| 142 | + <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 12>, |
|---|
| 143 | + <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 13>; |
|---|
| 109 | 144 | clock-names = "fck", "video1_clk", "video2_clk"; |
|---|
| 110 | 145 | }; |
|---|
| 111 | 146 | |
|---|
| 112 | 147 | &mailbox5 { |
|---|
| 113 | | - mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { |
|---|
| 148 | + mbox_ipu1_ipc3x: mbox-ipu1-ipc3x { |
|---|
| 114 | 149 | ti,mbox-tx = <6 2 2>; |
|---|
| 115 | 150 | ti,mbox-rx = <4 2 2>; |
|---|
| 116 | 151 | status = "disabled"; |
|---|
| 117 | 152 | }; |
|---|
| 118 | | - mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { |
|---|
| 153 | + mbox_dsp1_ipc3x: mbox-dsp1-ipc3x { |
|---|
| 119 | 154 | ti,mbox-tx = <5 2 2>; |
|---|
| 120 | 155 | ti,mbox-rx = <1 2 2>; |
|---|
| 121 | 156 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 123 | 158 | }; |
|---|
| 124 | 159 | |
|---|
| 125 | 160 | &mailbox6 { |
|---|
| 126 | | - mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { |
|---|
| 161 | + mbox_ipu2_ipc3x: mbox-ipu2-ipc3x { |
|---|
| 127 | 162 | ti,mbox-tx = <6 2 2>; |
|---|
| 128 | 163 | ti,mbox-rx = <4 2 2>; |
|---|
| 129 | 164 | status = "disabled"; |
|---|
| 130 | 165 | }; |
|---|
| 131 | | - mbox_dsp2_ipc3x: mbox_dsp2_ipc3x { |
|---|
| 166 | + mbox_dsp2_ipc3x: mbox-dsp2-ipc3x { |
|---|
| 132 | 167 | ti,mbox-tx = <5 2 2>; |
|---|
| 133 | 168 | ti,mbox-rx = <1 2 2>; |
|---|
| 134 | 169 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 146 | 181 | &pcie2_rc { |
|---|
| 147 | 182 | compatible = "ti,dra746-pcie-rc", "ti,dra7-pcie"; |
|---|
| 148 | 183 | }; |
|---|
| 184 | + |
|---|
| 185 | +&l4_per3 { |
|---|
| 186 | + segment@0 { |
|---|
| 187 | + usb4_tm: target-module@140000 { /* 0x48940000, ap 75 3c.0 */ |
|---|
| 188 | + compatible = "ti,sysc-omap4", "ti,sysc"; |
|---|
| 189 | + reg = <0x140000 0x4>, |
|---|
| 190 | + <0x140010 0x4>; |
|---|
| 191 | + reg-names = "rev", "sysc"; |
|---|
| 192 | + ti,sysc-mask = <SYSC_OMAP4_DMADISABLE>; |
|---|
| 193 | + ti,sysc-midle = <SYSC_IDLE_FORCE>, |
|---|
| 194 | + <SYSC_IDLE_NO>, |
|---|
| 195 | + <SYSC_IDLE_SMART>, |
|---|
| 196 | + <SYSC_IDLE_SMART_WKUP>; |
|---|
| 197 | + ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
|---|
| 198 | + <SYSC_IDLE_NO>, |
|---|
| 199 | + <SYSC_IDLE_SMART>, |
|---|
| 200 | + <SYSC_IDLE_SMART_WKUP>; |
|---|
| 201 | + /* Domains (P, C): l3init_pwrdm, l3init_clkdm */ |
|---|
| 202 | + clocks = <&l3init_clkctrl DRA7_L3INIT_USB_OTG_SS4_CLKCTRL 0>; |
|---|
| 203 | + clock-names = "fck"; |
|---|
| 204 | + #address-cells = <1>; |
|---|
| 205 | + #size-cells = <1>; |
|---|
| 206 | + ranges = <0x0 0x140000 0x20000>; |
|---|
| 207 | + |
|---|
| 208 | + omap_dwc3_4: omap_dwc3_4@0 { |
|---|
| 209 | + compatible = "ti,dwc3"; |
|---|
| 210 | + reg = <0 0x10000>; |
|---|
| 211 | + interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 212 | + #address-cells = <1>; |
|---|
| 213 | + #size-cells = <1>; |
|---|
| 214 | + utmi-mode = <2>; |
|---|
| 215 | + ranges; |
|---|
| 216 | + status = "disabled"; |
|---|
| 217 | + usb4: usb@10000 { |
|---|
| 218 | + compatible = "snps,dwc3"; |
|---|
| 219 | + reg = <0x10000 0x17000>; |
|---|
| 220 | + interrupts = <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 221 | + <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 222 | + <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 223 | + interrupt-names = "peripheral", |
|---|
| 224 | + "host", |
|---|
| 225 | + "otg"; |
|---|
| 226 | + maximum-speed = "high-speed"; |
|---|
| 227 | + dr_mode = "otg"; |
|---|
| 228 | + }; |
|---|
| 229 | + }; |
|---|
| 230 | + }; |
|---|
| 231 | + }; |
|---|
| 232 | +}; |
|---|