Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 2 | /* |
Alexander A. Klimov | 75f6681 | 2020-07-08 11:34:51 +0200 | [diff] [blame] | 3 | * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 4 | * |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 5 | * Based on "omap4.dtsi" |
| 6 | */ |
| 7 | |
Tony Lindgren | e14d7e5 | 2018-01-11 16:04:03 -0800 | [diff] [blame] | 8 | #include <dt-bindings/bus/ti-sysc.h> |
| 9 | #include <dt-bindings/clock/dra7.h> |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 10 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 11 | #include <dt-bindings/pinctrl/dra.h> |
Tero Kristo | 1839533 | 2017-12-08 17:17:29 +0200 | [diff] [blame] | 12 | #include <dt-bindings/clock/dra7.h> |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 13 | |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 14 | #define MAX_SOURCES 400 |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 15 | |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 16 | / { |
Lokesh Vutla | dae320e | 2016-02-24 15:41:04 +0530 | [diff] [blame] | 17 | #address-cells = <2>; |
| 18 | #size-cells = <2>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 19 | |
| 20 | compatible = "ti,dra7xx"; |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 21 | interrupt-parent = <&crossbar_mpu>; |
Javier Martinez Canillas | 7f6c857 | 2016-12-19 11:44:41 -0300 | [diff] [blame] | 22 | chosen { }; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 23 | |
| 24 | aliases { |
Nishanth Menon | 20b8094 | 2013-10-16 15:21:03 -0500 | [diff] [blame] | 25 | i2c0 = &i2c1; |
| 26 | i2c1 = &i2c2; |
| 27 | i2c2 = &i2c3; |
| 28 | i2c3 = &i2c4; |
| 29 | i2c4 = &i2c5; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 30 | serial0 = &uart1; |
| 31 | serial1 = &uart2; |
| 32 | serial2 = &uart3; |
| 33 | serial3 = &uart4; |
| 34 | serial4 = &uart5; |
| 35 | serial5 = &uart6; |
Nishanth Menon | 065bd7f | 2014-10-21 11:18:15 -0500 | [diff] [blame] | 36 | serial6 = &uart7; |
| 37 | serial7 = &uart8; |
| 38 | serial8 = &uart9; |
| 39 | serial9 = &uart10; |
Grygorii Strashko | ec9bc5b | 2020-09-07 23:21:25 +0300 | [diff] [blame] | 40 | ethernet0 = &cpsw_port1; |
| 41 | ethernet1 = &cpsw_port2; |
Roger Quadros | 9ec49b9 | 2014-08-15 16:08:36 +0300 | [diff] [blame] | 42 | d_can0 = &dcan1; |
| 43 | d_can1 = &dcan2; |
Mugunthan V N | 480b2b3 | 2015-11-19 12:31:01 +0530 | [diff] [blame] | 44 | spi0 = &qspi; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 45 | }; |
| 46 | |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 47 | timer { |
| 48 | compatible = "arm,armv7-timer"; |
| 49 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, |
| 50 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, |
| 51 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, |
| 52 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 53 | interrupt-parent = <&gic>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | gic: interrupt-controller@48211000 { |
| 57 | compatible = "arm,cortex-a15-gic"; |
| 58 | interrupt-controller; |
| 59 | #interrupt-cells = <3>; |
Lokesh Vutla | dae320e | 2016-02-24 15:41:04 +0530 | [diff] [blame] | 60 | reg = <0x0 0x48211000 0x0 0x1000>, |
Marc Zyngier | 387720c | 2017-01-18 09:27:28 +0000 | [diff] [blame] | 61 | <0x0 0x48212000 0x0 0x2000>, |
Lokesh Vutla | dae320e | 2016-02-24 15:41:04 +0530 | [diff] [blame] | 62 | <0x0 0x48214000 0x0 0x2000>, |
| 63 | <0x0 0x48216000 0x0 0x2000>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 64 | interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 65 | interrupt-parent = <&gic>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 66 | }; |
| 67 | |
Marc Zyngier | 7136d45 | 2015-03-11 15:43:49 +0000 | [diff] [blame] | 68 | wakeupgen: interrupt-controller@48281000 { |
| 69 | compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu"; |
| 70 | interrupt-controller; |
| 71 | #interrupt-cells = <3>; |
Lokesh Vutla | dae320e | 2016-02-24 15:41:04 +0530 | [diff] [blame] | 72 | reg = <0x0 0x48281000 0x0 0x1000>; |
Marc Zyngier | 7136d45 | 2015-03-11 15:43:49 +0000 | [diff] [blame] | 73 | interrupt-parent = <&gic>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 74 | }; |
| 75 | |
Dave Gerlach | b82ffb3 | 2016-05-18 18:36:32 -0500 | [diff] [blame] | 76 | cpus { |
| 77 | #address-cells = <1>; |
| 78 | #size-cells = <0>; |
| 79 | |
| 80 | cpu0: cpu@0 { |
| 81 | device_type = "cpu"; |
| 82 | compatible = "arm,cortex-a15"; |
| 83 | reg = <0>; |
| 84 | |
Dave Gerlach | a4e5e9f | 2017-03-06 09:23:41 -0600 | [diff] [blame] | 85 | operating-points-v2 = <&cpu0_opp_table>; |
Dave Gerlach | b82ffb3 | 2016-05-18 18:36:32 -0500 | [diff] [blame] | 86 | |
| 87 | clocks = <&dpll_mpu_ck>; |
| 88 | clock-names = "cpu"; |
| 89 | |
| 90 | clock-latency = <300000>; /* From omap-cpufreq driver */ |
| 91 | |
| 92 | /* cooling options */ |
Dave Gerlach | b82ffb3 | 2016-05-18 18:36:32 -0500 | [diff] [blame] | 93 | #cooling-cells = <2>; /* min followed by max */ |
Dave Gerlach | 000fb7a | 2017-12-19 09:24:19 -0600 | [diff] [blame] | 94 | |
| 95 | vbb-supply = <&abb_mpu>; |
Dave Gerlach | b82ffb3 | 2016-05-18 18:36:32 -0500 | [diff] [blame] | 96 | }; |
| 97 | }; |
| 98 | |
Dave Gerlach | a4e5e9f | 2017-03-06 09:23:41 -0600 | [diff] [blame] | 99 | cpu0_opp_table: opp-table { |
| 100 | compatible = "operating-points-v2-ti-cpu"; |
| 101 | syscon = <&scm_wkup>; |
| 102 | |
Viresh Kumar | b9cb2ba | 2017-04-20 16:25:06 +0530 | [diff] [blame] | 103 | opp_nom-1000000000 { |
Dave Gerlach | a4e5e9f | 2017-03-06 09:23:41 -0600 | [diff] [blame] | 104 | opp-hz = /bits/ 64 <1000000000>; |
Dave Gerlach | 000fb7a | 2017-12-19 09:24:19 -0600 | [diff] [blame] | 105 | opp-microvolt = <1060000 850000 1150000>, |
| 106 | <1060000 850000 1150000>; |
Dave Gerlach | a4e5e9f | 2017-03-06 09:23:41 -0600 | [diff] [blame] | 107 | opp-supported-hw = <0xFF 0x01>; |
| 108 | opp-suspend; |
| 109 | }; |
| 110 | |
Viresh Kumar | b9cb2ba | 2017-04-20 16:25:06 +0530 | [diff] [blame] | 111 | opp_od-1176000000 { |
Dave Gerlach | a4e5e9f | 2017-03-06 09:23:41 -0600 | [diff] [blame] | 112 | opp-hz = /bits/ 64 <1176000000>; |
Dave Gerlach | 000fb7a | 2017-12-19 09:24:19 -0600 | [diff] [blame] | 113 | opp-microvolt = <1160000 885000 1160000>, |
| 114 | <1160000 885000 1160000>; |
| 115 | |
Dave Gerlach | a4e5e9f | 2017-03-06 09:23:41 -0600 | [diff] [blame] | 116 | opp-supported-hw = <0xFF 0x02>; |
| 117 | }; |
Dave Gerlach | bc69fed | 2017-12-19 09:24:21 -0600 | [diff] [blame] | 118 | |
| 119 | opp_high@1500000000 { |
| 120 | opp-hz = /bits/ 64 <1500000000>; |
| 121 | opp-microvolt = <1210000 950000 1250000>, |
| 122 | <1210000 950000 1250000>; |
| 123 | opp-supported-hw = <0xFF 0x04>; |
| 124 | }; |
Dave Gerlach | a4e5e9f | 2017-03-06 09:23:41 -0600 | [diff] [blame] | 125 | }; |
| 126 | |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 127 | /* |
Geert Uytterhoeven | 5c5be9d | 2014-03-28 11:11:37 +0100 | [diff] [blame] | 128 | * The soc node represents the soc top level view. It is used for IPs |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 129 | * that are not memory mapped in the MPU view or for the MPU itself. |
| 130 | */ |
| 131 | soc { |
| 132 | compatible = "ti,omap-infra"; |
| 133 | mpu { |
| 134 | compatible = "ti,omap5-mpu"; |
| 135 | ti,hwmods = "mpu"; |
| 136 | }; |
| 137 | }; |
| 138 | |
| 139 | /* |
| 140 | * XXX: Use a flat representation of the SOC interconnect. |
| 141 | * The real OMAP interconnect network is quite complex. |
Geert Uytterhoeven | b7ab524 | 2014-03-28 11:11:39 +0100 | [diff] [blame] | 142 | * Since it will not bring real advantage to represent that in DT for |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 143 | * the moment, just use a fake OCP bus entry to represent the whole bus |
| 144 | * hierarchy. |
| 145 | */ |
Suman Anna | ecdeca6 | 2020-02-27 16:28:37 -0600 | [diff] [blame] | 146 | ocp: ocp { |
Tony Lindgren | 7f2659c | 2021-03-10 14:03:46 +0200 | [diff] [blame] | 147 | compatible = "simple-bus"; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 148 | #address-cells = <1>; |
| 149 | #size-cells = <1>; |
Lokesh Vutla | dae320e | 2016-02-24 15:41:04 +0530 | [diff] [blame] | 150 | ranges = <0x0 0x0 0x0 0xc0000000>; |
Roger Quadros | cfb5d65 | 2020-03-13 11:47:17 +0200 | [diff] [blame] | 151 | dma-ranges = <0x80000000 0x0 0x80000000 0x80000000>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 152 | ti,hwmods = "l3_main_1", "l3_main_2"; |
Tony Lindgren | 7f2659c | 2021-03-10 14:03:46 +0200 | [diff] [blame] | 153 | |
| 154 | l3-noc@44000000 { |
| 155 | compatible = "ti,dra7-l3-noc"; |
| 156 | reg = <0x44000000 0x1000>, |
| 157 | <0x45000000 0x1000>; |
| 158 | interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, |
| 159 | <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 160 | }; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 161 | |
Tony Lindgren | 4ed0dfe | 2018-09-27 13:39:07 -0700 | [diff] [blame] | 162 | l4_cfg: interconnect@4a000000 { |
Tero Kristo | d919501 | 2015-02-12 11:37:13 +0200 | [diff] [blame] | 163 | }; |
Tony Lindgren | 4ed0dfe | 2018-09-27 13:39:07 -0700 | [diff] [blame] | 164 | l4_wkup: interconnect@4ae00000 { |
| 165 | }; |
| 166 | l4_per1: interconnect@48000000 { |
| 167 | }; |
| 168 | l4_per2: interconnect@48400000 { |
| 169 | }; |
| 170 | l4_per3: interconnect@48800000 { |
Tero Kristo | ee6c750 | 2013-07-18 17:18:33 +0300 | [diff] [blame] | 171 | }; |
| 172 | |
Tony Lindgren | 785d943 | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 173 | /* |
| 174 | * Register access seems to have complex dependencies and also |
| 175 | * seems to need an enabled phy. See the TRM chapter for "Table |
| 176 | * 26-678. Main Sequence PCIe Controller Global Initialization" |
| 177 | * and also dra7xx_pcie_probe(). |
| 178 | */ |
| 179 | axi0: target-module@51000000 { |
| 180 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 181 | power-domains = <&prm_l3init>; |
| 182 | resets = <&prm_l3init 0>; |
| 183 | reset-names = "rstctrl"; |
| 184 | clocks = <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 0>, |
| 185 | <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 9>, |
| 186 | <&pcie_clkctrl DRA7_PCIE_PCIE1_CLKCTRL 10>; |
| 187 | clock-names = "fck", "phy-clk", "phy-clk-div"; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 188 | #size-cells = <1>; |
| 189 | #address-cells = <1>; |
Tony Lindgren | c761028 | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 190 | ranges = <0x51000000 0x51000000 0x3000>, |
| 191 | <0x20000000 0x20000000 0x10000000>; |
Kishon Vijay Abraham I | 90d4d3f | 2020-04-17 12:13:40 +0530 | [diff] [blame] | 192 | dma-ranges; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 193 | /** |
| 194 | * To enable PCI endpoint mode, disable the pcie1_rc |
| 195 | * node and enable pcie1_ep mode. |
| 196 | */ |
| 197 | pcie1_rc: pcie@51000000 { |
Tony Lindgren | c761028 | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 198 | reg = <0x51000000 0x2000>, |
| 199 | <0x51002000 0x14c>, |
| 200 | <0x20001000 0x2000>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 201 | reg-names = "rc_dbics", "ti_conf", "config"; |
| 202 | interrupts = <0 232 0x4>, <0 233 0x4>; |
| 203 | #address-cells = <3>; |
| 204 | #size-cells = <2>; |
| 205 | device_type = "pci"; |
Tony Lindgren | c761028 | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 206 | ranges = <0x81000000 0 0x00000000 0x20003000 0 0x00010000>, |
| 207 | <0x82000000 0 0x20013000 0x20013000 0 0x0ffed000>; |
Rob Herring | 7d79f60 | 2017-03-21 21:03:01 -0500 | [diff] [blame] | 208 | bus-range = <0x00 0xff>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 209 | #interrupt-cells = <1>; |
| 210 | num-lanes = <1>; |
Kishon Vijay Abraham I | bed596d | 2016-08-10 18:03:18 +0530 | [diff] [blame] | 211 | linux,pci-domain = <0>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 212 | ti,hwmods = "pcie1"; |
| 213 | phys = <&pcie1_phy>; |
| 214 | phy-names = "pcie-phy0"; |
Kishon Vijay Abraham I | b5acec0 | 2019-03-25 15:15:25 +0530 | [diff] [blame] | 215 | ti,syscon-lane-sel = <&scm_conf_pcie 0x18>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 216 | interrupt-map-mask = <0 0 0 7>; |
| 217 | interrupt-map = <0 0 0 1 &pcie1_intc 1>, |
| 218 | <0 0 0 2 &pcie1_intc 2>, |
| 219 | <0 0 0 3 &pcie1_intc 3>, |
| 220 | <0 0 0 4 &pcie1_intc 4>; |
Vignesh R | b830526 | 2018-09-28 11:34:42 +0530 | [diff] [blame] | 221 | ti,syscon-unaligned-access = <&scm_conf1 0x14 1>; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 222 | status = "disabled"; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 223 | pcie1_intc: interrupt-controller { |
| 224 | interrupt-controller; |
| 225 | #address-cells = <0>; |
| 226 | #interrupt-cells = <1>; |
| 227 | }; |
| 228 | }; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 229 | |
| 230 | pcie1_ep: pcie_ep@51000000 { |
Tony Lindgren | c761028 | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 231 | reg = <0x51000000 0x28>, |
| 232 | <0x51002000 0x14c>, |
| 233 | <0x51001000 0x28>, |
| 234 | <0x20001000 0x10000000>; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 235 | reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space"; |
| 236 | interrupts = <0 232 0x4>; |
| 237 | num-lanes = <1>; |
| 238 | num-ib-windows = <4>; |
| 239 | num-ob-windows = <16>; |
| 240 | ti,hwmods = "pcie1"; |
| 241 | phys = <&pcie1_phy>; |
| 242 | phy-names = "pcie-phy0"; |
Vignesh R | 6d0af44 | 2018-09-25 10:51:51 +0530 | [diff] [blame] | 243 | ti,syscon-unaligned-access = <&scm_conf1 0x14 1>; |
Kishon Vijay Abraham I | b5acec0 | 2019-03-25 15:15:25 +0530 | [diff] [blame] | 244 | ti,syscon-lane-sel = <&scm_conf_pcie 0x18>; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 245 | status = "disabled"; |
| 246 | }; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 247 | }; |
| 248 | |
Tony Lindgren | 785d943 | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 249 | /* |
| 250 | * Register access seems to have complex dependencies and also |
| 251 | * seems to need an enabled phy. See the TRM chapter for "Table |
| 252 | * 26-678. Main Sequence PCIe Controller Global Initialization" |
| 253 | * and also dra7xx_pcie_probe(). |
| 254 | */ |
| 255 | axi1: target-module@51800000 { |
| 256 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 257 | clocks = <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 0>, |
| 258 | <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 9>, |
| 259 | <&pcie_clkctrl DRA7_PCIE_PCIE2_CLKCTRL 10>; |
| 260 | clock-names = "fck", "phy-clk", "phy-clk-div"; |
| 261 | power-domains = <&prm_l3init>; |
| 262 | resets = <&prm_l3init 1>; |
| 263 | reset-names = "rstctrl"; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 264 | #size-cells = <1>; |
| 265 | #address-cells = <1>; |
Tony Lindgren | c761028 | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 266 | ranges = <0x51800000 0x51800000 0x3000>, |
| 267 | <0x30000000 0x30000000 0x10000000>; |
Kishon Vijay Abraham I | 90d4d3f | 2020-04-17 12:13:40 +0530 | [diff] [blame] | 268 | dma-ranges; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 269 | status = "disabled"; |
Kishon Vijay Abraham I | 1ac19c8 | 2017-12-19 15:01:28 +0530 | [diff] [blame] | 270 | pcie2_rc: pcie@51800000 { |
Tony Lindgren | c761028 | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 271 | reg = <0x51800000 0x2000>, |
| 272 | <0x51802000 0x14c>, |
| 273 | <0x30001000 0x2000>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 274 | reg-names = "rc_dbics", "ti_conf", "config"; |
| 275 | interrupts = <0 355 0x4>, <0 356 0x4>; |
| 276 | #address-cells = <3>; |
| 277 | #size-cells = <2>; |
| 278 | device_type = "pci"; |
Tony Lindgren | c761028 | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 279 | ranges = <0x81000000 0 0x00000000 0x30003000 0 0x00010000>, |
| 280 | <0x82000000 0 0x30013000 0x30013000 0 0x0ffed000>; |
Rob Herring | 7d79f60 | 2017-03-21 21:03:01 -0500 | [diff] [blame] | 281 | bus-range = <0x00 0xff>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 282 | #interrupt-cells = <1>; |
| 283 | num-lanes = <1>; |
Kishon Vijay Abraham I | bed596d | 2016-08-10 18:03:18 +0530 | [diff] [blame] | 284 | linux,pci-domain = <1>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 285 | ti,hwmods = "pcie2"; |
| 286 | phys = <&pcie2_phy>; |
| 287 | phy-names = "pcie-phy0"; |
| 288 | interrupt-map-mask = <0 0 0 7>; |
| 289 | interrupt-map = <0 0 0 1 &pcie2_intc 1>, |
| 290 | <0 0 0 2 &pcie2_intc 2>, |
| 291 | <0 0 0 3 &pcie2_intc 3>, |
| 292 | <0 0 0 4 &pcie2_intc 4>; |
Vignesh R | b830526 | 2018-09-28 11:34:42 +0530 | [diff] [blame] | 293 | ti,syscon-unaligned-access = <&scm_conf1 0x14 2>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 294 | pcie2_intc: interrupt-controller { |
| 295 | interrupt-controller; |
| 296 | #address-cells = <0>; |
| 297 | #interrupt-cells = <1>; |
| 298 | }; |
| 299 | }; |
| 300 | }; |
| 301 | |
Dave Gerlach | a5fa09b | 2016-05-10 14:49:41 -0500 | [diff] [blame] | 302 | ocmcram1: ocmcram@40300000 { |
| 303 | compatible = "mmio-sram"; |
| 304 | reg = <0x40300000 0x80000>; |
| 305 | ranges = <0x0 0x40300000 0x80000>; |
| 306 | #address-cells = <1>; |
| 307 | #size-cells = <1>; |
Dave Gerlach | fae3a9f | 2016-05-10 14:49:42 -0500 | [diff] [blame] | 308 | /* |
| 309 | * This is a placeholder for an optional reserved |
| 310 | * region for use by secure software. The size |
| 311 | * of this region is not known until runtime so it |
| 312 | * is set as zero to either be updated to reserve |
| 313 | * space or left unchanged to leave all SRAM for use. |
| 314 | * On HS parts that that require the reserved region |
| 315 | * either the bootloader can update the size to |
| 316 | * the required amount or the node can be overridden |
| 317 | * from the board dts file for the secure platform. |
| 318 | */ |
| 319 | sram-hs@0 { |
| 320 | compatible = "ti,secure-ram"; |
| 321 | reg = <0x0 0x0>; |
| 322 | }; |
Dave Gerlach | a5fa09b | 2016-05-10 14:49:41 -0500 | [diff] [blame] | 323 | }; |
| 324 | |
| 325 | /* |
| 326 | * NOTE: ocmcram2 and ocmcram3 are not available on all |
| 327 | * DRA7xx and AM57xx variants. Confirm availability in |
| 328 | * the data manual for the exact part number in use |
| 329 | * before enabling these nodes in the board dts file. |
| 330 | */ |
| 331 | ocmcram2: ocmcram@40400000 { |
| 332 | status = "disabled"; |
| 333 | compatible = "mmio-sram"; |
| 334 | reg = <0x40400000 0x100000>; |
| 335 | ranges = <0x0 0x40400000 0x100000>; |
| 336 | #address-cells = <1>; |
| 337 | #size-cells = <1>; |
| 338 | }; |
| 339 | |
| 340 | ocmcram3: ocmcram@40500000 { |
| 341 | status = "disabled"; |
| 342 | compatible = "mmio-sram"; |
| 343 | reg = <0x40500000 0x100000>; |
| 344 | ranges = <0x0 0x40500000 0x100000>; |
| 345 | #address-cells = <1>; |
| 346 | #size-cells = <1>; |
| 347 | }; |
| 348 | |
Keerthy | f7397ed | 2015-03-23 14:39:38 -0500 | [diff] [blame] | 349 | bandgap: bandgap@4a0021e0 { |
| 350 | reg = <0x4a0021e0 0xc |
| 351 | 0x4a00232c 0xc |
| 352 | 0x4a002380 0x2c |
| 353 | 0x4a0023C0 0x3c |
| 354 | 0x4a002564 0x8 |
| 355 | 0x4a002574 0x50>; |
| 356 | compatible = "ti,dra752-bandgap"; |
| 357 | interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; |
| 358 | #thermal-sensor-cells = <1>; |
| 359 | }; |
| 360 | |
Suman Anna | 99639ac | 2015-10-02 18:23:22 -0500 | [diff] [blame] | 361 | dsp1_system: dsp_system@40d00000 { |
| 362 | compatible = "syscon"; |
| 363 | reg = <0x40d00000 0x100>; |
| 364 | }; |
| 365 | |
Tony Lindgren | eba6130 | 2017-06-16 17:24:29 +0530 | [diff] [blame] | 366 | dra7_iodelay_core: padconf@4844a000 { |
| 367 | compatible = "ti,dra7-iodelay"; |
| 368 | reg = <0x4844a000 0x0d1c>; |
| 369 | #address-cells = <1>; |
| 370 | #size-cells = <0>; |
| 371 | #pinctrl-cells = <2>; |
| 372 | }; |
| 373 | |
Tony Lindgren | 13149bb | 2020-03-04 07:25:31 -0800 | [diff] [blame] | 374 | target-module@43300000 { |
| 375 | compatible = "ti,sysc-omap4", "ti,sysc"; |
Tony Lindgren | 075249b | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 376 | reg = <0x43300000 0x4>, |
| 377 | <0x43300010 0x4>; |
| 378 | reg-names = "rev", "sysc"; |
| 379 | ti,sysc-midle = <SYSC_IDLE_FORCE>, |
| 380 | <SYSC_IDLE_NO>, |
| 381 | <SYSC_IDLE_SMART>; |
| 382 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 383 | <SYSC_IDLE_NO>, |
| 384 | <SYSC_IDLE_SMART>; |
Tony Lindgren | 13149bb | 2020-03-04 07:25:31 -0800 | [diff] [blame] | 385 | clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPCC_CLKCTRL 0>; |
| 386 | clock-names = "fck"; |
| 387 | #address-cells = <1>; |
| 388 | #size-cells = <1>; |
| 389 | ranges = <0x0 0x43300000 0x100000>; |
Peter Ujfalusi | 248948f | 2016-03-07 17:17:29 +0200 | [diff] [blame] | 390 | |
Tony Lindgren | 13149bb | 2020-03-04 07:25:31 -0800 | [diff] [blame] | 391 | edma: dma@0 { |
| 392 | compatible = "ti,edma3-tpcc"; |
| 393 | reg = <0 0x100000>; |
| 394 | reg-names = "edma3_cc"; |
| 395 | interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>, |
| 396 | <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>, |
| 397 | <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>; |
| 398 | interrupt-names = "edma3_ccint", "edma3_mperr", |
| 399 | "edma3_ccerrint"; |
| 400 | dma-requests = <64>; |
| 401 | #dma-cells = <2>; |
Peter Ujfalusi | 248948f | 2016-03-07 17:17:29 +0200 | [diff] [blame] | 402 | |
Tony Lindgren | 13149bb | 2020-03-04 07:25:31 -0800 | [diff] [blame] | 403 | ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>; |
| 404 | |
| 405 | /* |
| 406 | * memcpy is disabled, can be enabled with: |
| 407 | * ti,edma-memcpy-channels = <20 21>; |
| 408 | * for example. Note that these channels need to be |
| 409 | * masked in the xbar as well. |
| 410 | */ |
| 411 | }; |
Peter Ujfalusi | 248948f | 2016-03-07 17:17:29 +0200 | [diff] [blame] | 412 | }; |
| 413 | |
Tony Lindgren | 103d264 | 2020-03-04 07:25:31 -0800 | [diff] [blame] | 414 | target-module@43400000 { |
| 415 | compatible = "ti,sysc-omap4", "ti,sysc"; |
Tony Lindgren | 075249b | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 416 | reg = <0x43400000 0x4>, |
| 417 | <0x43400010 0x4>; |
| 418 | reg-names = "rev", "sysc"; |
| 419 | ti,sysc-midle = <SYSC_IDLE_FORCE>, |
| 420 | <SYSC_IDLE_NO>, |
| 421 | <SYSC_IDLE_SMART>; |
| 422 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 423 | <SYSC_IDLE_NO>, |
| 424 | <SYSC_IDLE_SMART>; |
Tony Lindgren | 103d264 | 2020-03-04 07:25:31 -0800 | [diff] [blame] | 425 | clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC0_CLKCTRL 0>; |
| 426 | clock-names = "fck"; |
| 427 | #address-cells = <1>; |
| 428 | #size-cells = <1>; |
| 429 | ranges = <0x0 0x43400000 0x100000>; |
| 430 | |
| 431 | edma_tptc0: dma@0 { |
| 432 | compatible = "ti,edma3-tptc"; |
| 433 | reg = <0 0x100000>; |
| 434 | interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>; |
| 435 | interrupt-names = "edma3_tcerrint"; |
| 436 | }; |
Peter Ujfalusi | 248948f | 2016-03-07 17:17:29 +0200 | [diff] [blame] | 437 | }; |
| 438 | |
Tony Lindgren | 4286b67 | 2020-03-04 07:25:31 -0800 | [diff] [blame] | 439 | target-module@43500000 { |
| 440 | compatible = "ti,sysc-omap4", "ti,sysc"; |
Tony Lindgren | 075249b | 2021-03-10 14:03:45 +0200 | [diff] [blame] | 441 | reg = <0x43500000 0x4>, |
| 442 | <0x43500010 0x4>; |
| 443 | reg-names = "rev", "sysc"; |
| 444 | ti,sysc-midle = <SYSC_IDLE_FORCE>, |
| 445 | <SYSC_IDLE_NO>, |
| 446 | <SYSC_IDLE_SMART>; |
| 447 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 448 | <SYSC_IDLE_NO>, |
| 449 | <SYSC_IDLE_SMART>; |
Tony Lindgren | 4286b67 | 2020-03-04 07:25:31 -0800 | [diff] [blame] | 450 | clocks = <&l3main1_clkctrl DRA7_L3MAIN1_TPTC1_CLKCTRL 0>; |
| 451 | clock-names = "fck"; |
| 452 | #address-cells = <1>; |
| 453 | #size-cells = <1>; |
| 454 | ranges = <0x0 0x43500000 0x100000>; |
| 455 | |
| 456 | edma_tptc1: dma@0 { |
| 457 | compatible = "ti,edma3-tptc"; |
| 458 | reg = <0 0x100000>; |
| 459 | interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>; |
| 460 | interrupt-names = "edma3_tcerrint"; |
| 461 | }; |
Peter Ujfalusi | 248948f | 2016-03-07 17:17:29 +0200 | [diff] [blame] | 462 | }; |
| 463 | |
Archit Taneja | 1a5fe3c | 2013-12-17 15:32:21 +0530 | [diff] [blame] | 464 | dmm@4e000000 { |
| 465 | compatible = "ti,omap5-dmm"; |
| 466 | reg = <0x4e000000 0x800>; |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 467 | interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; |
Archit Taneja | 1a5fe3c | 2013-12-17 15:32:21 +0530 | [diff] [blame] | 468 | ti,hwmods = "dmm"; |
| 469 | }; |
| 470 | |
Suman Anna | 46ab823 | 2020-04-24 18:12:29 +0300 | [diff] [blame] | 471 | ipu1: ipu@58820000 { |
| 472 | compatible = "ti,dra7-ipu"; |
| 473 | reg = <0x58820000 0x10000>; |
| 474 | reg-names = "l2ram"; |
| 475 | iommus = <&mmu_ipu1>; |
| 476 | status = "disabled"; |
| 477 | resets = <&prm_ipu 0>, <&prm_ipu 1>; |
| 478 | clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>; |
| 479 | firmware-name = "dra7-ipu1-fw.xem4"; |
| 480 | }; |
| 481 | |
| 482 | ipu2: ipu@55020000 { |
| 483 | compatible = "ti,dra7-ipu"; |
| 484 | reg = <0x55020000 0x10000>; |
| 485 | reg-names = "l2ram"; |
| 486 | iommus = <&mmu_ipu2>; |
| 487 | status = "disabled"; |
| 488 | resets = <&prm_core 0>, <&prm_core 1>; |
| 489 | clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>; |
| 490 | firmware-name = "dra7-ipu2-fw.xem4"; |
| 491 | }; |
| 492 | |
| 493 | dsp1: dsp@40800000 { |
| 494 | compatible = "ti,dra7-dsp"; |
| 495 | reg = <0x40800000 0x48000>, |
| 496 | <0x40e00000 0x8000>, |
| 497 | <0x40f00000 0x8000>; |
| 498 | reg-names = "l2ram", "l1pram", "l1dram"; |
| 499 | ti,bootreg = <&scm_conf 0x55c 10>; |
| 500 | iommus = <&mmu0_dsp1>, <&mmu1_dsp1>; |
| 501 | status = "disabled"; |
| 502 | resets = <&prm_dsp1 0>; |
| 503 | clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>; |
| 504 | firmware-name = "dra7-dsp1-fw.xe66"; |
| 505 | }; |
| 506 | |
Tero Kristo | dbd2d6f | 2019-12-12 14:51:18 +0200 | [diff] [blame] | 507 | target-module@40d01000 { |
| 508 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 509 | reg = <0x40d01000 0x4>, |
| 510 | <0x40d01010 0x4>, |
| 511 | <0x40d01014 0x4>; |
| 512 | reg-names = "rev", "sysc", "syss"; |
| 513 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 514 | <SYSC_IDLE_NO>, |
| 515 | <SYSC_IDLE_SMART>; |
| 516 | ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
| 517 | SYSC_OMAP2_SOFTRESET | |
| 518 | SYSC_OMAP2_AUTOIDLE)>; |
| 519 | clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>; |
| 520 | clock-names = "fck"; |
| 521 | resets = <&prm_dsp1 1>; |
| 522 | reset-names = "rstctrl"; |
| 523 | ranges = <0x0 0x40d01000 0x1000>; |
| 524 | #size-cells = <1>; |
| 525 | #address-cells = <1>; |
| 526 | |
| 527 | mmu0_dsp1: mmu@0 { |
| 528 | compatible = "ti,dra7-dsp-iommu"; |
| 529 | reg = <0x0 0x100>; |
| 530 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 531 | #iommu-cells = <0>; |
| 532 | ti,syscon-mmuconfig = <&dsp1_system 0x0>; |
| 533 | }; |
Suman Anna | 2c7e07c5 | 2015-10-02 18:23:24 -0500 | [diff] [blame] | 534 | }; |
| 535 | |
Tero Kristo | dbd2d6f | 2019-12-12 14:51:18 +0200 | [diff] [blame] | 536 | target-module@40d02000 { |
| 537 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 538 | reg = <0x40d02000 0x4>, |
| 539 | <0x40d02010 0x4>, |
| 540 | <0x40d02014 0x4>; |
| 541 | reg-names = "rev", "sysc", "syss"; |
| 542 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 543 | <SYSC_IDLE_NO>, |
| 544 | <SYSC_IDLE_SMART>; |
| 545 | ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
| 546 | SYSC_OMAP2_SOFTRESET | |
| 547 | SYSC_OMAP2_AUTOIDLE)>; |
| 548 | clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>; |
| 549 | clock-names = "fck"; |
| 550 | resets = <&prm_dsp1 1>; |
| 551 | reset-names = "rstctrl"; |
| 552 | ranges = <0x0 0x40d02000 0x1000>; |
| 553 | #size-cells = <1>; |
| 554 | #address-cells = <1>; |
| 555 | |
| 556 | mmu1_dsp1: mmu@0 { |
| 557 | compatible = "ti,dra7-dsp-iommu"; |
| 558 | reg = <0x0 0x100>; |
| 559 | interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; |
| 560 | #iommu-cells = <0>; |
| 561 | ti,syscon-mmuconfig = <&dsp1_system 0x1>; |
| 562 | }; |
Suman Anna | 2c7e07c5 | 2015-10-02 18:23:24 -0500 | [diff] [blame] | 563 | }; |
| 564 | |
Tero Kristo | dbd2d6f | 2019-12-12 14:51:18 +0200 | [diff] [blame] | 565 | target-module@58882000 { |
| 566 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 567 | reg = <0x58882000 0x4>, |
| 568 | <0x58882010 0x4>, |
| 569 | <0x58882014 0x4>; |
| 570 | reg-names = "rev", "sysc", "syss"; |
| 571 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 572 | <SYSC_IDLE_NO>, |
| 573 | <SYSC_IDLE_SMART>; |
| 574 | ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
| 575 | SYSC_OMAP2_SOFTRESET | |
| 576 | SYSC_OMAP2_AUTOIDLE)>; |
| 577 | clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>; |
| 578 | clock-names = "fck"; |
| 579 | resets = <&prm_ipu 2>; |
| 580 | reset-names = "rstctrl"; |
| 581 | #address-cells = <1>; |
| 582 | #size-cells = <1>; |
| 583 | ranges = <0x0 0x58882000 0x100>; |
| 584 | |
| 585 | mmu_ipu1: mmu@0 { |
| 586 | compatible = "ti,dra7-iommu"; |
| 587 | reg = <0x0 0x100>; |
| 588 | interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>; |
| 589 | #iommu-cells = <0>; |
| 590 | ti,iommu-bus-err-back; |
| 591 | }; |
Suman Anna | 2c7e07c5 | 2015-10-02 18:23:24 -0500 | [diff] [blame] | 592 | }; |
| 593 | |
Tero Kristo | dbd2d6f | 2019-12-12 14:51:18 +0200 | [diff] [blame] | 594 | target-module@55082000 { |
| 595 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 596 | reg = <0x55082000 0x4>, |
| 597 | <0x55082010 0x4>, |
| 598 | <0x55082014 0x4>; |
| 599 | reg-names = "rev", "sysc", "syss"; |
| 600 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 601 | <SYSC_IDLE_NO>, |
| 602 | <SYSC_IDLE_SMART>; |
| 603 | ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
| 604 | SYSC_OMAP2_SOFTRESET | |
| 605 | SYSC_OMAP2_AUTOIDLE)>; |
| 606 | clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>; |
| 607 | clock-names = "fck"; |
| 608 | resets = <&prm_core 2>; |
| 609 | reset-names = "rstctrl"; |
| 610 | #address-cells = <1>; |
| 611 | #size-cells = <1>; |
| 612 | ranges = <0x0 0x55082000 0x100>; |
| 613 | |
| 614 | mmu_ipu2: mmu@0 { |
| 615 | compatible = "ti,dra7-iommu"; |
| 616 | reg = <0x0 0x100>; |
| 617 | interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>; |
| 618 | #iommu-cells = <0>; |
| 619 | ti,iommu-bus-err-back; |
| 620 | }; |
Suman Anna | 2c7e07c5 | 2015-10-02 18:23:24 -0500 | [diff] [blame] | 621 | }; |
| 622 | |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 623 | abb_mpu: regulator-abb-mpu { |
| 624 | compatible = "ti,abb-v3"; |
| 625 | regulator-name = "abb_mpu"; |
| 626 | #address-cells = <0>; |
| 627 | #size-cells = <0>; |
| 628 | clocks = <&sys_clkin1>; |
| 629 | ti,settling-time = <50>; |
| 630 | ti,clock-cycles = <16>; |
| 631 | |
| 632 | reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>, |
Nishanth Menon | 1822734 | 2015-04-16 16:56:33 -0500 | [diff] [blame] | 633 | <0x4ae06014 0x4>, <0x4a003b20 0xc>, |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 634 | <0x4ae0c158 0x4>; |
| 635 | reg-names = "setup-address", "control-address", |
| 636 | "int-address", "efuse-address", |
| 637 | "ldo-address"; |
| 638 | ti,tranxdone-status-mask = <0x80>; |
| 639 | /* LDOVBBMPU_FBB_MUX_CTRL */ |
| 640 | ti,ldovbb-override-mask = <0x400>; |
| 641 | /* LDOVBBMPU_FBB_VSET_OUT */ |
| 642 | ti,ldovbb-vset-mask = <0x1F>; |
| 643 | |
| 644 | /* |
| 645 | * NOTE: only FBB mode used but actual vset will |
| 646 | * determine final biasing |
| 647 | */ |
| 648 | ti,abb_info = < |
| 649 | /*uV ABB efuse rbb_m fbb_m vset_m*/ |
| 650 | 1060000 0 0x0 0 0x02000000 0x01F00000 |
| 651 | 1160000 0 0x4 0 0x02000000 0x01F00000 |
| 652 | 1210000 0 0x8 0 0x02000000 0x01F00000 |
| 653 | >; |
| 654 | }; |
| 655 | |
| 656 | abb_ivahd: regulator-abb-ivahd { |
| 657 | compatible = "ti,abb-v3"; |
| 658 | regulator-name = "abb_ivahd"; |
| 659 | #address-cells = <0>; |
| 660 | #size-cells = <0>; |
| 661 | clocks = <&sys_clkin1>; |
| 662 | ti,settling-time = <50>; |
| 663 | ti,clock-cycles = <16>; |
| 664 | |
| 665 | reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>, |
Nishanth Menon | 1822734 | 2015-04-16 16:56:33 -0500 | [diff] [blame] | 666 | <0x4ae06010 0x4>, <0x4a0025cc 0xc>, |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 667 | <0x4a002470 0x4>; |
| 668 | reg-names = "setup-address", "control-address", |
| 669 | "int-address", "efuse-address", |
| 670 | "ldo-address"; |
| 671 | ti,tranxdone-status-mask = <0x40000000>; |
| 672 | /* LDOVBBIVA_FBB_MUX_CTRL */ |
| 673 | ti,ldovbb-override-mask = <0x400>; |
| 674 | /* LDOVBBIVA_FBB_VSET_OUT */ |
| 675 | ti,ldovbb-vset-mask = <0x1F>; |
| 676 | |
| 677 | /* |
| 678 | * NOTE: only FBB mode used but actual vset will |
| 679 | * determine final biasing |
| 680 | */ |
| 681 | ti,abb_info = < |
| 682 | /*uV ABB efuse rbb_m fbb_m vset_m*/ |
| 683 | 1055000 0 0x0 0 0x02000000 0x01F00000 |
| 684 | 1150000 0 0x4 0 0x02000000 0x01F00000 |
| 685 | 1250000 0 0x8 0 0x02000000 0x01F00000 |
| 686 | >; |
| 687 | }; |
| 688 | |
| 689 | abb_dspeve: regulator-abb-dspeve { |
| 690 | compatible = "ti,abb-v3"; |
| 691 | regulator-name = "abb_dspeve"; |
| 692 | #address-cells = <0>; |
| 693 | #size-cells = <0>; |
| 694 | clocks = <&sys_clkin1>; |
| 695 | ti,settling-time = <50>; |
| 696 | ti,clock-cycles = <16>; |
| 697 | |
| 698 | reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>, |
Nishanth Menon | 1822734 | 2015-04-16 16:56:33 -0500 | [diff] [blame] | 699 | <0x4ae06010 0x4>, <0x4a0025e0 0xc>, |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 700 | <0x4a00246c 0x4>; |
| 701 | reg-names = "setup-address", "control-address", |
| 702 | "int-address", "efuse-address", |
| 703 | "ldo-address"; |
| 704 | ti,tranxdone-status-mask = <0x20000000>; |
| 705 | /* LDOVBBDSPEVE_FBB_MUX_CTRL */ |
| 706 | ti,ldovbb-override-mask = <0x400>; |
| 707 | /* LDOVBBDSPEVE_FBB_VSET_OUT */ |
| 708 | ti,ldovbb-vset-mask = <0x1F>; |
| 709 | |
| 710 | /* |
| 711 | * NOTE: only FBB mode used but actual vset will |
| 712 | * determine final biasing |
| 713 | */ |
| 714 | ti,abb_info = < |
| 715 | /*uV ABB efuse rbb_m fbb_m vset_m*/ |
| 716 | 1055000 0 0x0 0 0x02000000 0x01F00000 |
| 717 | 1150000 0 0x4 0 0x02000000 0x01F00000 |
| 718 | 1250000 0 0x8 0 0x02000000 0x01F00000 |
| 719 | >; |
| 720 | }; |
| 721 | |
| 722 | abb_gpu: regulator-abb-gpu { |
| 723 | compatible = "ti,abb-v3"; |
| 724 | regulator-name = "abb_gpu"; |
| 725 | #address-cells = <0>; |
| 726 | #size-cells = <0>; |
| 727 | clocks = <&sys_clkin1>; |
| 728 | ti,settling-time = <50>; |
| 729 | ti,clock-cycles = <16>; |
| 730 | |
| 731 | reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>, |
Nishanth Menon | 1822734 | 2015-04-16 16:56:33 -0500 | [diff] [blame] | 732 | <0x4ae06010 0x4>, <0x4a003b08 0xc>, |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 733 | <0x4ae0c154 0x4>; |
| 734 | reg-names = "setup-address", "control-address", |
| 735 | "int-address", "efuse-address", |
| 736 | "ldo-address"; |
| 737 | ti,tranxdone-status-mask = <0x10000000>; |
| 738 | /* LDOVBBGPU_FBB_MUX_CTRL */ |
| 739 | ti,ldovbb-override-mask = <0x400>; |
| 740 | /* LDOVBBGPU_FBB_VSET_OUT */ |
| 741 | ti,ldovbb-vset-mask = <0x1F>; |
| 742 | |
| 743 | /* |
| 744 | * NOTE: only FBB mode used but actual vset will |
| 745 | * determine final biasing |
| 746 | */ |
| 747 | ti,abb_info = < |
| 748 | /*uV ABB efuse rbb_m fbb_m vset_m*/ |
| 749 | 1090000 0 0x0 0 0x02000000 0x01F00000 |
| 750 | 1210000 0 0x4 0 0x02000000 0x01F00000 |
| 751 | 1280000 0 0x8 0 0x02000000 0x01F00000 |
| 752 | >; |
| 753 | }; |
| 754 | |
Tony Lindgren | e2d637b | 2021-03-10 14:03:46 +0200 | [diff] [blame^] | 755 | target-module@4b300000 { |
| 756 | compatible = "ti,sysc-omap4", "ti,sysc"; |
Sourav Poddar | dc2dd5b | 2014-05-06 16:37:24 +0530 | [diff] [blame] | 757 | ti,hwmods = "qspi"; |
Tony Lindgren | e2d637b | 2021-03-10 14:03:46 +0200 | [diff] [blame^] | 758 | reg = <0x4b300000 0x4>, |
| 759 | <0x4b300010 0x4>; |
| 760 | reg-names = "rev", "sysc"; |
| 761 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 762 | <SYSC_IDLE_NO>, |
| 763 | <SYSC_IDLE_SMART>, |
| 764 | <SYSC_IDLE_SMART_WKUP>; |
| 765 | clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 0>; |
Sourav Poddar | dc2dd5b | 2014-05-06 16:37:24 +0530 | [diff] [blame] | 766 | clock-names = "fck"; |
Tony Lindgren | e2d637b | 2021-03-10 14:03:46 +0200 | [diff] [blame^] | 767 | #address-cells = <1>; |
| 768 | #size-cells = <1>; |
| 769 | ranges = <0x0 0x4b300000 0x1000>, |
| 770 | <0x5c000000 0x5c000000 0x4000000>; |
| 771 | |
| 772 | qspi: spi@0 { |
| 773 | compatible = "ti,dra7xxx-qspi"; |
| 774 | reg = <0 0x100>, |
| 775 | <0x5c000000 0x4000000>; |
| 776 | reg-names = "qspi_base", "qspi_mmap"; |
| 777 | syscon-chipselects = <&scm_conf 0x558>; |
| 778 | #address-cells = <1>; |
| 779 | #size-cells = <0>; |
| 780 | clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>; |
| 781 | clock-names = "fck"; |
| 782 | num-cs = <4>; |
| 783 | interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>; |
| 784 | status = "disabled"; |
| 785 | }; |
Sourav Poddar | dc2dd5b | 2014-05-06 16:37:24 +0530 | [diff] [blame] | 786 | }; |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 787 | |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 788 | /* OCP2SCP3 */ |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 789 | sata: sata@4a141100 { |
| 790 | compatible = "snps,dwc-ahci"; |
| 791 | reg = <0x4a140000 0x1100>, <0x4a141100 0x7>; |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 792 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 793 | phys = <&sata_phy>; |
| 794 | phy-names = "sata-phy"; |
Tero Kristo | b5f8ffb | 2018-08-31 18:14:51 +0300 | [diff] [blame] | 795 | clocks = <&l3init_clkctrl DRA7_L3INIT_SATA_CLKCTRL 8>; |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 796 | ti,hwmods = "sata"; |
Jean-Jacques Hiblot | 87cb129 | 2017-01-09 13:22:15 +0100 | [diff] [blame] | 797 | ports-implemented = <0x1>; |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 798 | }; |
Roger Quadros | fbf3e55 | 2014-05-05 12:54:45 +0300 | [diff] [blame] | 799 | |
Roger Quadros | fbf3e55 | 2014-05-05 12:54:45 +0300 | [diff] [blame] | 800 | /* OCP2SCP1 */ |
Roger Quadros | fbf3e55 | 2014-05-05 12:54:45 +0300 | [diff] [blame] | 801 | /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */ |
Tony Lindgren | 11fdf59 | 2020-10-19 10:45:58 +0300 | [diff] [blame] | 802 | |
| 803 | target-module@50000000 { |
| 804 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 805 | reg = <0x50000000 4>, |
| 806 | <0x50000010 4>, |
| 807 | <0x50000014 4>; |
| 808 | reg-names = "rev", "sysc", "syss"; |
| 809 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 810 | <SYSC_IDLE_NO>, |
| 811 | <SYSC_IDLE_SMART>; |
| 812 | ti,syss-mask = <1>; |
| 813 | clocks = <&l3main1_clkctrl DRA7_L3MAIN1_GPMC_CLKCTRL 0>; |
| 814 | clock-names = "fck"; |
| 815 | #address-cells = <1>; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 816 | #size-cells = <1>; |
Tony Lindgren | 11fdf59 | 2020-10-19 10:45:58 +0300 | [diff] [blame] | 817 | ranges = <0x50000000 0x50000000 0x00001000>, /* regs */ |
| 818 | <0x00000000 0x00000000 0x40000000>; /* data */ |
| 819 | |
| 820 | gpmc: gpmc@50000000 { |
| 821 | compatible = "ti,am3352-gpmc"; |
| 822 | reg = <0x50000000 0x37c>; /* device IO registers */ |
| 823 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
| 824 | dmas = <&edma_xbar 4 0>; |
| 825 | dma-names = "rxtx"; |
| 826 | gpmc,num-cs = <8>; |
| 827 | gpmc,num-waitpins = <2>; |
| 828 | #address-cells = <2>; |
| 829 | #size-cells = <1>; |
| 830 | interrupt-controller; |
| 831 | #interrupt-cells = <2>; |
| 832 | gpio-controller; |
| 833 | #gpio-cells = <2>; |
| 834 | status = "disabled"; |
| 835 | }; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 836 | }; |
Peter Ujfalusi | 2ca0945 | 2014-05-07 13:20:48 +0300 | [diff] [blame] | 837 | |
Tony Lindgren | 45e118b | 2019-11-01 09:31:23 -0700 | [diff] [blame] | 838 | target-module@56000000 { |
| 839 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 840 | reg = <0x5600fe00 0x4>, |
| 841 | <0x5600fe10 0x4>; |
| 842 | reg-names = "rev", "sysc"; |
| 843 | ti,sysc-midle = <SYSC_IDLE_FORCE>, |
| 844 | <SYSC_IDLE_NO>, |
| 845 | <SYSC_IDLE_SMART>; |
| 846 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 847 | <SYSC_IDLE_NO>, |
| 848 | <SYSC_IDLE_SMART>; |
| 849 | clocks = <&gpu_clkctrl DRA7_GPU_CLKCTRL 0>; |
| 850 | clock-names = "fck"; |
| 851 | #address-cells = <1>; |
| 852 | #size-cells = <1>; |
| 853 | ranges = <0 0x56000000 0x2000000>; |
| 854 | }; |
| 855 | |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 856 | crossbar_mpu: crossbar@4a002a48 { |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 857 | compatible = "ti,irq-crossbar"; |
| 858 | reg = <0x4a002a48 0x130>; |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 859 | interrupt-controller; |
Marc Zyngier | 7136d45 | 2015-03-11 15:43:49 +0000 | [diff] [blame] | 860 | interrupt-parent = <&wakeupgen>; |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 861 | #interrupt-cells = <3>; |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 862 | ti,max-irqs = <160>; |
| 863 | ti,max-crossbar-sources = <MAX_SOURCES>; |
| 864 | ti,reg-size = <2>; |
| 865 | ti,irqs-reserved = <0 1 2 3 5 6 131 132>; |
| 866 | ti,irqs-skip = <10 133 139 140>; |
| 867 | ti,irqs-safe-map = <0>; |
| 868 | }; |
Mugunthan V N | ef9c5b6 | 2014-10-21 15:31:00 +0530 | [diff] [blame] | 869 | |
Tony Lindgren | a50371f | 2020-03-04 08:10:41 -0800 | [diff] [blame] | 870 | target-module@58000000 { |
| 871 | compatible = "ti,sysc-omap2", "ti,sysc"; |
Tony Lindgren | a50371f | 2020-03-04 08:10:41 -0800 | [diff] [blame] | 872 | reg = <0x58000000 4>, |
| 873 | <0x58000014 4>; |
| 874 | reg-names = "rev", "syss"; |
| 875 | ti,syss-mask = <1>; |
| 876 | clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 0>, |
| 877 | <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>, |
| 878 | <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 10>, |
| 879 | <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 11>; |
| 880 | clock-names = "fck", "hdmi_clk", "sys_clk", "tv_clk"; |
Tomi Valkeinen | 95c1cd1 | 2014-07-09 16:15:18 +0530 | [diff] [blame] | 881 | #address-cells = <1>; |
| 882 | #size-cells = <1>; |
Tony Lindgren | a50371f | 2020-03-04 08:10:41 -0800 | [diff] [blame] | 883 | ranges = <0 0x58000000 0x800000>; |
Tomi Valkeinen | 95c1cd1 | 2014-07-09 16:15:18 +0530 | [diff] [blame] | 884 | |
Tony Lindgren | a50371f | 2020-03-04 08:10:41 -0800 | [diff] [blame] | 885 | dss: dss@0 { |
| 886 | compatible = "ti,dra7-dss"; |
| 887 | /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */ |
| 888 | /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */ |
Tomi Valkeinen | 95c1cd1 | 2014-07-09 16:15:18 +0530 | [diff] [blame] | 889 | status = "disabled"; |
Tony Lindgren | a50371f | 2020-03-04 08:10:41 -0800 | [diff] [blame] | 890 | /* CTRL_CORE_DSS_PLL_CONTROL */ |
| 891 | syscon-pll-ctrl = <&scm_conf 0x538>; |
| 892 | #address-cells = <1>; |
| 893 | #size-cells = <1>; |
| 894 | ranges = <0 0 0x800000>; |
| 895 | |
Tony Lindgren | 9a95196 | 2020-03-04 08:10:42 -0800 | [diff] [blame] | 896 | target-module@1000 { |
| 897 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 898 | reg = <0x1000 0x4>, |
| 899 | <0x1010 0x4>, |
| 900 | <0x1014 0x4>; |
| 901 | reg-names = "rev", "sysc", "syss"; |
| 902 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 903 | <SYSC_IDLE_NO>, |
| 904 | <SYSC_IDLE_SMART>; |
| 905 | ti,sysc-midle = <SYSC_IDLE_FORCE>, |
| 906 | <SYSC_IDLE_NO>, |
| 907 | <SYSC_IDLE_SMART>; |
| 908 | ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
| 909 | SYSC_OMAP2_ENAWAKEUP | |
| 910 | SYSC_OMAP2_SOFTRESET | |
| 911 | SYSC_OMAP2_AUTOIDLE)>; |
| 912 | ti,syss-mask = <1>; |
| 913 | clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>; |
Tony Lindgren | a50371f | 2020-03-04 08:10:41 -0800 | [diff] [blame] | 914 | clock-names = "fck"; |
Tony Lindgren | 9a95196 | 2020-03-04 08:10:42 -0800 | [diff] [blame] | 915 | #address-cells = <1>; |
| 916 | #size-cells = <1>; |
| 917 | ranges = <0 0x1000 0x1000>; |
| 918 | |
| 919 | dispc@0 { |
| 920 | compatible = "ti,dra7-dispc"; |
| 921 | reg = <0 0x1000>; |
| 922 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
Tony Lindgren | 9a95196 | 2020-03-04 08:10:42 -0800 | [diff] [blame] | 923 | clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>; |
| 924 | clock-names = "fck"; |
| 925 | /* CTRL_CORE_SMA_SW_1 */ |
| 926 | syscon-pol = <&scm_conf 0x534>; |
| 927 | }; |
Tony Lindgren | a50371f | 2020-03-04 08:10:41 -0800 | [diff] [blame] | 928 | }; |
| 929 | |
Tony Lindgren | c4f4728 | 2020-03-04 08:10:42 -0800 | [diff] [blame] | 930 | target-module@40000 { |
| 931 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 932 | reg = <0x40000 0x4>, |
| 933 | <0x40010 0x4>; |
| 934 | reg-names = "rev", "sysc"; |
| 935 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 936 | <SYSC_IDLE_NO>, |
| 937 | <SYSC_IDLE_SMART>, |
| 938 | <SYSC_IDLE_SMART_WKUP>; |
| 939 | ti,sysc-mask = <(SYSC_OMAP4_SOFTRESET)>; |
| 940 | clocks = <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 9>, |
| 941 | <&dss_clkctrl DRA7_DSS_CORE_CLKCTRL 8>; |
| 942 | clock-names = "fck", "dss_clk"; |
| 943 | #address-cells = <1>; |
| 944 | #size-cells = <1>; |
| 945 | ranges = <0 0x40000 0x40000>; |
| 946 | |
| 947 | hdmi: encoder@0 { |
| 948 | compatible = "ti,dra7-hdmi"; |
| 949 | reg = <0 0x200>, |
| 950 | <0x200 0x80>, |
| 951 | <0x300 0x80>, |
| 952 | <0x20000 0x19000>; |
| 953 | reg-names = "wp", "pll", "phy", "core"; |
| 954 | interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
| 955 | status = "disabled"; |
| 956 | clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>, |
| 957 | <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>; |
| 958 | clock-names = "fck", "sys_clk"; |
| 959 | dmas = <&sdma_xbar 76>; |
| 960 | dma-names = "audio_tx"; |
| 961 | }; |
Tony Lindgren | a50371f | 2020-03-04 08:10:41 -0800 | [diff] [blame] | 962 | }; |
Tomi Valkeinen | 95c1cd1 | 2014-07-09 16:15:18 +0530 | [diff] [blame] | 963 | }; |
| 964 | }; |
Vignesh R | 3437014 | 2016-05-03 10:56:55 -0500 | [diff] [blame] | 965 | |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 966 | aes1_target: target-module@4b500000 { |
| 967 | compatible = "ti,sysc-omap2", "ti,sysc"; |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 968 | reg = <0x4b500080 0x4>, |
| 969 | <0x4b500084 0x4>, |
| 970 | <0x4b500088 0x4>; |
| 971 | reg-names = "rev", "sysc", "syss"; |
| 972 | ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET | |
| 973 | SYSC_OMAP2_AUTOIDLE)>; |
| 974 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 975 | <SYSC_IDLE_NO>, |
| 976 | <SYSC_IDLE_SMART>, |
| 977 | <SYSC_IDLE_SMART_WKUP>; |
| 978 | ti,syss-mask = <1>; |
| 979 | /* Domains (P, C): per_pwrdm, l4sec_clkdm */ |
| 980 | clocks = <&l4sec_clkctrl DRA7_L4SEC_AES1_CLKCTRL 0>; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 981 | clock-names = "fck"; |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 982 | #address-cells = <1>; |
| 983 | #size-cells = <1>; |
| 984 | ranges = <0x0 0x4b500000 0x1000>; |
| 985 | |
| 986 | aes1: aes@0 { |
| 987 | compatible = "ti,omap4-aes"; |
| 988 | reg = <0 0xa0>; |
| 989 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; |
| 990 | dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>; |
| 991 | dma-names = "tx", "rx"; |
| 992 | clocks = <&l3_iclk_div>; |
| 993 | clock-names = "fck"; |
| 994 | }; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 995 | }; |
| 996 | |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 997 | aes2_target: target-module@4b700000 { |
| 998 | compatible = "ti,sysc-omap2", "ti,sysc"; |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 999 | reg = <0x4b700080 0x4>, |
| 1000 | <0x4b700084 0x4>, |
| 1001 | <0x4b700088 0x4>; |
| 1002 | reg-names = "rev", "sysc", "syss"; |
| 1003 | ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET | |
| 1004 | SYSC_OMAP2_AUTOIDLE)>; |
| 1005 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 1006 | <SYSC_IDLE_NO>, |
| 1007 | <SYSC_IDLE_SMART>, |
| 1008 | <SYSC_IDLE_SMART_WKUP>; |
| 1009 | ti,syss-mask = <1>; |
| 1010 | /* Domains (P, C): per_pwrdm, l4sec_clkdm */ |
| 1011 | clocks = <&l4sec_clkctrl DRA7_L4SEC_AES2_CLKCTRL 0>; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 1012 | clock-names = "fck"; |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 1013 | #address-cells = <1>; |
| 1014 | #size-cells = <1>; |
| 1015 | ranges = <0x0 0x4b700000 0x1000>; |
| 1016 | |
| 1017 | aes2: aes@0 { |
| 1018 | compatible = "ti,omap4-aes"; |
| 1019 | reg = <0 0xa0>; |
| 1020 | interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; |
| 1021 | dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>; |
| 1022 | dma-names = "tx", "rx"; |
| 1023 | clocks = <&l3_iclk_div>; |
| 1024 | clock-names = "fck"; |
| 1025 | }; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 1026 | }; |
| 1027 | |
Tero Kristo | be5cd39 | 2020-09-07 12:52:46 +0300 | [diff] [blame] | 1028 | sham1_target: target-module@4b101000 { |
Tony Lindgren | e132681 | 2019-12-12 09:46:15 -0800 | [diff] [blame] | 1029 | compatible = "ti,sysc-omap3-sham", "ti,sysc"; |
Tony Lindgren | e132681 | 2019-12-12 09:46:15 -0800 | [diff] [blame] | 1030 | reg = <0x4b101100 0x4>, |
| 1031 | <0x4b101110 0x4>, |
| 1032 | <0x4b101114 0x4>; |
| 1033 | reg-names = "rev", "sysc", "syss"; |
| 1034 | ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET | |
| 1035 | SYSC_OMAP2_AUTOIDLE)>; |
| 1036 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 1037 | <SYSC_IDLE_NO>, |
| 1038 | <SYSC_IDLE_SMART>; |
| 1039 | ti,syss-mask = <1>; |
| 1040 | /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */ |
| 1041 | clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM_CLKCTRL 0>; |
Lokesh Vutla | da34609 | 2016-06-01 12:06:43 +0300 | [diff] [blame] | 1042 | clock-names = "fck"; |
Tony Lindgren | e132681 | 2019-12-12 09:46:15 -0800 | [diff] [blame] | 1043 | #address-cells = <1>; |
| 1044 | #size-cells = <1>; |
| 1045 | ranges = <0x0 0x4b101000 0x1000>; |
| 1046 | |
Tero Kristo | be5cd39 | 2020-09-07 12:52:46 +0300 | [diff] [blame] | 1047 | sham1: sham@0 { |
Tony Lindgren | e132681 | 2019-12-12 09:46:15 -0800 | [diff] [blame] | 1048 | compatible = "ti,omap5-sham"; |
| 1049 | reg = <0 0x300>; |
| 1050 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
| 1051 | dmas = <&edma_xbar 119 0>; |
| 1052 | dma-names = "rx"; |
| 1053 | clocks = <&l3_iclk_div>; |
| 1054 | clock-names = "fck"; |
| 1055 | }; |
Lokesh Vutla | da34609 | 2016-06-01 12:06:43 +0300 | [diff] [blame] | 1056 | }; |
Lokesh Vutla | 610e9c4 | 2016-06-01 12:06:44 +0300 | [diff] [blame] | 1057 | |
Tero Kristo | be5cd39 | 2020-09-07 12:52:46 +0300 | [diff] [blame] | 1058 | sham2_target: target-module@42701000 { |
| 1059 | compatible = "ti,sysc-omap3-sham", "ti,sysc"; |
| 1060 | reg = <0x42701100 0x4>, |
| 1061 | <0x42701110 0x4>, |
| 1062 | <0x42701114 0x4>; |
| 1063 | reg-names = "rev", "sysc", "syss"; |
| 1064 | ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET | |
| 1065 | SYSC_OMAP2_AUTOIDLE)>; |
| 1066 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 1067 | <SYSC_IDLE_NO>, |
| 1068 | <SYSC_IDLE_SMART>; |
| 1069 | ti,syss-mask = <1>; |
| 1070 | /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */ |
| 1071 | clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM2_CLKCTRL 0>; |
| 1072 | clock-names = "fck"; |
| 1073 | #address-cells = <1>; |
| 1074 | #size-cells = <1>; |
| 1075 | ranges = <0x0 0x42701000 0x1000>; |
| 1076 | |
| 1077 | sham2: sham@0 { |
| 1078 | compatible = "ti,omap5-sham"; |
| 1079 | reg = <0 0x300>; |
| 1080 | interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; |
| 1081 | dmas = <&edma_xbar 165 0>; |
| 1082 | dma-names = "rx"; |
| 1083 | clocks = <&l3_iclk_div>; |
| 1084 | clock-names = "fck"; |
| 1085 | }; |
| 1086 | }; |
| 1087 | |
Tony Lindgren | ae57d15 | 2020-11-12 11:57:03 +0200 | [diff] [blame] | 1088 | iva_hd_target: target-module@5a000000 { |
| 1089 | compatible = "ti,sysc-omap4", "ti,sysc"; |
| 1090 | reg = <0x5a05a400 0x4>, |
| 1091 | <0x5a05a410 0x4>; |
| 1092 | reg-names = "rev", "sysc"; |
| 1093 | ti,sysc-midle = <SYSC_IDLE_FORCE>, |
| 1094 | <SYSC_IDLE_NO>, |
| 1095 | <SYSC_IDLE_SMART>; |
| 1096 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 1097 | <SYSC_IDLE_NO>, |
| 1098 | <SYSC_IDLE_SMART>; |
| 1099 | power-domains = <&prm_iva>; |
| 1100 | resets = <&prm_iva 2>; |
| 1101 | reset-names = "rstctrl"; |
| 1102 | clocks = <&iva_clkctrl DRA7_IVA_CLKCTRL 0>; |
| 1103 | clock-names = "fck"; |
| 1104 | #address-cells = <1>; |
| 1105 | #size-cells = <1>; |
| 1106 | ranges = <0x5a000000 0x5a000000 0x1000000>, |
| 1107 | <0x5b000000 0x5b000000 0x1000000>; |
| 1108 | |
| 1109 | iva { |
| 1110 | compatible = "ti,ivahd"; |
| 1111 | }; |
| 1112 | }; |
| 1113 | |
Dave Gerlach | dbef196 | 2017-12-19 09:24:20 -0600 | [diff] [blame] | 1114 | opp_supply_mpu: opp-supply@4a003b20 { |
| 1115 | compatible = "ti,omap5-opp-supply"; |
| 1116 | reg = <0x4a003b20 0xc>; |
| 1117 | ti,efuse-settings = < |
| 1118 | /* uV offset */ |
| 1119 | 1060000 0x0 |
| 1120 | 1160000 0x4 |
| 1121 | 1210000 0x8 |
| 1122 | >; |
| 1123 | ti,absolute-max-voltage-uv = <1500000>; |
| 1124 | }; |
| 1125 | |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 1126 | }; |
Keerthy | f7397ed | 2015-03-23 14:39:38 -0500 | [diff] [blame] | 1127 | |
| 1128 | thermal_zones: thermal-zones { |
| 1129 | #include "omap4-cpu-thermal.dtsi" |
| 1130 | #include "omap5-gpu-thermal.dtsi" |
| 1131 | #include "omap5-core-thermal.dtsi" |
Keerthy | 667f259 | 2016-02-08 14:46:30 +0530 | [diff] [blame] | 1132 | #include "dra7-dspeve-thermal.dtsi" |
| 1133 | #include "dra7-iva-thermal.dtsi" |
Keerthy | f7397ed | 2015-03-23 14:39:38 -0500 | [diff] [blame] | 1134 | }; |
| 1135 | |
| 1136 | }; |
| 1137 | |
| 1138 | &cpu_thermal { |
| 1139 | polling-delay = <500>; /* milliseconds */ |
Keerthy | fb51ae0 | 2017-03-09 13:35:56 +0530 | [diff] [blame] | 1140 | coefficients = <0 2000>; |
| 1141 | }; |
| 1142 | |
| 1143 | &gpu_thermal { |
| 1144 | coefficients = <0 2000>; |
| 1145 | }; |
| 1146 | |
| 1147 | &core_thermal { |
| 1148 | coefficients = <0 2000>; |
| 1149 | }; |
| 1150 | |
| 1151 | &dspeve_thermal { |
| 1152 | coefficients = <0 2000>; |
| 1153 | }; |
| 1154 | |
| 1155 | &iva_thermal { |
| 1156 | coefficients = <0 2000>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 1157 | }; |
Tero Kristo | ee6c750 | 2013-07-18 17:18:33 +0300 | [diff] [blame] | 1158 | |
Ravikumar Kattekola | bca5238 | 2017-05-17 06:51:38 -0700 | [diff] [blame] | 1159 | &cpu_crit { |
| 1160 | temperature = <120000>; /* milli Celsius */ |
| 1161 | }; |
| 1162 | |
Ravikumar Kattekola | 64c358b | 2018-01-11 21:45:39 +0530 | [diff] [blame] | 1163 | &core_crit { |
| 1164 | temperature = <120000>; /* milli Celsius */ |
| 1165 | }; |
| 1166 | |
| 1167 | &gpu_crit { |
| 1168 | temperature = <120000>; /* milli Celsius */ |
| 1169 | }; |
| 1170 | |
| 1171 | &dspeve_crit { |
| 1172 | temperature = <120000>; /* milli Celsius */ |
| 1173 | }; |
| 1174 | |
| 1175 | &iva_crit { |
| 1176 | temperature = <120000>; /* milli Celsius */ |
| 1177 | }; |
Tony Lindgren | 4ed0dfe | 2018-09-27 13:39:07 -0700 | [diff] [blame] | 1178 | |
| 1179 | #include "dra7-l4.dtsi" |
| 1180 | #include "dra7xx-clocks.dtsi" |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1181 | |
| 1182 | &prm { |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1183 | prm_mpu: prm@300 { |
| 1184 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1185 | reg = <0x300 0x100>; |
| 1186 | #power-domain-cells = <0>; |
| 1187 | }; |
| 1188 | |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1189 | prm_dsp1: prm@400 { |
| 1190 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1191 | reg = <0x400 0x100>; |
| 1192 | #reset-cells = <1>; |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1193 | #power-domain-cells = <0>; |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1194 | }; |
| 1195 | |
| 1196 | prm_ipu: prm@500 { |
| 1197 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1198 | reg = <0x500 0x100>; |
| 1199 | #reset-cells = <1>; |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1200 | #power-domain-cells = <0>; |
| 1201 | }; |
| 1202 | |
| 1203 | prm_coreaon: prm@628 { |
| 1204 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1205 | reg = <0x628 0xd8>; |
| 1206 | #power-domain-cells = <0>; |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1207 | }; |
| 1208 | |
| 1209 | prm_core: prm@700 { |
| 1210 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1211 | reg = <0x700 0x100>; |
| 1212 | #reset-cells = <1>; |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1213 | #power-domain-cells = <0>; |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1214 | }; |
| 1215 | |
| 1216 | prm_iva: prm@f00 { |
| 1217 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1218 | reg = <0xf00 0x100>; |
Tony Lindgren | ae57d15 | 2020-11-12 11:57:03 +0200 | [diff] [blame] | 1219 | #reset-cells = <1>; |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1220 | #power-domain-cells = <0>; |
| 1221 | }; |
| 1222 | |
| 1223 | prm_cam: prm@1000 { |
| 1224 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1225 | reg = <0x1000 0x100>; |
| 1226 | #power-domain-cells = <0>; |
| 1227 | }; |
| 1228 | |
| 1229 | prm_dss: prm@1100 { |
| 1230 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1231 | reg = <0x1100 0x100>; |
| 1232 | #power-domain-cells = <0>; |
| 1233 | }; |
| 1234 | |
| 1235 | prm_gpu: prm@1200 { |
| 1236 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1237 | reg = <0x1200 0x100>; |
| 1238 | #power-domain-cells = <0>; |
| 1239 | }; |
| 1240 | |
| 1241 | prm_l3init: prm@1300 { |
| 1242 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1243 | reg = <0x1300 0x100>; |
| 1244 | #reset-cells = <1>; |
| 1245 | #power-domain-cells = <0>; |
| 1246 | }; |
| 1247 | |
| 1248 | prm_l4per: prm@1400 { |
| 1249 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1250 | reg = <0x1400 0x100>; |
| 1251 | #power-domain-cells = <0>; |
| 1252 | }; |
| 1253 | |
| 1254 | prm_custefuse: prm@1600 { |
| 1255 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1256 | reg = <0x1600 0x100>; |
| 1257 | #power-domain-cells = <0>; |
| 1258 | }; |
| 1259 | |
| 1260 | prm_wkupaon: prm@1724 { |
| 1261 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1262 | reg = <0x1724 0x100>; |
| 1263 | #power-domain-cells = <0>; |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1264 | }; |
| 1265 | |
| 1266 | prm_dsp2: prm@1b00 { |
| 1267 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1268 | reg = <0x1b00 0x40>; |
| 1269 | #reset-cells = <1>; |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1270 | #power-domain-cells = <0>; |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1271 | }; |
| 1272 | |
| 1273 | prm_eve1: prm@1b40 { |
| 1274 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1275 | reg = <0x1b40 0x40>; |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1276 | #power-domain-cells = <0>; |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1277 | }; |
| 1278 | |
| 1279 | prm_eve2: prm@1b80 { |
| 1280 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1281 | reg = <0x1b80 0x40>; |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1282 | #power-domain-cells = <0>; |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1283 | }; |
| 1284 | |
| 1285 | prm_eve3: prm@1bc0 { |
| 1286 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1287 | reg = <0x1bc0 0x40>; |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1288 | #power-domain-cells = <0>; |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1289 | }; |
| 1290 | |
| 1291 | prm_eve4: prm@1c00 { |
| 1292 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1293 | reg = <0x1c00 0x60>; |
Tero Kristo | 1021b37 | 2020-11-11 15:57:20 +0200 | [diff] [blame] | 1294 | #power-domain-cells = <0>; |
| 1295 | }; |
| 1296 | |
| 1297 | prm_rtc: prm@1c60 { |
| 1298 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1299 | reg = <0x1c60 0x20>; |
| 1300 | #power-domain-cells = <0>; |
| 1301 | }; |
| 1302 | |
| 1303 | prm_vpe: prm@1c80 { |
| 1304 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 1305 | reg = <0x1c80 0x80>; |
| 1306 | #power-domain-cells = <0>; |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 1307 | }; |
| 1308 | }; |
Tony Lindgren | 036a3d4 | 2020-05-07 09:59:31 -0700 | [diff] [blame] | 1309 | |
| 1310 | /* Preferred always-on timer for clockevent */ |
| 1311 | &timer1_target { |
| 1312 | ti,no-reset-on-init; |
| 1313 | ti,no-idle; |
| 1314 | timer@0 { |
| 1315 | assigned-clocks = <&wkupaon_clkctrl DRA7_TIMER1_CLKCTRL 24>; |
| 1316 | assigned-clock-parents = <&sys_32k_ck>; |
| 1317 | }; |
| 1318 | }; |