Lines Matching +full:sun50i +full:- +full:h6 +full:- +full:ccu
1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
19 #include "ccu-sun50i-h6-r.h"
27 "iosc", "pll-periph0" };
53 static CLK_FIXED_FACTOR_HW(r_ahb_clk, "r-ahb", &ar100_clk.common.hw, 1, 1, 0);
55 static SUNXI_CCU_M(r_apb1_clk, "r-apb1", "r-ahb", 0x00c, 0, 2, 0);
71 .hw.init = CLK_HW_INIT_PARENTS("r-apb2",
82 * "Allwinner H6 V200 User Manual V1.1"; and the parent APB buses are verified
85 static SUNXI_CCU_GATE(r_apb1_timer_clk, "r-apb1-timer", "r-apb1",
87 static SUNXI_CCU_GATE(r_apb1_twd_clk, "r-apb1-twd", "r-apb1",
89 static SUNXI_CCU_GATE(r_apb1_pwm_clk, "r-apb1-pwm", "r-apb1",
91 static SUNXI_CCU_GATE(r_apb2_uart_clk, "r-apb2-uart", "r-apb2",
93 static SUNXI_CCU_GATE(r_apb2_i2c_clk, "r-apb2-i2c", "r-apb2",
95 static SUNXI_CCU_GATE(r_apb2_rsb_clk, "r-apb2-rsb", "r-apb2",
97 static SUNXI_CCU_GATE(r_apb1_ir_clk, "r-apb1-ir", "r-apb1",
99 static SUNXI_CCU_GATE(r_apb1_w1_clk, "r-apb1-w1", "r-apb1",
101 static SUNXI_CCU_GATE(r_apb1_rtc_clk, "r-apb1-rtc", "r-apb1",
115 * BSP didn't use the 1-wire function at all now, and the information about
118 * by contents in the 1-wire related chapter of the User Manual.
225 desc = of_device_get_match_data(&pdev->dev); in sun50i_h6_r_ccu_probe()
227 return -EINVAL; in sun50i_h6_r_ccu_probe()
233 return devm_sunxi_ccu_probe(&pdev->dev, reg, desc); in sun50i_h6_r_ccu_probe()
238 .compatible = "allwinner,sun50i-h6-r-ccu",
242 .compatible = "allwinner,sun50i-h616-r-ccu",
252 .name = "sun50i-h6-r-ccu",
260 MODULE_DESCRIPTION("Support for the Allwinner H6 and H616 PRCM CCU");