diff options
author | Dinh Nguyen <dinguyen@kernel.org> | 2017-09-20 17:36:02 -0400 |
---|---|---|
committer | Dinh Nguyen <dinguyen@kernel.org> | 2017-09-21 10:16:50 -0400 |
commit | 788251fa08118efa934ba2f54989997e7a5be679 (patch) | |
tree | fb6bc91db38a91e1c8cc2909c7656e4a9ee9499a | |
parent | 7691d62689d3bee3db12251a51adc5a5acfef220 (diff) |
arm64: dts: stratix10: add reset property for various peripherals
Add reset property for emac, gpio, i2c, sdmmc, timers, and watchdog.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index 99e2afec0329..6804936f2459 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | |||
@@ -101,6 +101,8 @@ | |||
101 | interrupts = <0 90 4>; | 101 | interrupts = <0 90 4>; |
102 | interrupt-names = "macirq"; | 102 | interrupt-names = "macirq"; |
103 | mac-address = [00 00 00 00 00 00]; | 103 | mac-address = [00 00 00 00 00 00]; |
104 | resets = <&rst EMAC0_RESET>; | ||
105 | reset-names = "stmmaceth"; | ||
104 | status = "disabled"; | 106 | status = "disabled"; |
105 | }; | 107 | }; |
106 | 108 | ||
@@ -110,6 +112,8 @@ | |||
110 | interrupts = <0 91 4>; | 112 | interrupts = <0 91 4>; |
111 | interrupt-names = "macirq"; | 113 | interrupt-names = "macirq"; |
112 | mac-address = [00 00 00 00 00 00]; | 114 | mac-address = [00 00 00 00 00 00]; |
115 | resets = <&rst EMAC1_RESET>; | ||
116 | reset-names = "stmmaceth"; | ||
113 | status = "disabled"; | 117 | status = "disabled"; |
114 | }; | 118 | }; |
115 | 119 | ||
@@ -119,6 +123,8 @@ | |||
119 | interrupts = <0 92 4>; | 123 | interrupts = <0 92 4>; |
120 | interrupt-names = "macirq"; | 124 | interrupt-names = "macirq"; |
121 | mac-address = [00 00 00 00 00 00]; | 125 | mac-address = [00 00 00 00 00 00]; |
126 | resets = <&rst EMAC2_RESET>; | ||
127 | reset-names = "stmmaceth"; | ||
122 | status = "disabled"; | 128 | status = "disabled"; |
123 | }; | 129 | }; |
124 | 130 | ||
@@ -127,6 +133,7 @@ | |||
127 | #size-cells = <0>; | 133 | #size-cells = <0>; |
128 | compatible = "snps,dw-apb-gpio"; | 134 | compatible = "snps,dw-apb-gpio"; |
129 | reg = <0xffc03200 0x100>; | 135 | reg = <0xffc03200 0x100>; |
136 | resets = <&rst GPIO0_RESET>; | ||
130 | status = "disabled"; | 137 | status = "disabled"; |
131 | 138 | ||
132 | porta: gpio-controller@0 { | 139 | porta: gpio-controller@0 { |
@@ -146,6 +153,7 @@ | |||
146 | #size-cells = <0>; | 153 | #size-cells = <0>; |
147 | compatible = "snps,dw-apb-gpio"; | 154 | compatible = "snps,dw-apb-gpio"; |
148 | reg = <0xffc03300 0x100>; | 155 | reg = <0xffc03300 0x100>; |
156 | resets = <&rst GPIO1_RESET>; | ||
149 | status = "disabled"; | 157 | status = "disabled"; |
150 | 158 | ||
151 | portb: gpio-controller@0 { | 159 | portb: gpio-controller@0 { |
@@ -166,6 +174,7 @@ | |||
166 | compatible = "snps,designware-i2c"; | 174 | compatible = "snps,designware-i2c"; |
167 | reg = <0xffc02800 0x100>; | 175 | reg = <0xffc02800 0x100>; |
168 | interrupts = <0 103 4>; | 176 | interrupts = <0 103 4>; |
177 | resets = <&rst I2C0_RESET>; | ||
169 | status = "disabled"; | 178 | status = "disabled"; |
170 | }; | 179 | }; |
171 | 180 | ||
@@ -175,6 +184,7 @@ | |||
175 | compatible = "snps,designware-i2c"; | 184 | compatible = "snps,designware-i2c"; |
176 | reg = <0xffc02900 0x100>; | 185 | reg = <0xffc02900 0x100>; |
177 | interrupts = <0 104 4>; | 186 | interrupts = <0 104 4>; |
187 | resets = <&rst I2C1_RESET>; | ||
178 | status = "disabled"; | 188 | status = "disabled"; |
179 | }; | 189 | }; |
180 | 190 | ||
@@ -184,6 +194,7 @@ | |||
184 | compatible = "snps,designware-i2c"; | 194 | compatible = "snps,designware-i2c"; |
185 | reg = <0xffc02a00 0x100>; | 195 | reg = <0xffc02a00 0x100>; |
186 | interrupts = <0 105 4>; | 196 | interrupts = <0 105 4>; |
197 | resets = <&rst I2C2_RESET>; | ||
187 | status = "disabled"; | 198 | status = "disabled"; |
188 | }; | 199 | }; |
189 | 200 | ||
@@ -193,6 +204,7 @@ | |||
193 | compatible = "snps,designware-i2c"; | 204 | compatible = "snps,designware-i2c"; |
194 | reg = <0xffc02b00 0x100>; | 205 | reg = <0xffc02b00 0x100>; |
195 | interrupts = <0 106 4>; | 206 | interrupts = <0 106 4>; |
207 | resets = <&rst I2C3_RESET>; | ||
196 | status = "disabled"; | 208 | status = "disabled"; |
197 | }; | 209 | }; |
198 | 210 | ||
@@ -202,6 +214,7 @@ | |||
202 | compatible = "snps,designware-i2c"; | 214 | compatible = "snps,designware-i2c"; |
203 | reg = <0xffc02c00 0x100>; | 215 | reg = <0xffc02c00 0x100>; |
204 | interrupts = <0 107 4>; | 216 | interrupts = <0 107 4>; |
217 | resets = <&rst I2C4_RESET>; | ||
205 | status = "disabled"; | 218 | status = "disabled"; |
206 | }; | 219 | }; |
207 | 220 | ||
@@ -212,6 +225,8 @@ | |||
212 | reg = <0xff808000 0x1000>; | 225 | reg = <0xff808000 0x1000>; |
213 | interrupts = <0 96 4>; | 226 | interrupts = <0 96 4>; |
214 | fifo-depth = <0x400>; | 227 | fifo-depth = <0x400>; |
228 | resets = <&rst SDMMC_RESET>; | ||
229 | reset-names = "reset"; | ||
215 | status = "disabled"; | 230 | status = "disabled"; |
216 | }; | 231 | }; |
217 | 232 | ||
@@ -293,6 +308,7 @@ | |||
293 | interrupts = <0 108 4>; | 308 | interrupts = <0 108 4>; |
294 | reg-shift = <2>; | 309 | reg-shift = <2>; |
295 | reg-io-width = <4>; | 310 | reg-io-width = <4>; |
311 | resets = <&rst UART0_RESET>; | ||
296 | status = "disabled"; | 312 | status = "disabled"; |
297 | }; | 313 | }; |
298 | 314 | ||
@@ -302,6 +318,7 @@ | |||
302 | interrupts = <0 109 4>; | 318 | interrupts = <0 109 4>; |
303 | reg-shift = <2>; | 319 | reg-shift = <2>; |
304 | reg-io-width = <4>; | 320 | reg-io-width = <4>; |
321 | resets = <&rst UART1_RESET>; | ||
305 | status = "disabled"; | 322 | status = "disabled"; |
306 | }; | 323 | }; |
307 | 324 | ||
@@ -317,6 +334,8 @@ | |||
317 | interrupts = <0 93 4>; | 334 | interrupts = <0 93 4>; |
318 | phys = <&usbphy0>; | 335 | phys = <&usbphy0>; |
319 | phy-names = "usb2-phy"; | 336 | phy-names = "usb2-phy"; |
337 | resets = <&rst USB0_RESET>; | ||
338 | reset-names = "dwc2"; | ||
320 | status = "disabled"; | 339 | status = "disabled"; |
321 | }; | 340 | }; |
322 | 341 | ||
@@ -326,6 +345,8 @@ | |||
326 | interrupts = <0 94 4>; | 345 | interrupts = <0 94 4>; |
327 | phys = <&usbphy0>; | 346 | phys = <&usbphy0>; |
328 | phy-names = "usb2-phy"; | 347 | phy-names = "usb2-phy"; |
348 | resets = <&rst USB1_RESET>; | ||
349 | reset-names = "dwc2"; | ||
329 | status = "disabled"; | 350 | status = "disabled"; |
330 | }; | 351 | }; |
331 | 352 | ||
@@ -333,6 +354,7 @@ | |||
333 | compatible = "snps,dw-wdt"; | 354 | compatible = "snps,dw-wdt"; |
334 | reg = <0xffd00200 0x100>; | 355 | reg = <0xffd00200 0x100>; |
335 | interrupts = <0 117 4>; | 356 | interrupts = <0 117 4>; |
357 | resets = <&rst WATCHDOG0_RESET>; | ||
336 | status = "disabled"; | 358 | status = "disabled"; |
337 | }; | 359 | }; |
338 | 360 | ||
@@ -340,6 +362,7 @@ | |||
340 | compatible = "snps,dw-wdt"; | 362 | compatible = "snps,dw-wdt"; |
341 | reg = <0xffd00300 0x100>; | 363 | reg = <0xffd00300 0x100>; |
342 | interrupts = <0 118 4>; | 364 | interrupts = <0 118 4>; |
365 | resets = <&rst WATCHDOG1_RESET>; | ||
343 | status = "disabled"; | 366 | status = "disabled"; |
344 | }; | 367 | }; |
345 | 368 | ||
@@ -347,6 +370,7 @@ | |||
347 | compatible = "snps,dw-wdt"; | 370 | compatible = "snps,dw-wdt"; |
348 | reg = <0xffd00400 0x100>; | 371 | reg = <0xffd00400 0x100>; |
349 | interrupts = <0 125 4>; | 372 | interrupts = <0 125 4>; |
373 | resets = <&rst WATCHDOG2_RESET>; | ||
350 | status = "disabled"; | 374 | status = "disabled"; |
351 | }; | 375 | }; |
352 | 376 | ||
@@ -354,6 +378,7 @@ | |||
354 | compatible = "snps,dw-wdt"; | 378 | compatible = "snps,dw-wdt"; |
355 | reg = <0xffd00500 0x100>; | 379 | reg = <0xffd00500 0x100>; |
356 | interrupts = <0 126 4>; | 380 | interrupts = <0 126 4>; |
381 | resets = <&rst WATCHDOG3_RESET>; | ||
357 | status = "disabled"; | 382 | status = "disabled"; |
358 | }; | 383 | }; |
359 | }; | 384 | }; |