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