Lines Matching +full:dsp +full:- +full:uart2 +full:- +full:tx
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
52 #include <dt-bindings/clock/sun20i-d1-ccu.h>
53 #include <dt-bindings/reset/sun20i-d1-ccu.h>
125 CCU_GATE(CLK_BUS_DE, "bus-de", "psi-ahb", 0x60C, 0)
126 CCU_GATE(CLK_BUS_DI, "bus-di", "psi-ahb", 0x62C, 0)
127 CCU_GATE(CLK_BUS_G2D, "bus-g2d", "psi-ahb", 0x63C, 0)
128 CCU_GATE(CLK_BUS_CE, "bus-ce", "psi-ahb", 0x68C, 0)
129 CCU_GATE(CLK_BUS_VE, "bus-ve", "psi-ahb", 0x690, 0)
130 CCU_GATE(CLK_BUS_DMA, "bus-dma", "psi-ahb", 0x70C, 0)
131 CCU_GATE(CLK_BUS_MSGBOX0, "bus-msgbox0", "psi-ahb", 0x71C, 0)
132 CCU_GATE(CLK_BUS_MSGBOX1, "bus-msgbox1", "psi-ahb", 0x71C, 1)
133 CCU_GATE(CLK_BUS_MSGBOX2, "bus-msgbox2", "psi-ahb", 0x71C, 2)
134 CCU_GATE(CLK_BUS_SPINLOCK, "bus-spinlock", "psi-ahb", 0x72C, 0)
135 CCU_GATE(CLK_BUS_HSTIMER, "bus-hstimer", "psi-ahb", 0x73C, 0)
137 CCU_GATE(CLK_BUS_DBG, "bus-dbg", "psi-ahb", 0x78C, 0)
138 CCU_GATE(CLK_BUS_PWM, "bus-pwm", "psi-ahb", 0x7AC, 0)
139 CCU_GATE(CLK_BUS_IOMMU, "bus-iommu", "apb0", 0x7BC, 0)
140 CCU_GATE(CLK_MBUS_DMA, "mbus-dma", "mbus", 0x804, 0)
141 CCU_GATE(CLK_MBUS_VE, "mbus-ve", "mbus", 0x804, 1)
142 CCU_GATE(CLK_MBUS_CE, "mbus-ce", "mbus", 0x804, 2)
143 CCU_GATE(CLK_MBUS_TVIN, "mbus-tvin", "mbus", 0x804, 7)
144 CCU_GATE(CLK_MBUS_CSI, "mbus-csi", "mbus", 0x804, 8)
145 CCU_GATE(CLK_MBUS_G2D, "mbus-g2d", "mbus", 0x804, 10)
146 CCU_GATE(CLK_MBUS_RISCV, "mbus-riscv", "mbus", 0x804, 11)
147 CCU_GATE(CLK_BUS_DRAM, "bus-dram", "psi-ahb", 0x80C, 0)
148 CCU_GATE(CLK_BUS_MMC0, "bus-mmc0", "psi-ahb", 0x84C, 0)
149 CCU_GATE(CLK_BUS_MMC1, "bus-mmc1", "psi-ahb", 0x84C, 1)
150 CCU_GATE(CLK_BUS_MMC2, "bus-mmc2", "psi-ahb", 0x84C, 2)
151 CCU_GATE(CLK_BUS_UART0, "bus-uart0", "apb1", 0x90C, 0)
152 CCU_GATE(CLK_BUS_UART1, "bus-uart1", "apb1", 0x90C, 1)
153 CCU_GATE(CLK_BUS_UART2, "bus-uart2", "apb1", 0x90C, 2)
154 CCU_GATE(CLK_BUS_UART3, "bus-uart3", "apb1", 0x90C, 3)
155 CCU_GATE(CLK_BUS_UART4, "bus-uart4", "apb1", 0x90C, 4)
156 CCU_GATE(CLK_BUS_UART5, "bus-uart5", "apb1", 0x90C, 5)
157 CCU_GATE(CLK_BUS_I2C0, "bus-i2c0", "apb1", 0x91C, 0)
158 CCU_GATE(CLK_BUS_I2C1, "bus-i2c1", "apb1", 0x91C, 1)
159 CCU_GATE(CLK_BUS_I2C2, "bus-i2c2", "apb1", 0x91C, 2)
160 CCU_GATE(CLK_BUS_I2C3, "bus-i2c3", "apb1", 0x91C, 3)
161 CCU_GATE(CLK_BUS_SPI0, "bus-spi0", "psi-ahb", 0x96C, 0)
162 CCU_GATE(CLK_BUS_SPI1, "bus-spi1", "psi-ahb", 0x96C, 1)
163 CCU_GATE(CLK_BUS_EMAC, "bus-emac", "psi-ahb", 0x97C, 0)
164 CCU_GATE(CLK_BUS_IR_TX, "bus-ir-tx", "apb0", 0x9CC, 0)
165 CCU_GATE(CLK_BUS_GPADC, "bus-gpadc", "apb0", 0x9EC, 0)
166 CCU_GATE(CLK_BUS_THS, "bus-ths", "apb0", 0x9FC, 0)
167 CCU_GATE(CLK_BUS_I2S0, "bus-i2s0", "apb0", 0xA10, 0)
168 CCU_GATE(CLK_BUS_I2S1, "bus-i2s1", "apb0", 0xA10, 1)
169 CCU_GATE(CLK_BUS_I2S2, "bus-i2s2", "apb0", 0xA10, 2)
170 CCU_GATE(CLK_BUS_SPDIF, "bus-spdif", "apb0", 0xA2C, 0)
171 CCU_GATE(CLK_BUS_DMIC, "bus-dmic", "apb0", 0xA4C, 0)
172 CCU_GATE(CLK_BUS_AUDIO, "bus-audio", "apb0", 0xA5C, 0)
173 CCU_GATE(CLK_BUS_OHCI0, "bus-ohci0", "psi-ahb", 0xA8C, 0)
174 CCU_GATE(CLK_BUS_OHCI1, "bus-ohci1", "psi-ahb", 0xA8C, 1)
175 CCU_GATE(CLK_BUS_EHCI0, "bus-ehci0", "psi-ahb", 0xA8C, 4)
176 CCU_GATE(CLK_BUS_EHCI1, "bus-ehci1", "psi-ahb", 0xA8C, 5)
177 CCU_GATE(CLK_BUS_OTG, "bus-otg", "psi-ahb", 0xA8C, 8)
178 CCU_GATE(CLK_BUS_LRADC, "bus-lradc", "apb0", 0xA9C, 0)
179 CCU_GATE(CLK_BUS_DPSS_TOP, "bus-dpss-top", "psi-ahb", 0xABC, 0)
180 CCU_GATE(CLK_BUS_MIPI_DSI, "bus-mipi-dsi", "psi-ahb", 0xB4C, 0)
181 CCU_GATE(CLK_BUS_TCON_LCD0, "bus-tcon-lcd0", "psi-ahb", 0xB7C, 0)
182 CCU_GATE(CLK_BUS_TCON_TV, "bus-tcon-tv", "psi-ahb", 0xB9C, 0)
183 CCU_GATE(CLK_BUS_TVE_TOP, "bus-tve-top", "psi-ahb", 0xBBC, 0)
184 CCU_GATE(CLK_BUS_TVE, "bus-tve", "psi-ahb", 0xBBC, 1)
185 CCU_GATE(CLK_BUS_TVD_TOP, "bus-tvd-top", "psi-ahb", 0xBDC, 0)
186 CCU_GATE(CLK_BUS_TVD, "bus-tvd", "psi-ahb", 0xBDC, 1)
187 CCU_GATE(CLK_BUS_LEDC, "bus-ledc", "psi-ahb", 0xBFC, 0)
188 CCU_GATE(CLK_BUS_CSI, "bus-csi", "psi-ahb", 0xC1C, 0)
189 CCU_GATE(CLK_BUS_TPADC, "bus-tpadc", "apb0", 0xC5C, 0)
190 CCU_GATE(CLK_BUS_TZMA, "bus-tzma", "apb0", 0xC6C, 0)
191 CCU_GATE(CLK_BUS_DSP_CFG, "bus-dsp-cfg", "psi-ahb", 0xC7C, 1)
192 CCU_GATE(CLK_BUS_RISCV_CFG, "bus-riscv-cfg", "psi-ahb", 0xD0C, 0)
193 CCU_GATE(CLK_BUS_CAN0, "bus-can0", "apb1", 0x92C, 0)
194 CCU_GATE(CLK_BUS_CAN1, "bus-can1", "apb1", 0x92C, 1)
468 CLK_PSI_AHB, "psi-ahb", psi_ahb_parents, /* id, name, parents */
476 static const char *apb0_parents[] = { "dcxo", "osc32k", "psi-ahb", "pll_periph0" };
486 static const char *apb1_parents[] = { "dcxo", "osc32k", "psi-ahb", "pll_periph0" };
817 CLK_MIPI_DSI, "mipi-dsi", dsi_parents, /* id, name, parents */
828 CLK_TCON_LCD0, "tcon-lcd0", tconlcd_parents, /* id, name, parents */
840 CLK_TCON_TV, "tcon-tv", tcontv_parents, /* id, name, parents */
886 CLK_CSI_TOP, "csi-top", csi_top_parents, /* id, name, parents */
898 "csi-mclk", /* name */
921 CLK_DSP, "dsp", dsp_parents, /* id, name, parents */
1027 if (!ofw_bus_is_compatible(dev, "allwinner,sun20i-d1-ccu")) in ccu_d1_probe()
1041 sc->resets = ccu_d1_resets; in ccu_d1_attach()
1042 sc->nresets = nitems(ccu_d1_resets); in ccu_d1_attach()
1043 sc->gates = ccu_d1_gates; in ccu_d1_attach()
1044 sc->ngates = nitems(ccu_d1_gates); in ccu_d1_attach()
1045 sc->clks = ccu_d1_clks; in ccu_d1_attach()
1046 sc->nclks = nitems(ccu_d1_clks); in ccu_d1_attach()