Lines Matching +full:0 +full:x2d0
52 #define CLK_OSC_12M 0
84 CCU_RESET(RST_USB_PHY0, 0x0cc, 0)
85 CCU_RESET(RST_USB_PHY1, 0x0cc, 1)
86 CCU_RESET(RST_USB_HSIC, 0x0cc, 2)
88 CCU_RESET(RST_BUS_MIPI_DSI, 0x2c0, 1)
89 CCU_RESET(RST_BUS_CE, 0x2c0, 5)
90 CCU_RESET(RST_BUS_DMA, 0x2c0, 6)
91 CCU_RESET(RST_BUS_MMC0, 0x2c0, 8)
92 CCU_RESET(RST_BUS_MMC1, 0x2c0, 9)
93 CCU_RESET(RST_BUS_MMC2, 0x2c0, 10)
94 CCU_RESET(RST_BUS_NAND, 0x2c0, 13)
95 CCU_RESET(RST_BUS_DRAM, 0x2c0, 14)
96 CCU_RESET(RST_BUS_EMAC, 0x2c0, 17)
97 CCU_RESET(RST_BUS_TS, 0x2c0, 18)
98 CCU_RESET(RST_BUS_HSTIMER, 0x2c0, 19)
99 CCU_RESET(RST_BUS_SPI0, 0x2c0, 20)
100 CCU_RESET(RST_BUS_SPI1, 0x2c0, 21)
101 CCU_RESET(RST_BUS_OTG, 0x2c0, 23)
102 CCU_RESET(RST_BUS_EHCI0, 0x2c0, 24)
103 CCU_RESET(RST_BUS_EHCI1, 0x2c0, 25)
104 CCU_RESET(RST_BUS_OHCI0, 0x2c0, 28)
105 CCU_RESET(RST_BUS_OHCI1, 0x2c0, 29)
107 CCU_RESET(RST_BUS_VE, 0x2c4, 0)
108 CCU_RESET(RST_BUS_TCON0, 0x2c4, 3)
109 CCU_RESET(RST_BUS_TCON1, 0x2c4, 4)
110 CCU_RESET(RST_BUS_DEINTERLACE, 0x2c4, 5)
111 CCU_RESET(RST_BUS_CSI, 0x2c4, 8)
112 CCU_RESET(RST_BUS_HDMI0, 0x2c4, 10)
113 CCU_RESET(RST_BUS_HDMI1, 0x2c4, 11)
114 CCU_RESET(RST_BUS_DE, 0x2c4, 12)
115 CCU_RESET(RST_BUS_GPU, 0x2c4, 20)
116 CCU_RESET(RST_BUS_MSGBOX, 0x2c4, 21)
117 CCU_RESET(RST_BUS_SPINLOCK, 0x2c4, 22)
118 CCU_RESET(RST_BUS_DBG, 0x2c4, 31)
120 CCU_RESET(RST_BUS_LVDS, 0x2C8, 31)
122 CCU_RESET(RST_BUS_CODEC, 0x2D0, 0)
123 CCU_RESET(RST_BUS_SPDIF, 0x2D0, 1)
124 CCU_RESET(RST_BUS_THS, 0x2D0, 8)
125 CCU_RESET(RST_BUS_I2S0, 0x2D0, 12)
126 CCU_RESET(RST_BUS_I2S1, 0x2D0, 13)
127 CCU_RESET(RST_BUS_I2S2, 0x2D0, 14)
129 CCU_RESET(RST_BUS_I2C0, 0x2D8, 0)
130 CCU_RESET(RST_BUS_I2C1, 0x2D8, 1)
131 CCU_RESET(RST_BUS_I2C2, 0x2D8, 2)
132 CCU_RESET(RST_BUS_SCR, 0x2D8, 5)
133 CCU_RESET(RST_BUS_UART0, 0x2D8, 16)
134 CCU_RESET(RST_BUS_UART1, 0x2D8, 17)
135 CCU_RESET(RST_BUS_UART2, 0x2D8, 18)
136 CCU_RESET(RST_BUS_UART3, 0x2D8, 19)
137 CCU_RESET(RST_BUS_UART4, 0x2D8, 20)
141 CCU_GATE(CLK_BUS_MIPI_DSI, "bus-mipi-dsi", "ahb1", 0x60, 1)
142 CCU_GATE(CLK_BUS_CE, "bus-ce", "ahb1", 0x60, 5)
143 CCU_GATE(CLK_BUS_DMA, "bus-dma", "ahb1", 0x60, 6)
144 CCU_GATE(CLK_BUS_MMC0, "bus-mmc0", "ahb1", 0x60, 8)
145 CCU_GATE(CLK_BUS_MMC1, "bus-mmc1", "ahb1", 0x60, 9)
146 CCU_GATE(CLK_BUS_MMC2, "bus-mmc2", "ahb1", 0x60, 10)
147 CCU_GATE(CLK_BUS_NAND, "bus-nand", "ahb1", 0x60, 13)
148 CCU_GATE(CLK_BUS_DRAM, "bus-dram", "ahb1", 0x60, 14)
149 CCU_GATE(CLK_BUS_EMAC, "bus-emac", "ahb2", 0x60, 16)
150 CCU_GATE(CLK_BUS_TS, "bus-ts", "ahb1", 0x60, 18)
151 CCU_GATE(CLK_BUS_HSTIMER, "bus-hstimer", "ahb1", 0x60, 19)
152 CCU_GATE(CLK_BUS_SPI0, "bus-spi0", "ahb1", 0x60, 20)
153 CCU_GATE(CLK_BUS_SPI1, "bus-spi1", "ahb1", 0x60, 21)
154 CCU_GATE(CLK_BUS_OTG, "bus-otg", "ahb1", 0x60, 23)
155 CCU_GATE(CLK_BUS_EHCI0, "bus-ehci0", "ahb1", 0x60, 24)
156 CCU_GATE(CLK_BUS_EHCI1, "bus-ehci1", "ahb2", 0x60, 25)
157 CCU_GATE(CLK_BUS_OHCI0, "bus-ohci0", "ahb1", 0x60, 28)
158 CCU_GATE(CLK_BUS_OHCI1, "bus-ohci1", "ahb2", 0x60, 29)
160 CCU_GATE(CLK_BUS_VE, "bus-ve", "ahb1", 0x64, 0)
161 CCU_GATE(CLK_BUS_TCON0, "bus-tcon0", "ahb1", 0x64, 3)
162 CCU_GATE(CLK_BUS_TCON1, "bus-tcon1", "ahb1", 0x64, 4)
163 CCU_GATE(CLK_BUS_DEINTERLACE, "bus-deinterlace", "ahb1", 0x64, 5)
164 CCU_GATE(CLK_BUS_CSI, "bus-csi", "ahb1", 0x64, 8)
165 CCU_GATE(CLK_BUS_HDMI, "bus-hdmi", "ahb1", 0x64, 11)
166 CCU_GATE(CLK_BUS_DE, "bus-de", "ahb1", 0x64, 12)
167 CCU_GATE(CLK_BUS_GPU, "bus-gpu", "ahb1", 0x64, 20)
168 CCU_GATE(CLK_BUS_MSGBOX, "bus-msgbox", "ahb1", 0x64, 21)
169 CCU_GATE(CLK_BUS_SPINLOCK, "bus-spinlock", "ahb1", 0x64, 22)
171 CCU_GATE(CLK_BUS_CODEC, "bus-codec", "apb1", 0x68, 0)
172 CCU_GATE(CLK_BUS_SPDIF, "bus-spdif", "apb1", 0x68, 1)
173 CCU_GATE(CLK_BUS_PIO, "bus-pio", "apb1", 0x68, 5)
174 CCU_GATE(CLK_BUS_THS, "bus-ths", "apb1", 0x68, 8)
175 CCU_GATE(CLK_BUS_I2S0, "bus-i2s0", "apb1", 0x68, 12)
176 CCU_GATE(CLK_BUS_I2S1, "bus-i2s1", "apb1", 0x68, 13)
177 CCU_GATE(CLK_BUS_I2S2, "bus-i2s2", "apb1", 0x68, 14)
179 CCU_GATE(CLK_BUS_I2C0, "bus-i2c0", "apb2", 0x6C, 0)
180 CCU_GATE(CLK_BUS_I2C1, "bus-i2c1", "apb2", 0x6C, 1)
181 CCU_GATE(CLK_BUS_I2C2, "bus-i2c2", "apb2", 0x6C, 2)
182 CCU_GATE(CLK_BUS_SCR, "bus-src", "apb2", 0x6C, 5)
183 CCU_GATE(CLK_BUS_UART0, "bus-uart0", "apb2", 0x6C, 16)
184 CCU_GATE(CLK_BUS_UART1, "bus-uart1", "apb2", 0x6C, 17)
185 CCU_GATE(CLK_BUS_UART2, "bus-uart2", "apb2", 0x6C, 18)
186 CCU_GATE(CLK_BUS_UART3, "bus-uart3", "apb2", 0x6C, 19)
187 CCU_GATE(CLK_BUS_UART4, "bus-uart4", "apb2", 0x6C, 20)
189 CCU_GATE(CLK_BUS_DBG, "bus-dbg", "ahb1", 0x70, 7)
191 CCU_GATE(CLK_THS, "ths", "thsdiv", 0x74, 31)
193 CCU_GATE(CLK_USB_PHY0, "usb-phy0", "osc24M", 0xcc, 8)
194 CCU_GATE(CLK_USB_PHY1, "usb-phy1", "osc24M", 0xcc, 9)
195 CCU_GATE(CLK_USB_HSIC, "usb-hsic", "pll_hsic", 0xcc, 10)
196 CCU_GATE(CLK_USB_HSIC_12M, "usb-hsic-12M", "osc12M", 0xcc, 11)
197 CCU_GATE(CLK_USB_OHCI0, "usb-ohci0", "osc12M", 0xcc, 16)
198 CCU_GATE(CLK_USB_OHCI1, "usb-ohci1", "usb-ohci0", 0xcc, 17)
200 CCU_GATE(CLK_DRAM_VE, "dram-ve", "dram", 0x100, 0)
201 CCU_GATE(CLK_DRAM_CSI, "dram-csi", "dram", 0x100, 1)
202 CCU_GATE(CLK_DRAM_DEINTERLACE, "dram-deinterlace", "dram", 0x100, 2)
203 CCU_GATE(CLK_DRAM_TS, "dram-ts", "dram", 0x100, 3)
205 CCU_GATE(CLK_CSI_MISC, "csi-misc", "osc24M", 0x130, 31)
207 CCU_GATE(CLK_AC_DIG_4X, "ac-dig-4x", "pll_audio-4x", 0x140, 30)
208 CCU_GATE(CLK_AC_DIG, "ac-dig", "pll_audio", 0x140, 31)
210 CCU_GATE(CLK_AVS, "avs", "osc24M", 0x144, 31)
212 CCU_GATE(CLK_HDMI_DDC, "hdmi-ddc", "osc24M", 0x154, 31)
220 0, /* freq */
223 0); /* flags */
229 0x00, /* offset */
230 8, 5, 0, 0, /* n factor */
231 4, 2, 0, 0, /* k factor */
232 0, 2, 0, 0, /* m factor */
233 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* p factor */
242 0x08, /* offset */
243 8, 7, 0, 0, /* n factor */
244 0, 0, 1, AW_CLK_FACTOR_FIXED, /* k factor (fake) */
245 0, 5, 0, 0, /* m factor */
246 16, 4, 0, 0, /* p factor */
256 0, /* freq */
259 0); /* flags */
264 0, /* freq */
267 0); /* flags */
272 0, /* freq */
275 0); /* flags */
281 0x10, /* offset */
282 8, 7, 0, 0, /* n factor */
283 0, 4, 0, 0, /* m factor */
294 0, /* freq */
297 0); /* flags */
303 0x18, /* offset */
304 8, 7, 0, 0, /* n factor */
305 0, 4, 0, 0, /* m factor */
316 0x20, /* offset */
317 8, 5, 0, 0, /* n factor */
318 4, 2, 0, 0, /* k factor */
319 0, 2, 0, 0, /* m factor */
320 0, 0, 1, AW_CLK_FACTOR_FIXED, /* p factor (fake) */
331 0x28, /* offset */
332 8, 5, 0, 0, /* n factor */
333 4, 2, 0, 0, /* k factor */
334 0, 0, 2, AW_CLK_FACTOR_FIXED, /* m factor (fake) */
335 0, 0, 1, AW_CLK_FACTOR_FIXED, /* p factor (fake) */
343 0, /* freq */
346 0); /* flags */
353 0x2C, /* offset */
354 8, 5, 0, 0, /* n factor */
355 4, 2, 0, 0, /* k factor */
356 0, 0, 2, AW_CLK_FACTOR_FIXED, /* m factor (fake) */
357 0, 0, 1, AW_CLK_FACTOR_FIXED, /* p factor (fake) */
365 0, /* freq */
368 0); /* flags */
374 0x30, /* offset */
375 8, 7, 0, 0, /* n factor */
376 0, 4, 0, 0, /* m factor */
387 0x38, /* offset */
388 8, 7, 0, 0, /* n factor */
389 0, 4, 0, 0, /* m factor */
400 0x40,
402 0, 3,
410 0x44, /* offset */
411 8, 7, 0, 0, /* n factor */
412 0, 4, 0, 0, /* m factor */
423 0x48, /* offset */
424 8, 7, 0, 0, /* n factor */
425 0, 4, 0, 0, /* m factor */
436 0x4C, /* offset */
437 8, 7, 0, 0, /* n factor */
438 0, 0, 1, AW_CLK_FACTOR_FIXED, /* k factor (fake) */
439 0, 2, 0, 0, /* m factor */
440 0, 0, 1, AW_CLK_FACTOR_FIXED, /* p factor (fake) */
450 0x50, 16, 2); /* offset, shift, width */
456 0x50, /* offset */
457 0, 2, /* shift, width */
458 0, NULL); /* flags, div table */
464 0x50, /* offset */
466 0, NULL); /* flags, div table */
471 0x54, /* offset */
473 4, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* div */
474 6, 2, 0, AW_CLK_FACTOR_HAS_COND, /* prediv */
479 { .value = 0, .divider = 2, },
488 0x54, /* offset */
497 0x58, /* offset */
498 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* n factor */
499 0, 5, 0, 0, /* m factor */
501 0, /* gate */
507 0x5c, /* offset */
508 0, 2, /* mux */
509 0, 0, 1, AW_CLK_FACTOR_FIXED, /* div */
510 0, 0, 2, AW_CLK_FACTOR_HAS_COND | AW_CLK_FACTOR_FIXED, /* prediv */
511 0, 2, 1); /* prediv condition */
515 { .value = 0, .divider = 1, },
522 0, /* id */
524 0x74, /* offset */
525 0, 2, /* div shift, div width */
532 0x80, /* offset */
533 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* n factor */
534 0, 4, 0, 0, /* m factor */
541 0x88, /* offset */
542 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* n factor */
543 0, 4, 0, 0, /* m factor */
551 0x8c, /* offset */
552 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* n factor */
553 0, 4, 0, 0, /* m factor */
561 0x90, /* offset */
562 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* n factor */
563 0, 4, 0, 0, /* m factor */
572 0x98, /* offset */
573 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* n factor */
574 0, 4, 0, 0, /* m factor */
581 0x9C, /* offset */
582 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* n factor */
583 0, 4, 0, 0, /* m factor */
590 0xA0, /* offset */
591 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* n factor */
592 0, 4, 0, 0, /* m factor */
600 0xA4, /* offset */
601 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* n factor */
602 0, 4, 0, 0, /* m factor */
610 0, "i2s0mux", i2s_parents, /* id, name, parents */
611 0xb0, 16, 2); /* offset, mux shift, mux width */
613 0, "i2s1mux", i2s_parents, /* id, name, parents */
614 0xb4, 16, 2); /* offset, mux shift, mux width */
616 0, "i2s2mux", i2s_parents, /* id, name, parents */
617 0xb8, 16, 2); /* offset, mux shift, mux width */
622 0xC0, /* offset */
623 0, 4, 0, 0, /* m factor */
624 0, 0, /* mux */
634 0xF4, /* offset */
635 0, 2, 0, 0, /* m factor */
637 0, /* gate */
643 0x104, /* offset */
644 0, 4, 0, 0, /* m factor */
653 0x118, 24, 2); /* offset, shift, width */
658 0x11C, /* offset */
659 0, 5, 0, 0, /* m factor */
668 0x124, /* offset */
669 0, 4, 0, 0, /* m factor */
677 0x134, /* offset */
678 16, 4, 0, 0, /* m factor */
686 0x134, /* offset */
687 0, 4, 0, 0, /* m factor */
695 0x13C, /* offset */
696 16, 3, 0, 0, /* m factor */
697 0, 0, /* mux */
704 0x150, /* offset */
705 0, 4, 0, 0, /* m factor */
713 0x15C, /* offset */
714 0, 3, 0, 0, /* m factor */
722 0x1A0, /* offset */
723 0, 2, 0, 0, /* m factor */
724 0, 0, /* mux */
784 {"ahb1", "pll_periph0", 0, false},
785 {"ahb2", "pll_periph0", 0, false},
786 {"dram", "pll_ddr0", 0, false},
788 {"de", "pll_de", 0, true},
835 EARLY_DRIVER_MODULE(ccu_a64ng, simplebus, ccu_a64ng_driver, 0, 0,