.. | .. |
---|
1 | 1 | /* |
---|
2 | 2 | * Device Tree Source for OMAP2 SoC |
---|
3 | 3 | * |
---|
4 | | - * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ |
---|
| 4 | + * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ |
---|
5 | 5 | * |
---|
6 | 6 | * This file is licensed under the terms of the GNU General Public License |
---|
7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
---|
8 | 8 | * kind, whether express or implied. |
---|
9 | 9 | */ |
---|
10 | 10 | |
---|
| 11 | +#include <dt-bindings/bus/ti-sysc.h> |
---|
11 | 12 | #include <dt-bindings/gpio/gpio.h> |
---|
12 | 13 | #include <dt-bindings/interrupt-controller/irq.h> |
---|
13 | 14 | #include <dt-bindings/pinctrl/omap.h> |
---|
.. | .. |
---|
79 | 80 | reg = <0x480FE000 0x1000>; |
---|
80 | 81 | }; |
---|
81 | 82 | |
---|
82 | | - sdma: dma-controller@48056000 { |
---|
83 | | - compatible = "ti,omap2430-sdma", "ti,omap2420-sdma"; |
---|
84 | | - ti,hwmods = "dma"; |
---|
85 | | - reg = <0x48056000 0x1000>; |
---|
86 | | - interrupts = <12>, |
---|
87 | | - <13>, |
---|
88 | | - <14>, |
---|
89 | | - <15>; |
---|
90 | | - #dma-cells = <1>; |
---|
91 | | - dma-channels = <32>; |
---|
92 | | - dma-requests = <64>; |
---|
| 83 | + target-module@48056000 { |
---|
| 84 | + compatible = "ti,sysc-omap2", "ti,sysc"; |
---|
| 85 | + reg = <0x48056000 0x4>, |
---|
| 86 | + <0x4805602c 0x4>, |
---|
| 87 | + <0x48056028 0x4>; |
---|
| 88 | + reg-names = "rev", "sysc", "syss"; |
---|
| 89 | + ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
---|
| 90 | + SYSC_OMAP2_EMUFREE | |
---|
| 91 | + SYSC_OMAP2_SOFTRESET | |
---|
| 92 | + SYSC_OMAP2_AUTOIDLE)>; |
---|
| 93 | + ti,sysc-midle = <SYSC_IDLE_FORCE>, |
---|
| 94 | + <SYSC_IDLE_NO>, |
---|
| 95 | + <SYSC_IDLE_SMART>; |
---|
| 96 | + ti,syss-mask = <1>; |
---|
| 97 | + clocks = <&core_l3_ck>; |
---|
| 98 | + clock-names = "fck"; |
---|
| 99 | + #address-cells = <1>; |
---|
| 100 | + #size-cells = <1>; |
---|
| 101 | + ranges = <0 0x48056000 0x1000>; |
---|
| 102 | + |
---|
| 103 | + sdma: dma-controller@0 { |
---|
| 104 | + compatible = "ti,omap2420-sdma", "ti,omap-sdma"; |
---|
| 105 | + reg = <0 0x1000>; |
---|
| 106 | + interrupts = <12>, |
---|
| 107 | + <13>, |
---|
| 108 | + <14>, |
---|
| 109 | + <15>; |
---|
| 110 | + #dma-cells = <1>; |
---|
| 111 | + dma-channels = <32>; |
---|
| 112 | + dma-requests = <64>; |
---|
| 113 | + }; |
---|
93 | 114 | }; |
---|
94 | 115 | |
---|
95 | 116 | i2c1: i2c@48070000 { |
---|
.. | .. |
---|
180 | 201 | clock-frequency = <48000000>; |
---|
181 | 202 | }; |
---|
182 | 203 | |
---|
183 | | - timer2: timer@4802a000 { |
---|
184 | | - compatible = "ti,omap2420-timer"; |
---|
185 | | - reg = <0x4802a000 0x400>; |
---|
186 | | - interrupts = <38>; |
---|
187 | | - ti,hwmods = "timer2"; |
---|
| 204 | + timer2_target: target-module@4802a000 { |
---|
| 205 | + compatible = "ti,sysc-omap2-timer", "ti,sysc"; |
---|
| 206 | + reg = <0x4802a000 0x4>, |
---|
| 207 | + <0x4802a010 0x4>, |
---|
| 208 | + <0x4802a014 0x4>; |
---|
| 209 | + reg-names = "rev", "sysc", "syss"; |
---|
| 210 | + ti,sysc-mask = <(SYSC_OMAP2_CLOCKACTIVITY | |
---|
| 211 | + SYSC_OMAP2_EMUFREE | |
---|
| 212 | + SYSC_OMAP2_ENAWAKEUP | |
---|
| 213 | + SYSC_OMAP2_SOFTRESET | |
---|
| 214 | + SYSC_OMAP2_AUTOIDLE)>; |
---|
| 215 | + ti,sysc-sidle = <SYSC_IDLE_FORCE>, |
---|
| 216 | + <SYSC_IDLE_NO>, |
---|
| 217 | + <SYSC_IDLE_SMART>; |
---|
| 218 | + ti,syss-mask = <1>; |
---|
| 219 | + clocks = <&gpt2_fck>, <&gpt2_ick>; |
---|
| 220 | + clock-names = "fck", "ick"; |
---|
| 221 | + #address-cells = <1>; |
---|
| 222 | + #size-cells = <1>; |
---|
| 223 | + ranges = <0x0 0x4802a000 0x1000>; |
---|
| 224 | + |
---|
| 225 | + timer2: timer@0 { |
---|
| 226 | + compatible = "ti,omap2420-timer"; |
---|
| 227 | + reg = <0 0x400>; |
---|
| 228 | + interrupts = <38>; |
---|
| 229 | + }; |
---|
188 | 230 | }; |
---|
189 | 231 | |
---|
190 | 232 | timer3: timer@48078000 { |
---|