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 | /* |
| 3 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ |
| 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; |
Mugunthan V N | ef9c5b6 | 2014-10-21 15:31:00 +0530 | [diff] [blame] | 40 | ethernet0 = &cpsw_emac0; |
| 41 | ethernet1 = &cpsw_emac1; |
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 | */ |
| 146 | ocp { |
Rajendra Nayak | fba387a | 2014-04-10 11:34:32 -0500 | [diff] [blame] | 147 | compatible = "ti,dra7-l3-noc", "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>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 151 | ti,hwmods = "l3_main_1", "l3_main_2"; |
Lokesh Vutla | dae320e | 2016-02-24 15:41:04 +0530 | [diff] [blame] | 152 | reg = <0x0 0x44000000 0x0 0x1000000>, |
| 153 | <0x0 0x45000000 0x0 0x1000>; |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 154 | interrupts-extended = <&crossbar_mpu GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, |
Marc Zyngier | 7136d45 | 2015-03-11 15:43:49 +0000 | [diff] [blame] | 155 | <&wakeupgen GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 156 | |
Tony Lindgren | 4ed0dfe | 2018-09-27 13:39:07 -0700 | [diff] [blame] | 157 | l4_cfg: interconnect@4a000000 { |
Tero Kristo | d919501 | 2015-02-12 11:37:13 +0200 | [diff] [blame] | 158 | }; |
Tony Lindgren | 4ed0dfe | 2018-09-27 13:39:07 -0700 | [diff] [blame] | 159 | l4_wkup: interconnect@4ae00000 { |
| 160 | }; |
| 161 | l4_per1: interconnect@48000000 { |
| 162 | }; |
| 163 | l4_per2: interconnect@48400000 { |
| 164 | }; |
| 165 | l4_per3: interconnect@48800000 { |
Tero Kristo | ee6c750 | 2013-07-18 17:18:33 +0300 | [diff] [blame] | 166 | }; |
| 167 | |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 168 | axi@0 { |
| 169 | compatible = "simple-bus"; |
| 170 | #size-cells = <1>; |
| 171 | #address-cells = <1>; |
| 172 | ranges = <0x51000000 0x51000000 0x3000 |
| 173 | 0x0 0x20000000 0x10000000>; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 174 | /** |
| 175 | * To enable PCI endpoint mode, disable the pcie1_rc |
| 176 | * node and enable pcie1_ep mode. |
| 177 | */ |
| 178 | pcie1_rc: pcie@51000000 { |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 179 | reg = <0x51000000 0x2000>, <0x51002000 0x14c>, <0x1000 0x2000>; |
| 180 | reg-names = "rc_dbics", "ti_conf", "config"; |
| 181 | interrupts = <0 232 0x4>, <0 233 0x4>; |
| 182 | #address-cells = <3>; |
| 183 | #size-cells = <2>; |
| 184 | device_type = "pci"; |
| 185 | ranges = <0x81000000 0 0 0x03000 0 0x00010000 |
| 186 | 0x82000000 0 0x20013000 0x13000 0 0xffed000>; |
Rob Herring | 7d79f60 | 2017-03-21 21:03:01 -0500 | [diff] [blame] | 187 | bus-range = <0x00 0xff>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 188 | #interrupt-cells = <1>; |
| 189 | num-lanes = <1>; |
Kishon Vijay Abraham I | bed596d | 2016-08-10 18:03:18 +0530 | [diff] [blame] | 190 | linux,pci-domain = <0>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 191 | ti,hwmods = "pcie1"; |
| 192 | phys = <&pcie1_phy>; |
| 193 | phy-names = "pcie-phy0"; |
Kishon Vijay Abraham I | b5acec0 | 2019-03-25 15:15:25 +0530 | [diff] [blame] | 194 | ti,syscon-lane-sel = <&scm_conf_pcie 0x18>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 195 | interrupt-map-mask = <0 0 0 7>; |
| 196 | interrupt-map = <0 0 0 1 &pcie1_intc 1>, |
| 197 | <0 0 0 2 &pcie1_intc 2>, |
| 198 | <0 0 0 3 &pcie1_intc 3>, |
| 199 | <0 0 0 4 &pcie1_intc 4>; |
Vignesh R | b830526 | 2018-09-28 11:34:42 +0530 | [diff] [blame] | 200 | ti,syscon-unaligned-access = <&scm_conf1 0x14 1>; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 201 | status = "disabled"; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 202 | pcie1_intc: interrupt-controller { |
| 203 | interrupt-controller; |
| 204 | #address-cells = <0>; |
| 205 | #interrupt-cells = <1>; |
| 206 | }; |
| 207 | }; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 208 | |
| 209 | pcie1_ep: pcie_ep@51000000 { |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 210 | reg = <0x51000000 0x28>, <0x51002000 0x14c>, <0x51001000 0x28>, <0x1000 0x10000000>; |
| 211 | reg-names = "ep_dbics", "ti_conf", "ep_dbics2", "addr_space"; |
| 212 | interrupts = <0 232 0x4>; |
| 213 | num-lanes = <1>; |
| 214 | num-ib-windows = <4>; |
| 215 | num-ob-windows = <16>; |
| 216 | ti,hwmods = "pcie1"; |
| 217 | phys = <&pcie1_phy>; |
| 218 | phy-names = "pcie-phy0"; |
Vignesh R | 6d0af44 | 2018-09-25 10:51:51 +0530 | [diff] [blame] | 219 | ti,syscon-unaligned-access = <&scm_conf1 0x14 1>; |
Kishon Vijay Abraham I | b5acec0 | 2019-03-25 15:15:25 +0530 | [diff] [blame] | 220 | ti,syscon-lane-sel = <&scm_conf_pcie 0x18>; |
Kishon Vijay Abraham I | d23f383 | 2017-08-08 11:10:24 +0530 | [diff] [blame] | 221 | status = "disabled"; |
| 222 | }; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 223 | }; |
| 224 | |
| 225 | axi@1 { |
| 226 | compatible = "simple-bus"; |
| 227 | #size-cells = <1>; |
| 228 | #address-cells = <1>; |
| 229 | ranges = <0x51800000 0x51800000 0x3000 |
| 230 | 0x0 0x30000000 0x10000000>; |
| 231 | status = "disabled"; |
Kishon Vijay Abraham I | 1ac19c8 | 2017-12-19 15:01:28 +0530 | [diff] [blame] | 232 | pcie2_rc: pcie@51800000 { |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 233 | reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>; |
| 234 | reg-names = "rc_dbics", "ti_conf", "config"; |
| 235 | interrupts = <0 355 0x4>, <0 356 0x4>; |
| 236 | #address-cells = <3>; |
| 237 | #size-cells = <2>; |
| 238 | device_type = "pci"; |
| 239 | ranges = <0x81000000 0 0 0x03000 0 0x00010000 |
| 240 | 0x82000000 0 0x30013000 0x13000 0 0xffed000>; |
Rob Herring | 7d79f60 | 2017-03-21 21:03:01 -0500 | [diff] [blame] | 241 | bus-range = <0x00 0xff>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 242 | #interrupt-cells = <1>; |
| 243 | num-lanes = <1>; |
Kishon Vijay Abraham I | bed596d | 2016-08-10 18:03:18 +0530 | [diff] [blame] | 244 | linux,pci-domain = <1>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 245 | ti,hwmods = "pcie2"; |
| 246 | phys = <&pcie2_phy>; |
| 247 | phy-names = "pcie-phy0"; |
| 248 | interrupt-map-mask = <0 0 0 7>; |
| 249 | interrupt-map = <0 0 0 1 &pcie2_intc 1>, |
| 250 | <0 0 0 2 &pcie2_intc 2>, |
| 251 | <0 0 0 3 &pcie2_intc 3>, |
| 252 | <0 0 0 4 &pcie2_intc 4>; |
Vignesh R | b830526 | 2018-09-28 11:34:42 +0530 | [diff] [blame] | 253 | ti,syscon-unaligned-access = <&scm_conf1 0x14 2>; |
Kishon Vijay Abraham I | 18dcd79 | 2014-07-14 16:12:23 +0530 | [diff] [blame] | 254 | pcie2_intc: interrupt-controller { |
| 255 | interrupt-controller; |
| 256 | #address-cells = <0>; |
| 257 | #interrupt-cells = <1>; |
| 258 | }; |
| 259 | }; |
| 260 | }; |
| 261 | |
Dave Gerlach | a5fa09b | 2016-05-10 14:49:41 -0500 | [diff] [blame] | 262 | ocmcram1: ocmcram@40300000 { |
| 263 | compatible = "mmio-sram"; |
| 264 | reg = <0x40300000 0x80000>; |
| 265 | ranges = <0x0 0x40300000 0x80000>; |
| 266 | #address-cells = <1>; |
| 267 | #size-cells = <1>; |
Dave Gerlach | fae3a9f | 2016-05-10 14:49:42 -0500 | [diff] [blame] | 268 | /* |
| 269 | * This is a placeholder for an optional reserved |
| 270 | * region for use by secure software. The size |
| 271 | * of this region is not known until runtime so it |
| 272 | * is set as zero to either be updated to reserve |
| 273 | * space or left unchanged to leave all SRAM for use. |
| 274 | * On HS parts that that require the reserved region |
| 275 | * either the bootloader can update the size to |
| 276 | * the required amount or the node can be overridden |
| 277 | * from the board dts file for the secure platform. |
| 278 | */ |
| 279 | sram-hs@0 { |
| 280 | compatible = "ti,secure-ram"; |
| 281 | reg = <0x0 0x0>; |
| 282 | }; |
Dave Gerlach | a5fa09b | 2016-05-10 14:49:41 -0500 | [diff] [blame] | 283 | }; |
| 284 | |
| 285 | /* |
| 286 | * NOTE: ocmcram2 and ocmcram3 are not available on all |
| 287 | * DRA7xx and AM57xx variants. Confirm availability in |
| 288 | * the data manual for the exact part number in use |
| 289 | * before enabling these nodes in the board dts file. |
| 290 | */ |
| 291 | ocmcram2: ocmcram@40400000 { |
| 292 | status = "disabled"; |
| 293 | compatible = "mmio-sram"; |
| 294 | reg = <0x40400000 0x100000>; |
| 295 | ranges = <0x0 0x40400000 0x100000>; |
| 296 | #address-cells = <1>; |
| 297 | #size-cells = <1>; |
| 298 | }; |
| 299 | |
| 300 | ocmcram3: ocmcram@40500000 { |
| 301 | status = "disabled"; |
| 302 | compatible = "mmio-sram"; |
| 303 | reg = <0x40500000 0x100000>; |
| 304 | ranges = <0x0 0x40500000 0x100000>; |
| 305 | #address-cells = <1>; |
| 306 | #size-cells = <1>; |
| 307 | }; |
| 308 | |
Keerthy | f7397ed | 2015-03-23 14:39:38 -0500 | [diff] [blame] | 309 | bandgap: bandgap@4a0021e0 { |
| 310 | reg = <0x4a0021e0 0xc |
| 311 | 0x4a00232c 0xc |
| 312 | 0x4a002380 0x2c |
| 313 | 0x4a0023C0 0x3c |
| 314 | 0x4a002564 0x8 |
| 315 | 0x4a002574 0x50>; |
| 316 | compatible = "ti,dra752-bandgap"; |
| 317 | interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; |
| 318 | #thermal-sensor-cells = <1>; |
| 319 | }; |
| 320 | |
Suman Anna | 99639ac | 2015-10-02 18:23:22 -0500 | [diff] [blame] | 321 | dsp1_system: dsp_system@40d00000 { |
| 322 | compatible = "syscon"; |
| 323 | reg = <0x40d00000 0x100>; |
| 324 | }; |
| 325 | |
Tony Lindgren | eba6130 | 2017-06-16 17:24:29 +0530 | [diff] [blame] | 326 | dra7_iodelay_core: padconf@4844a000 { |
| 327 | compatible = "ti,dra7-iodelay"; |
| 328 | reg = <0x4844a000 0x0d1c>; |
| 329 | #address-cells = <1>; |
| 330 | #size-cells = <0>; |
| 331 | #pinctrl-cells = <2>; |
| 332 | }; |
| 333 | |
Peter Ujfalusi | 248948f | 2016-03-07 17:17:29 +0200 | [diff] [blame] | 334 | edma: edma@43300000 { |
| 335 | compatible = "ti,edma3-tpcc"; |
| 336 | ti,hwmods = "tpcc"; |
| 337 | reg = <0x43300000 0x100000>; |
| 338 | reg-names = "edma3_cc"; |
| 339 | interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>, |
| 340 | <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>, |
| 341 | <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>; |
Robert P. J. Day | a520655 | 2016-05-24 17:20:28 -0400 | [diff] [blame] | 342 | interrupt-names = "edma3_ccint", "edma3_mperr", |
Peter Ujfalusi | 248948f | 2016-03-07 17:17:29 +0200 | [diff] [blame] | 343 | "edma3_ccerrint"; |
| 344 | dma-requests = <64>; |
| 345 | #dma-cells = <2>; |
| 346 | |
| 347 | ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 0>; |
| 348 | |
| 349 | /* |
| 350 | * memcpy is disabled, can be enabled with: |
| 351 | * ti,edma-memcpy-channels = <20 21>; |
| 352 | * for example. Note that these channels need to be |
| 353 | * masked in the xbar as well. |
| 354 | */ |
| 355 | }; |
| 356 | |
| 357 | edma_tptc0: tptc@43400000 { |
| 358 | compatible = "ti,edma3-tptc"; |
| 359 | ti,hwmods = "tptc0"; |
| 360 | reg = <0x43400000 0x100000>; |
| 361 | interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>; |
| 362 | interrupt-names = "edma3_tcerrint"; |
| 363 | }; |
| 364 | |
| 365 | edma_tptc1: tptc@43500000 { |
| 366 | compatible = "ti,edma3-tptc"; |
| 367 | ti,hwmods = "tptc1"; |
| 368 | reg = <0x43500000 0x100000>; |
| 369 | interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>; |
| 370 | interrupt-names = "edma3_tcerrint"; |
| 371 | }; |
| 372 | |
Archit Taneja | 1a5fe3c | 2013-12-17 15:32:21 +0530 | [diff] [blame] | 373 | dmm@4e000000 { |
| 374 | compatible = "ti,omap5-dmm"; |
| 375 | reg = <0x4e000000 0x800>; |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 376 | interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; |
Archit Taneja | 1a5fe3c | 2013-12-17 15:32:21 +0530 | [diff] [blame] | 377 | ti,hwmods = "dmm"; |
| 378 | }; |
| 379 | |
Tero Kristo | dbd2d6f | 2019-12-12 14:51:18 +0200 | [diff] [blame^] | 380 | target-module@40d01000 { |
| 381 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 382 | reg = <0x40d01000 0x4>, |
| 383 | <0x40d01010 0x4>, |
| 384 | <0x40d01014 0x4>; |
| 385 | reg-names = "rev", "sysc", "syss"; |
| 386 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 387 | <SYSC_IDLE_NO>, |
| 388 | <SYSC_IDLE_SMART>; |
| 389 | ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
| 390 | SYSC_OMAP2_SOFTRESET | |
| 391 | SYSC_OMAP2_AUTOIDLE)>; |
| 392 | clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>; |
| 393 | clock-names = "fck"; |
| 394 | resets = <&prm_dsp1 1>; |
| 395 | reset-names = "rstctrl"; |
| 396 | ranges = <0x0 0x40d01000 0x1000>; |
| 397 | #size-cells = <1>; |
| 398 | #address-cells = <1>; |
| 399 | |
| 400 | mmu0_dsp1: mmu@0 { |
| 401 | compatible = "ti,dra7-dsp-iommu"; |
| 402 | reg = <0x0 0x100>; |
| 403 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 404 | #iommu-cells = <0>; |
| 405 | ti,syscon-mmuconfig = <&dsp1_system 0x0>; |
| 406 | }; |
Suman Anna | 2c7e07c5 | 2015-10-02 18:23:24 -0500 | [diff] [blame] | 407 | }; |
| 408 | |
Tero Kristo | dbd2d6f | 2019-12-12 14:51:18 +0200 | [diff] [blame^] | 409 | target-module@40d02000 { |
| 410 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 411 | reg = <0x40d02000 0x4>, |
| 412 | <0x40d02010 0x4>, |
| 413 | <0x40d02014 0x4>; |
| 414 | reg-names = "rev", "sysc", "syss"; |
| 415 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 416 | <SYSC_IDLE_NO>, |
| 417 | <SYSC_IDLE_SMART>; |
| 418 | ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
| 419 | SYSC_OMAP2_SOFTRESET | |
| 420 | SYSC_OMAP2_AUTOIDLE)>; |
| 421 | clocks = <&dsp1_clkctrl DRA7_DSP1_MMU0_DSP1_CLKCTRL 0>; |
| 422 | clock-names = "fck"; |
| 423 | resets = <&prm_dsp1 1>; |
| 424 | reset-names = "rstctrl"; |
| 425 | ranges = <0x0 0x40d02000 0x1000>; |
| 426 | #size-cells = <1>; |
| 427 | #address-cells = <1>; |
| 428 | |
| 429 | mmu1_dsp1: mmu@0 { |
| 430 | compatible = "ti,dra7-dsp-iommu"; |
| 431 | reg = <0x0 0x100>; |
| 432 | interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; |
| 433 | #iommu-cells = <0>; |
| 434 | ti,syscon-mmuconfig = <&dsp1_system 0x1>; |
| 435 | }; |
Suman Anna | 2c7e07c5 | 2015-10-02 18:23:24 -0500 | [diff] [blame] | 436 | }; |
| 437 | |
Tero Kristo | dbd2d6f | 2019-12-12 14:51:18 +0200 | [diff] [blame^] | 438 | target-module@58882000 { |
| 439 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 440 | reg = <0x58882000 0x4>, |
| 441 | <0x58882010 0x4>, |
| 442 | <0x58882014 0x4>; |
| 443 | reg-names = "rev", "sysc", "syss"; |
| 444 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 445 | <SYSC_IDLE_NO>, |
| 446 | <SYSC_IDLE_SMART>; |
| 447 | ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
| 448 | SYSC_OMAP2_SOFTRESET | |
| 449 | SYSC_OMAP2_AUTOIDLE)>; |
| 450 | clocks = <&ipu1_clkctrl DRA7_IPU1_MMU_IPU1_CLKCTRL 0>; |
| 451 | clock-names = "fck"; |
| 452 | resets = <&prm_ipu 2>; |
| 453 | reset-names = "rstctrl"; |
| 454 | #address-cells = <1>; |
| 455 | #size-cells = <1>; |
| 456 | ranges = <0x0 0x58882000 0x100>; |
| 457 | |
| 458 | mmu_ipu1: mmu@0 { |
| 459 | compatible = "ti,dra7-iommu"; |
| 460 | reg = <0x0 0x100>; |
| 461 | interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>; |
| 462 | #iommu-cells = <0>; |
| 463 | ti,iommu-bus-err-back; |
| 464 | }; |
Suman Anna | 2c7e07c5 | 2015-10-02 18:23:24 -0500 | [diff] [blame] | 465 | }; |
| 466 | |
Tero Kristo | dbd2d6f | 2019-12-12 14:51:18 +0200 | [diff] [blame^] | 467 | target-module@55082000 { |
| 468 | compatible = "ti,sysc-omap2", "ti,sysc"; |
| 469 | reg = <0x55082000 0x4>, |
| 470 | <0x55082010 0x4>, |
| 471 | <0x55082014 0x4>; |
| 472 | reg-names = "rev", "sysc", "syss"; |
| 473 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 474 | <SYSC_IDLE_NO>, |
| 475 | <SYSC_IDLE_SMART>; |
| 476 | ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
| 477 | SYSC_OMAP2_SOFTRESET | |
| 478 | SYSC_OMAP2_AUTOIDLE)>; |
| 479 | clocks = <&ipu2_clkctrl DRA7_IPU2_MMU_IPU2_CLKCTRL 0>; |
| 480 | clock-names = "fck"; |
| 481 | resets = <&prm_core 2>; |
| 482 | reset-names = "rstctrl"; |
| 483 | #address-cells = <1>; |
| 484 | #size-cells = <1>; |
| 485 | ranges = <0x0 0x55082000 0x100>; |
| 486 | |
| 487 | mmu_ipu2: mmu@0 { |
| 488 | compatible = "ti,dra7-iommu"; |
| 489 | reg = <0x0 0x100>; |
| 490 | interrupts = <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>; |
| 491 | #iommu-cells = <0>; |
| 492 | ti,iommu-bus-err-back; |
| 493 | }; |
Suman Anna | 2c7e07c5 | 2015-10-02 18:23:24 -0500 | [diff] [blame] | 494 | }; |
| 495 | |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 496 | abb_mpu: regulator-abb-mpu { |
| 497 | compatible = "ti,abb-v3"; |
| 498 | regulator-name = "abb_mpu"; |
| 499 | #address-cells = <0>; |
| 500 | #size-cells = <0>; |
| 501 | clocks = <&sys_clkin1>; |
| 502 | ti,settling-time = <50>; |
| 503 | ti,clock-cycles = <16>; |
| 504 | |
| 505 | reg = <0x4ae07ddc 0x4>, <0x4ae07de0 0x4>, |
Nishanth Menon | 1822734 | 2015-04-16 16:56:33 -0500 | [diff] [blame] | 506 | <0x4ae06014 0x4>, <0x4a003b20 0xc>, |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 507 | <0x4ae0c158 0x4>; |
| 508 | reg-names = "setup-address", "control-address", |
| 509 | "int-address", "efuse-address", |
| 510 | "ldo-address"; |
| 511 | ti,tranxdone-status-mask = <0x80>; |
| 512 | /* LDOVBBMPU_FBB_MUX_CTRL */ |
| 513 | ti,ldovbb-override-mask = <0x400>; |
| 514 | /* LDOVBBMPU_FBB_VSET_OUT */ |
| 515 | ti,ldovbb-vset-mask = <0x1F>; |
| 516 | |
| 517 | /* |
| 518 | * NOTE: only FBB mode used but actual vset will |
| 519 | * determine final biasing |
| 520 | */ |
| 521 | ti,abb_info = < |
| 522 | /*uV ABB efuse rbb_m fbb_m vset_m*/ |
| 523 | 1060000 0 0x0 0 0x02000000 0x01F00000 |
| 524 | 1160000 0 0x4 0 0x02000000 0x01F00000 |
| 525 | 1210000 0 0x8 0 0x02000000 0x01F00000 |
| 526 | >; |
| 527 | }; |
| 528 | |
| 529 | abb_ivahd: regulator-abb-ivahd { |
| 530 | compatible = "ti,abb-v3"; |
| 531 | regulator-name = "abb_ivahd"; |
| 532 | #address-cells = <0>; |
| 533 | #size-cells = <0>; |
| 534 | clocks = <&sys_clkin1>; |
| 535 | ti,settling-time = <50>; |
| 536 | ti,clock-cycles = <16>; |
| 537 | |
| 538 | reg = <0x4ae07e34 0x4>, <0x4ae07e24 0x4>, |
Nishanth Menon | 1822734 | 2015-04-16 16:56:33 -0500 | [diff] [blame] | 539 | <0x4ae06010 0x4>, <0x4a0025cc 0xc>, |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 540 | <0x4a002470 0x4>; |
| 541 | reg-names = "setup-address", "control-address", |
| 542 | "int-address", "efuse-address", |
| 543 | "ldo-address"; |
| 544 | ti,tranxdone-status-mask = <0x40000000>; |
| 545 | /* LDOVBBIVA_FBB_MUX_CTRL */ |
| 546 | ti,ldovbb-override-mask = <0x400>; |
| 547 | /* LDOVBBIVA_FBB_VSET_OUT */ |
| 548 | ti,ldovbb-vset-mask = <0x1F>; |
| 549 | |
| 550 | /* |
| 551 | * NOTE: only FBB mode used but actual vset will |
| 552 | * determine final biasing |
| 553 | */ |
| 554 | ti,abb_info = < |
| 555 | /*uV ABB efuse rbb_m fbb_m vset_m*/ |
| 556 | 1055000 0 0x0 0 0x02000000 0x01F00000 |
| 557 | 1150000 0 0x4 0 0x02000000 0x01F00000 |
| 558 | 1250000 0 0x8 0 0x02000000 0x01F00000 |
| 559 | >; |
| 560 | }; |
| 561 | |
| 562 | abb_dspeve: regulator-abb-dspeve { |
| 563 | compatible = "ti,abb-v3"; |
| 564 | regulator-name = "abb_dspeve"; |
| 565 | #address-cells = <0>; |
| 566 | #size-cells = <0>; |
| 567 | clocks = <&sys_clkin1>; |
| 568 | ti,settling-time = <50>; |
| 569 | ti,clock-cycles = <16>; |
| 570 | |
| 571 | reg = <0x4ae07e30 0x4>, <0x4ae07e20 0x4>, |
Nishanth Menon | 1822734 | 2015-04-16 16:56:33 -0500 | [diff] [blame] | 572 | <0x4ae06010 0x4>, <0x4a0025e0 0xc>, |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 573 | <0x4a00246c 0x4>; |
| 574 | reg-names = "setup-address", "control-address", |
| 575 | "int-address", "efuse-address", |
| 576 | "ldo-address"; |
| 577 | ti,tranxdone-status-mask = <0x20000000>; |
| 578 | /* LDOVBBDSPEVE_FBB_MUX_CTRL */ |
| 579 | ti,ldovbb-override-mask = <0x400>; |
| 580 | /* LDOVBBDSPEVE_FBB_VSET_OUT */ |
| 581 | ti,ldovbb-vset-mask = <0x1F>; |
| 582 | |
| 583 | /* |
| 584 | * NOTE: only FBB mode used but actual vset will |
| 585 | * determine final biasing |
| 586 | */ |
| 587 | ti,abb_info = < |
| 588 | /*uV ABB efuse rbb_m fbb_m vset_m*/ |
| 589 | 1055000 0 0x0 0 0x02000000 0x01F00000 |
| 590 | 1150000 0 0x4 0 0x02000000 0x01F00000 |
| 591 | 1250000 0 0x8 0 0x02000000 0x01F00000 |
| 592 | >; |
| 593 | }; |
| 594 | |
| 595 | abb_gpu: regulator-abb-gpu { |
| 596 | compatible = "ti,abb-v3"; |
| 597 | regulator-name = "abb_gpu"; |
| 598 | #address-cells = <0>; |
| 599 | #size-cells = <0>; |
| 600 | clocks = <&sys_clkin1>; |
| 601 | ti,settling-time = <50>; |
| 602 | ti,clock-cycles = <16>; |
| 603 | |
| 604 | reg = <0x4ae07de4 0x4>, <0x4ae07de8 0x4>, |
Nishanth Menon | 1822734 | 2015-04-16 16:56:33 -0500 | [diff] [blame] | 605 | <0x4ae06010 0x4>, <0x4a003b08 0xc>, |
Nishanth Menon | a1b8ee1 | 2014-03-03 20:20:23 +0530 | [diff] [blame] | 606 | <0x4ae0c154 0x4>; |
| 607 | reg-names = "setup-address", "control-address", |
| 608 | "int-address", "efuse-address", |
| 609 | "ldo-address"; |
| 610 | ti,tranxdone-status-mask = <0x10000000>; |
| 611 | /* LDOVBBGPU_FBB_MUX_CTRL */ |
| 612 | ti,ldovbb-override-mask = <0x400>; |
| 613 | /* LDOVBBGPU_FBB_VSET_OUT */ |
| 614 | ti,ldovbb-vset-mask = <0x1F>; |
| 615 | |
| 616 | /* |
| 617 | * NOTE: only FBB mode used but actual vset will |
| 618 | * determine final biasing |
| 619 | */ |
| 620 | ti,abb_info = < |
| 621 | /*uV ABB efuse rbb_m fbb_m vset_m*/ |
| 622 | 1090000 0 0x0 0 0x02000000 0x01F00000 |
| 623 | 1210000 0 0x4 0 0x02000000 0x01F00000 |
| 624 | 1280000 0 0x8 0 0x02000000 0x01F00000 |
| 625 | >; |
| 626 | }; |
| 627 | |
Rob Herring | cc89387 | 2018-09-13 13:12:25 -0500 | [diff] [blame] | 628 | qspi: spi@4b300000 { |
Sourav Poddar | dc2dd5b | 2014-05-06 16:37:24 +0530 | [diff] [blame] | 629 | compatible = "ti,dra7xxx-qspi"; |
Vignesh R | 1929d0b | 2015-12-11 09:39:59 +0530 | [diff] [blame] | 630 | reg = <0x4b300000 0x100>, |
| 631 | <0x5c000000 0x4000000>; |
| 632 | reg-names = "qspi_base", "qspi_mmap"; |
| 633 | syscon-chipselects = <&scm_conf 0x558>; |
Sourav Poddar | dc2dd5b | 2014-05-06 16:37:24 +0530 | [diff] [blame] | 634 | #address-cells = <1>; |
| 635 | #size-cells = <0>; |
| 636 | ti,hwmods = "qspi"; |
Tero Kristo | b5f8ffb | 2018-08-31 18:14:51 +0300 | [diff] [blame] | 637 | clocks = <&l4per2_clkctrl DRA7_L4PER2_QSPI_CLKCTRL 25>; |
Sourav Poddar | dc2dd5b | 2014-05-06 16:37:24 +0530 | [diff] [blame] | 638 | clock-names = "fck"; |
| 639 | num-cs = <4>; |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 640 | interrupts = <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>; |
Sourav Poddar | dc2dd5b | 2014-05-06 16:37:24 +0530 | [diff] [blame] | 641 | status = "disabled"; |
| 642 | }; |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 643 | |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 644 | /* OCP2SCP3 */ |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 645 | sata: sata@4a141100 { |
| 646 | compatible = "snps,dwc-ahci"; |
| 647 | reg = <0x4a140000 0x1100>, <0x4a141100 0x7>; |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 648 | interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 649 | phys = <&sata_phy>; |
| 650 | phy-names = "sata-phy"; |
Tero Kristo | b5f8ffb | 2018-08-31 18:14:51 +0300 | [diff] [blame] | 651 | clocks = <&l3init_clkctrl DRA7_L3INIT_SATA_CLKCTRL 8>; |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 652 | ti,hwmods = "sata"; |
Jean-Jacques Hiblot | 87cb129 | 2017-01-09 13:22:15 +0100 | [diff] [blame] | 653 | ports-implemented = <0x1>; |
Balaji T K | 7be8056 | 2014-05-07 14:58:58 +0300 | [diff] [blame] | 654 | }; |
Roger Quadros | fbf3e55 | 2014-05-05 12:54:45 +0300 | [diff] [blame] | 655 | |
Roger Quadros | fbf3e55 | 2014-05-05 12:54:45 +0300 | [diff] [blame] | 656 | /* OCP2SCP1 */ |
Roger Quadros | fbf3e55 | 2014-05-05 12:54:45 +0300 | [diff] [blame] | 657 | /* IRQ for DWC3_3 and DWC3_4 need IRQ crossbar */ |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 658 | gpmc: gpmc@50000000 { |
| 659 | compatible = "ti,am3352-gpmc"; |
| 660 | ti,hwmods = "gpmc"; |
| 661 | reg = <0x50000000 0x37c>; /* device IO registers */ |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 662 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
Franklin S Cooper Jr | 10ce240 | 2016-05-04 12:43:55 -0500 | [diff] [blame] | 663 | dmas = <&edma_xbar 4 0>; |
| 664 | dma-names = "rxtx"; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 665 | gpmc,num-cs = <8>; |
| 666 | gpmc,num-waitpins = <2>; |
| 667 | #address-cells = <2>; |
| 668 | #size-cells = <1>; |
Roger Quadros | 488f270d | 2016-02-23 18:37:17 +0200 | [diff] [blame] | 669 | interrupt-controller; |
| 670 | #interrupt-cells = <2>; |
Roger Quadros | 845b1a2 | 2016-04-07 13:25:31 +0300 | [diff] [blame] | 671 | gpio-controller; |
| 672 | #gpio-cells = <2>; |
Minal Shah | ff66a3c | 2014-05-19 14:45:47 +0530 | [diff] [blame] | 673 | status = "disabled"; |
| 674 | }; |
Peter Ujfalusi | 2ca0945 | 2014-05-07 13:20:48 +0300 | [diff] [blame] | 675 | |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 676 | crossbar_mpu: crossbar@4a002a48 { |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 677 | compatible = "ti,irq-crossbar"; |
| 678 | reg = <0x4a002a48 0x130>; |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 679 | interrupt-controller; |
Marc Zyngier | 7136d45 | 2015-03-11 15:43:49 +0000 | [diff] [blame] | 680 | interrupt-parent = <&wakeupgen>; |
Marc Zyngier | 783d318 | 2015-03-11 15:43:44 +0000 | [diff] [blame] | 681 | #interrupt-cells = <3>; |
R Sricharan | a46631c | 2014-06-26 12:55:31 +0530 | [diff] [blame] | 682 | ti,max-irqs = <160>; |
| 683 | ti,max-crossbar-sources = <MAX_SOURCES>; |
| 684 | ti,reg-size = <2>; |
| 685 | ti,irqs-reserved = <0 1 2 3 5 6 131 132>; |
| 686 | ti,irqs-skip = <10 133 139 140>; |
| 687 | ti,irqs-safe-map = <0>; |
| 688 | }; |
Mugunthan V N | ef9c5b6 | 2014-10-21 15:31:00 +0530 | [diff] [blame] | 689 | |
Tomi Valkeinen | 95c1cd1 | 2014-07-09 16:15:18 +0530 | [diff] [blame] | 690 | dss: dss@58000000 { |
| 691 | compatible = "ti,dra7-dss"; |
| 692 | /* 'reg' defined in dra72x.dtsi and dra74x.dtsi */ |
| 693 | /* 'clocks' defined in dra72x.dtsi and dra74x.dtsi */ |
| 694 | status = "disabled"; |
| 695 | ti,hwmods = "dss_core"; |
| 696 | /* CTRL_CORE_DSS_PLL_CONTROL */ |
| 697 | syscon-pll-ctrl = <&scm_conf 0x538>; |
| 698 | #address-cells = <1>; |
| 699 | #size-cells = <1>; |
| 700 | ranges; |
| 701 | |
| 702 | dispc@58001000 { |
| 703 | compatible = "ti,dra7-dispc"; |
| 704 | reg = <0x58001000 0x1000>; |
| 705 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 706 | ti,hwmods = "dss_dispc"; |
Tero Kristo | b5f8ffb | 2018-08-31 18:14:51 +0300 | [diff] [blame] | 707 | clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 8>; |
Tomi Valkeinen | 95c1cd1 | 2014-07-09 16:15:18 +0530 | [diff] [blame] | 708 | clock-names = "fck"; |
| 709 | /* CTRL_CORE_SMA_SW_1 */ |
| 710 | syscon-pol = <&scm_conf 0x534>; |
| 711 | }; |
| 712 | |
| 713 | hdmi: encoder@58060000 { |
| 714 | compatible = "ti,dra7-hdmi"; |
| 715 | reg = <0x58040000 0x200>, |
| 716 | <0x58040200 0x80>, |
| 717 | <0x58040300 0x80>, |
| 718 | <0x58060000 0x19000>; |
| 719 | reg-names = "wp", "pll", "phy", "core"; |
| 720 | interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
| 721 | status = "disabled"; |
| 722 | ti,hwmods = "dss_hdmi"; |
Tero Kristo | b5f8ffb | 2018-08-31 18:14:51 +0300 | [diff] [blame] | 723 | clocks = <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 9>, |
| 724 | <&dss_clkctrl DRA7_DSS_DSS_CORE_CLKCTRL 10>; |
Tomi Valkeinen | 95c1cd1 | 2014-07-09 16:15:18 +0530 | [diff] [blame] | 725 | clock-names = "fck", "sys_clk"; |
Peter Ujfalusi | 1239738 | 2017-11-08 14:53:23 +0200 | [diff] [blame] | 726 | dmas = <&sdma_xbar 76>; |
| 727 | dma-names = "audio_tx"; |
Tomi Valkeinen | 95c1cd1 | 2014-07-09 16:15:18 +0530 | [diff] [blame] | 728 | }; |
| 729 | }; |
Vignesh R | 3437014 | 2016-05-03 10:56:55 -0500 | [diff] [blame] | 730 | |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 731 | aes1_target: target-module@4b500000 { |
| 732 | compatible = "ti,sysc-omap2", "ti,sysc"; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 733 | ti,hwmods = "aes1"; |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 734 | reg = <0x4b500080 0x4>, |
| 735 | <0x4b500084 0x4>, |
| 736 | <0x4b500088 0x4>; |
| 737 | reg-names = "rev", "sysc", "syss"; |
| 738 | ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET | |
| 739 | SYSC_OMAP2_AUTOIDLE)>; |
| 740 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 741 | <SYSC_IDLE_NO>, |
| 742 | <SYSC_IDLE_SMART>, |
| 743 | <SYSC_IDLE_SMART_WKUP>; |
| 744 | ti,syss-mask = <1>; |
| 745 | /* Domains (P, C): per_pwrdm, l4sec_clkdm */ |
| 746 | clocks = <&l4sec_clkctrl DRA7_L4SEC_AES1_CLKCTRL 0>; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 747 | clock-names = "fck"; |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 748 | #address-cells = <1>; |
| 749 | #size-cells = <1>; |
| 750 | ranges = <0x0 0x4b500000 0x1000>; |
| 751 | |
| 752 | aes1: aes@0 { |
| 753 | compatible = "ti,omap4-aes"; |
| 754 | reg = <0 0xa0>; |
| 755 | interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>; |
| 756 | dmas = <&edma_xbar 111 0>, <&edma_xbar 110 0>; |
| 757 | dma-names = "tx", "rx"; |
| 758 | clocks = <&l3_iclk_div>; |
| 759 | clock-names = "fck"; |
| 760 | }; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 761 | }; |
| 762 | |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 763 | aes2_target: target-module@4b700000 { |
| 764 | compatible = "ti,sysc-omap2", "ti,sysc"; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 765 | ti,hwmods = "aes2"; |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 766 | reg = <0x4b700080 0x4>, |
| 767 | <0x4b700084 0x4>, |
| 768 | <0x4b700088 0x4>; |
| 769 | reg-names = "rev", "sysc", "syss"; |
| 770 | ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET | |
| 771 | SYSC_OMAP2_AUTOIDLE)>; |
| 772 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 773 | <SYSC_IDLE_NO>, |
| 774 | <SYSC_IDLE_SMART>, |
| 775 | <SYSC_IDLE_SMART_WKUP>; |
| 776 | ti,syss-mask = <1>; |
| 777 | /* Domains (P, C): per_pwrdm, l4sec_clkdm */ |
| 778 | clocks = <&l4sec_clkctrl DRA7_L4SEC_AES2_CLKCTRL 0>; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 779 | clock-names = "fck"; |
Tony Lindgren | 2ea3ce2 | 2019-12-12 09:46:16 -0800 | [diff] [blame] | 780 | #address-cells = <1>; |
| 781 | #size-cells = <1>; |
| 782 | ranges = <0x0 0x4b700000 0x1000>; |
| 783 | |
| 784 | aes2: aes@0 { |
| 785 | compatible = "ti,omap4-aes"; |
| 786 | reg = <0 0xa0>; |
| 787 | interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; |
| 788 | dmas = <&edma_xbar 114 0>, <&edma_xbar 113 0>; |
| 789 | dma-names = "tx", "rx"; |
| 790 | clocks = <&l3_iclk_div>; |
| 791 | clock-names = "fck"; |
| 792 | }; |
Joel Fernandes | e7fd15c | 2016-06-01 12:06:42 +0300 | [diff] [blame] | 793 | }; |
| 794 | |
Tony Lindgren | e132681 | 2019-12-12 09:46:15 -0800 | [diff] [blame] | 795 | sham_target: target-module@4b101000 { |
| 796 | compatible = "ti,sysc-omap3-sham", "ti,sysc"; |
Lokesh Vutla | da34609 | 2016-06-01 12:06:43 +0300 | [diff] [blame] | 797 | ti,hwmods = "sham"; |
Tony Lindgren | e132681 | 2019-12-12 09:46:15 -0800 | [diff] [blame] | 798 | reg = <0x4b101100 0x4>, |
| 799 | <0x4b101110 0x4>, |
| 800 | <0x4b101114 0x4>; |
| 801 | reg-names = "rev", "sysc", "syss"; |
| 802 | ti,sysc-mask = <(SYSC_OMAP2_SOFTRESET | |
| 803 | SYSC_OMAP2_AUTOIDLE)>; |
| 804 | ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
| 805 | <SYSC_IDLE_NO>, |
| 806 | <SYSC_IDLE_SMART>; |
| 807 | ti,syss-mask = <1>; |
| 808 | /* Domains (P, C): l4per_pwrdm, l4sec_clkdm */ |
| 809 | clocks = <&l4sec_clkctrl DRA7_L4SEC_SHAM_CLKCTRL 0>; |
Lokesh Vutla | da34609 | 2016-06-01 12:06:43 +0300 | [diff] [blame] | 810 | clock-names = "fck"; |
Tony Lindgren | e132681 | 2019-12-12 09:46:15 -0800 | [diff] [blame] | 811 | #address-cells = <1>; |
| 812 | #size-cells = <1>; |
| 813 | ranges = <0x0 0x4b101000 0x1000>; |
| 814 | |
| 815 | sham: sham@0 { |
| 816 | compatible = "ti,omap5-sham"; |
| 817 | reg = <0 0x300>; |
| 818 | interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>; |
| 819 | dmas = <&edma_xbar 119 0>; |
| 820 | dma-names = "rx"; |
| 821 | clocks = <&l3_iclk_div>; |
| 822 | clock-names = "fck"; |
| 823 | }; |
Lokesh Vutla | da34609 | 2016-06-01 12:06:43 +0300 | [diff] [blame] | 824 | }; |
Lokesh Vutla | 610e9c4 | 2016-06-01 12:06:44 +0300 | [diff] [blame] | 825 | |
Dave Gerlach | dbef196 | 2017-12-19 09:24:20 -0600 | [diff] [blame] | 826 | opp_supply_mpu: opp-supply@4a003b20 { |
| 827 | compatible = "ti,omap5-opp-supply"; |
| 828 | reg = <0x4a003b20 0xc>; |
| 829 | ti,efuse-settings = < |
| 830 | /* uV offset */ |
| 831 | 1060000 0x0 |
| 832 | 1160000 0x4 |
| 833 | 1210000 0x8 |
| 834 | >; |
| 835 | ti,absolute-max-voltage-uv = <1500000>; |
| 836 | }; |
| 837 | |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 838 | }; |
Keerthy | f7397ed | 2015-03-23 14:39:38 -0500 | [diff] [blame] | 839 | |
| 840 | thermal_zones: thermal-zones { |
| 841 | #include "omap4-cpu-thermal.dtsi" |
| 842 | #include "omap5-gpu-thermal.dtsi" |
| 843 | #include "omap5-core-thermal.dtsi" |
Keerthy | 667f259 | 2016-02-08 14:46:30 +0530 | [diff] [blame] | 844 | #include "dra7-dspeve-thermal.dtsi" |
| 845 | #include "dra7-iva-thermal.dtsi" |
Keerthy | f7397ed | 2015-03-23 14:39:38 -0500 | [diff] [blame] | 846 | }; |
| 847 | |
| 848 | }; |
| 849 | |
| 850 | &cpu_thermal { |
| 851 | polling-delay = <500>; /* milliseconds */ |
Keerthy | fb51ae0 | 2017-03-09 13:35:56 +0530 | [diff] [blame] | 852 | coefficients = <0 2000>; |
| 853 | }; |
| 854 | |
| 855 | &gpu_thermal { |
| 856 | coefficients = <0 2000>; |
| 857 | }; |
| 858 | |
| 859 | &core_thermal { |
| 860 | coefficients = <0 2000>; |
| 861 | }; |
| 862 | |
| 863 | &dspeve_thermal { |
| 864 | coefficients = <0 2000>; |
| 865 | }; |
| 866 | |
| 867 | &iva_thermal { |
| 868 | coefficients = <0 2000>; |
R Sricharan | 6e58b8f | 2013-08-14 19:08:20 +0530 | [diff] [blame] | 869 | }; |
Tero Kristo | ee6c750 | 2013-07-18 17:18:33 +0300 | [diff] [blame] | 870 | |
Ravikumar Kattekola | bca5238 | 2017-05-17 06:51:38 -0700 | [diff] [blame] | 871 | &cpu_crit { |
| 872 | temperature = <120000>; /* milli Celsius */ |
| 873 | }; |
| 874 | |
Ravikumar Kattekola | 64c358b | 2018-01-11 21:45:39 +0530 | [diff] [blame] | 875 | &core_crit { |
| 876 | temperature = <120000>; /* milli Celsius */ |
| 877 | }; |
| 878 | |
| 879 | &gpu_crit { |
| 880 | temperature = <120000>; /* milli Celsius */ |
| 881 | }; |
| 882 | |
| 883 | &dspeve_crit { |
| 884 | temperature = <120000>; /* milli Celsius */ |
| 885 | }; |
| 886 | |
| 887 | &iva_crit { |
| 888 | temperature = <120000>; /* milli Celsius */ |
| 889 | }; |
Tony Lindgren | 4ed0dfe | 2018-09-27 13:39:07 -0700 | [diff] [blame] | 890 | |
| 891 | #include "dra7-l4.dtsi" |
| 892 | #include "dra7xx-clocks.dtsi" |
Tero Kristo | db7725d | 2019-10-10 11:21:04 +0300 | [diff] [blame] | 893 | |
| 894 | &prm { |
| 895 | prm_dsp1: prm@400 { |
| 896 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 897 | reg = <0x400 0x100>; |
| 898 | #reset-cells = <1>; |
| 899 | }; |
| 900 | |
| 901 | prm_ipu: prm@500 { |
| 902 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 903 | reg = <0x500 0x100>; |
| 904 | #reset-cells = <1>; |
| 905 | }; |
| 906 | |
| 907 | prm_core: prm@700 { |
| 908 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 909 | reg = <0x700 0x100>; |
| 910 | #reset-cells = <1>; |
| 911 | }; |
| 912 | |
| 913 | prm_iva: prm@f00 { |
| 914 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 915 | reg = <0xf00 0x100>; |
| 916 | }; |
| 917 | |
| 918 | prm_dsp2: prm@1b00 { |
| 919 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 920 | reg = <0x1b00 0x40>; |
| 921 | #reset-cells = <1>; |
| 922 | }; |
| 923 | |
| 924 | prm_eve1: prm@1b40 { |
| 925 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 926 | reg = <0x1b40 0x40>; |
| 927 | }; |
| 928 | |
| 929 | prm_eve2: prm@1b80 { |
| 930 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 931 | reg = <0x1b80 0x40>; |
| 932 | }; |
| 933 | |
| 934 | prm_eve3: prm@1bc0 { |
| 935 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 936 | reg = <0x1bc0 0x40>; |
| 937 | }; |
| 938 | |
| 939 | prm_eve4: prm@1c00 { |
| 940 | compatible = "ti,dra7-prm-inst", "ti,omap-prm-inst"; |
| 941 | reg = <0x1c00 0x60>; |
| 942 | }; |
| 943 | }; |