Searched +full:sg2042 +full:- +full:clkgen (Results 1 – 5 of 5) sorted by relevance
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | sg2042.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/clock/sophgo,sg2042-clkgen.h> 8 #include <dt-bindings/clock/sophgo,sg2042-pll.h> 9 #include <dt-bindings/clock/sophgo,sg2042-rpgate.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/reset/sophgo,sg2042-reset.h> 13 #include "sg2042-cpus.dtsi" 16 compatible = "sophgo,sg2042"; 17 #address-cells = <2>; [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | sophgo,sg2042-clkgen.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/sophgo,sg2042-clkgen.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sophgo SG2042 Clock Generator for divider/mux/gate 10 - Chen Wang <unicorn_wang@outlook.com> 14 const: sophgo,sg2042-clkgen 21 - description: Main PLL 22 - description: Fixed PLL 23 - description: DDR PLL 0 [all …]
|
H A D | sophgo,sg2042-rpgate.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/sophgo,sg2042-rpgate.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sophgo SG2042 Gate Clock Generator for RP(riscv processors) subsystem 10 - Chen Wang <unicorn_wang@outlook.com> 14 const: sophgo,sg2042-rpgate 21 - description: Gate clock for RP subsystem 23 clock-names: 25 - const: rpgate [all …]
|
/linux/drivers/clk/sophgo/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_CLK_SOPHGO_CV1800) += clk-sophgo-cv1800.o 4 clk-sophgo-cv1800-y += clk-cv1800.o 5 clk-sophgo-cv1800-y += clk-cv18xx-common.o 6 clk-sophgo-cv1800-y += clk-cv18xx-ip.o 7 clk-sophgo-cv1800-y += clk-cv18xx-pll.o 9 obj-$(CONFIG_CLK_SOPHGO_SG2042_CLKGEN) += clk-sg2042-clkgen.o 10 obj-$(CONFIG_CLK_SOPHGO_SG2042_PLL) += clk-sg2042-pll.o 11 obj-$(CONFIG_CLK_SOPHGO_SG2042_RPGATE) += clk-sg2042-rpgate.o
|
H A D | clk-sg2042-clkgen.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Sophgo SG2042 Clock Generator Driver 12 #include <linux/clk-provider.h> 17 #include <dt-bindings/clock/sophgo,sg2042-clkgen.h> 19 #include "clk-sg2042.h" 23 #define R_PLL_STAT (0xC0 - R_PLL_BEGIN) 24 #define R_PLL_CLKEN_CONTROL (0xC4 - R_PLL_BEGIN) 25 #define R_MPLL_CONTROL (0xE8 - R_PLL_BEGIN) 26 #define R_FPLL_CONTROL (0xF4 - R_PLL_BEGIN) 27 #define R_DPLL0_CONTROL (0xF8 - R_PLL_BEGIN) [all …]
|