|
44 | 44 |
|
45 | 45 | #include <dt-bindings/interrupt-controller/arm-gic.h>
|
46 | 46 |
|
| 47 | +#include <dt-bindings/clock/sun8i-a83t-ccu.h> |
47 | 48 | #include <dt-bindings/clock/sun8i-r-ccu.h>
|
| 49 | +#include <dt-bindings/reset/sun8i-a83t-ccu.h> |
48 | 50 |
|
49 | 51 | / {
|
50 | 52 | interrupt-parent = <&gic>;
|
|
175 | 177 | compatible = "allwinner,sun8i-a83t-dma";
|
176 | 178 | reg = <0x01c02000 0x1000>;
|
177 | 179 | interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
|
178 |
| - clocks = <&ccu 21>; |
179 |
| - resets = <&ccu 7>; |
| 180 | + clocks = <&ccu CLK_BUS_DMA>; |
| 181 | + resets = <&ccu RST_BUS_DMA>; |
180 | 182 | #dma-cells = <1>;
|
181 | 183 | };
|
182 | 184 |
|
|
195 | 197 | <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
|
196 | 198 | <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
|
197 | 199 | reg = <0x01c20800 0x400>;
|
198 |
| - clocks = <&ccu 45>, <&osc24M>, <&osc16Md512>; |
| 200 | + clocks = <&ccu CLK_BUS_PIO>, <&osc24M>, <&osc16Md512>; |
199 | 201 | clock-names = "apb", "hosc", "losc";
|
200 | 202 | gpio-controller;
|
201 | 203 | interrupt-controller;
|
|
247 | 249 | "allwinner,sun8i-h3-spdif";
|
248 | 250 | reg = <0x01c21000 0x400>;
|
249 | 251 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
|
250 |
| - clocks = <&ccu 44>, <&ccu 76>; |
251 |
| - resets = <&ccu 32>; |
| 252 | + clocks = <&ccu CLK_BUS_SPDIF>, <&ccu CLK_SPDIF>; |
| 253 | + resets = <&ccu RST_BUS_SPDIF>; |
252 | 254 | clock-names = "apb", "spdif";
|
253 | 255 | dmas = <&dma 2>;
|
254 | 256 | dma-names = "tx";
|
|
263 | 265 | interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
|
264 | 266 | reg-shift = <2>;
|
265 | 267 | reg-io-width = <4>;
|
266 |
| - clocks = <&ccu 53>; |
267 |
| - resets = <&ccu 40>; |
| 268 | + clocks = <&ccu CLK_BUS_UART0>; |
| 269 | + resets = <&ccu RST_BUS_UART0>; |
268 | 270 | status = "disabled";
|
269 | 271 | };
|
270 | 272 |
|
|
0 commit comments