/linux/drivers/pci/controller/dwc/ |
H A D | pcie-sophgo.c | 3 * Sophgo DesignWare based PCIe host controller driver 34 static int sophgo_pcie_readl_app(struct sophgo_pcie *sophgo, u32 reg) in sophgo_pcie_readl_app() argument 36 return readl_relaxed(sophgo->app_base + reg); in sophgo_pcie_readl_app() 39 static void sophgo_pcie_writel_app(struct sophgo_pcie *sophgo, u32 val, u32 reg) in sophgo_pcie_writel_app() argument 41 writel_relaxed(val, sophgo->app_base + reg); in sophgo_pcie_writel_app() 49 struct sophgo_pcie *sophgo = to_sophgo_pcie(pci); in sophgo_pcie_intx_handler() local 54 reg = sophgo_pcie_readl_app(sophgo, PCIE_INT_SIGNAL); in sophgo_pcie_intx_handler() 58 generic_handle_domain_irq(sophgo->irq_domain, hwirq); in sophgo_pcie_intx_handler() 67 struct sophgo_pcie *sophgo = to_sophgo_pcie(pci); in sophgo_intx_irq_mask() local 73 val = sophgo_pcie_readl_app(sophgo, PCIE_INT_EN); in sophgo_intx_irq_mask() [all …]
|
/linux/Documentation/devicetree/bindings/soc/sophgo/ |
H A D | sophgo.yaml | 4 $id: http://devicetree.org/schemas/soc/sophgo/sophgo.yaml# 7 title: Sophgo SoC-based boards 10 - Chao Wei <chao.wei@sophgo.com> 14 Sophgo SoC-based boards 24 - const: sophgo,cv1800b 27 - sophgo,huashan-pi 28 - const: sophgo,cv1812h 33 - const: sophgo,sg2000 38 - const: sophgo,sg2002 42 - sophgo,sg2042-evb-v1 [all …]
|
H A D | sophgo,sg2044-top-syscon.yaml | 4 $id: http://devicetree.org/schemas/soc/sophgo/sophgo,sg2044-top-syscon.yaml# 7 title: Sophgo SG2044 SoC TOP system controller 13 The Sophgo SG2044 TOP system controller is a hardware block grouping 20 - const: sophgo,sg2044-top-syscon 32 See <dt-bindings/clock/sophgo,sg2044-pll.h> for valid clock. 45 compatible = "sophgo,sg2044-top-syscon", "syscon";
|
/linux/drivers/clk/sophgo/ |
H A D | Kconfig | 2 # common clock support for SOPHGO SoC family. 5 tristate "Support for the Sophgo CV1800 series SoCs clock controller" 8 This driver supports clock controller of Sophgo CV18XX series SoC. 14 tristate "Sophgo SG2042 PLL clock support" 18 Sophgo SG2042 SoC. This clock IP uses three oscillators with 23 tristate "Sophgo SG2042 Clock Generator support" 27 Sophgo SG2042 SoC. This clock IP depends on SG2042 PLL clock 32 tristate "Sophgo SG2042 RP subsystem clock controller support" 36 controller on the Sophgo SG2042 SoC. 42 tristate "Sophgo SG2044 clock controller support" [all …]
|
H A D | Makefile | 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
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | sophgo,cv1800-clk.yaml | 4 $id: http://devicetree.org/schemas/clock/sophgo,cv1800-clk.yaml# 7 title: Sophgo CV1800/SG2000 Series Clock Controller 16 - sophgo,cv1800b-clk 17 - sophgo,cv1812h-clk 18 - sophgo,sg2000-clk 20 - const: sophgo,sg2002-clk 21 - const: sophgo,sg2000-clk 22 - const: sophgo,cv1800-clk 24 - const: sophgo,cv1810-clk 36 See <dt-bindings/clock/sophgo,cv1800.h> for valid indices. [all …]
|
H A D | sophgo,sg2044-clk.yaml | 4 $id: http://devicetree.org/schemas/clock/sophgo,sg2044-clk.yaml# 7 title: Sophgo SG2044 Clock Controller 13 The Sophgo SG2044 clock controller requires an external oscillator 17 include/dt-bindings/clock/sophgo,sg2044-clk.h 21 const: sophgo,sg2044-clk 79 #include <dt-bindings/clock/sophgo,sg2044-pll.h> 82 compatible = "sophgo,sg2044-clk";
|
H A D | sophgo,sg2042-rpgate.yaml | 4 $id: http://devicetree.org/schemas/clock/sophgo,sg2042-rpgate.yaml# 7 title: Sophgo SG2042 Gate Clock Generator for RP(riscv processors) subsystem 14 const: sophgo,sg2042-rpgate 30 See <dt-bindings/clock/sophgo,sg2042-rpgate.h> for valid indices. 44 compatible = "sophgo,sg2042-rpgate";
|
H A D | sophgo,sg2042-pll.yaml | 4 $id: http://devicetree.org/schemas/clock/sophgo,sg2042-pll.yaml# 7 title: Sophgo SG2042 PLL Clock Generator 14 const: sophgo,sg2042-pll 34 See <dt-bindings/clock/sophgo,sg2042-pll.h> for valid indices. 48 compatible = "sophgo,sg2042-pll";
|
H A D | sophgo,sg2042-clkgen.yaml | 4 $id: http://devicetree.org/schemas/clock/sophgo,sg2042-clkgen.yaml# 7 title: Sophgo SG2042 Clock Generator for divider/mux/gate 14 const: sophgo,sg2042-clkgen 36 See <dt-bindings/clock/sophgo,sg2042-clkgen.h> for valid indices. 50 compatible = "sophgo,sg2042-clkgen";
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | sg2042.dtsi | 3 * Copyright (C) 2022 Sophgo Technology Inc. All rights reserved. 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> 12 #include <dt-bindings/reset/sophgo,sg2042-reset.h> 17 compatible = "sophgo,sg2042"; 170 compatible = "sophgo,sg2042-pwm"; 179 compatible = "sophgo,sg2042-pll"; 187 compatible = "sophgo,sg2042-msi"; 197 compatible = "sophgo,sg2042-rpgate"; [all …]
|
H A D | sg2044.dtsi | 6 #include <dt-bindings/clock/sophgo,sg2044-pll.h> 7 #include <dt-bindings/clock/sophgo,sg2044-clk.h> 16 compatible = "sophgo,sg2044"; 36 compatible = "sophgo,sg2044-pcie"; 71 compatible = "sophgo,sg2044-pcie"; 106 compatible = "sophgo,sg2044-pcie"; 141 compatible = "sophgo,sg2044-pcie"; 176 compatible = "sophgo,sg2044-pcie"; 211 compatible = "sophgo,sg2044-msi"; 222 compatible = "sophgo,sg2044-spifmc-nor"; [all …]
|
H A D | sg2002.dtsi | 15 compatible = "sophgo,sg2002"; 27 compatible = "sophgo,sg2002-pinctrl"; 34 compatible = "sophgo,sg2002-clk", "sophgo,sg2000-clk"; 41 compatible = "sophgo,sg2002-plic", "thead,c900-plic"; 51 compatible = "sophgo,sg2002-clint", "thead,c900-clint"; 59 compatible = "sophgo,sg2002-dwcmshc";
|
H A D | cv1800b.dtsi | 13 compatible = "sophgo,cv1800b"; 25 compatible = "sophgo,cv1800b-pinctrl"; 32 compatible = "sophgo,cv1800b-clk"; 39 compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; 49 compatible = "sophgo,cv1800b-clint", "thead,c900-clint";
|
H A D | cv1812h.dtsi | 15 compatible = "sophgo,cv1812h"; 27 compatible = "sophgo,cv1812h-pinctrl"; 34 compatible = "sophgo,cv1812h-clk"; 41 compatible = "sophgo,cv1812h-plic", "thead,c900-plic"; 51 compatible = "sophgo,cv1812h-clint", "thead,c900-clint";
|
/linux/Documentation/devicetree/bindings/reset/ |
H A D | sophgo,sg2042-reset.yaml | 4 $id: http://devicetree.org/schemas/reset/sophgo,sg2042-reset.yaml# 7 title: Sophgo SG2042 SoC Reset Controller 17 - sophgo,sg2044-reset 18 - const: sophgo,sg2042-reset 20 - sophgo,cv1800b-reset 21 - sophgo,sg2042-reset 39 compatible = "sophgo,sg2042-reset";
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | sophgo,cv1800-pinctrl.yaml | 4 $id: http://devicetree.org/schemas/pinctrl/sophgo,cv1800-pinctrl.yaml# 7 title: Sophgo CV1800 Pin Controller 15 - sophgo,cv1800b-pinctrl 16 - sophgo,cv1812h-pinctrl 17 - sophgo,sg2000-pinctrl 18 - sophgo,sg2002-pinctrl 51 refer to https://github.com/sophgo/sophgo-doc/. 104 compatible = "sophgo,cv1800b-pinctrl";
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | sophgo,cv1800b-rtc.yaml | 4 $id: http://devicetree.org/schemas/rtc/sophgo,cv1800b-rtc.yaml# 7 title: Real Time Clock of the Sophgo CV1800 SoC 22 https://github.com/sophgo/sophgo-doc/tree/main/SG200X/TRM 25 - sophgo@lists.linux.dev 33 - const: sophgo,cv1800b-rtc 73 #include <dt-bindings/clock/sophgo,cv1800.h> 77 compatible = "sophgo,cv1800b-rtc", "syscon";
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | sophgo,cv1800b-saradc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/sophgo,cv1800b-saradc.yaml# 8 Sophgo CV1800B SoC 3 channels Successive Approximation Analog to 15 Datasheet at https://github.com/sophgo/sophgo-doc/releases 19 const: sophgo,cv1800b-saradc 62 #include <dt-bindings/clock/sophgo,cv1800.h> 65 compatible = "sophgo,cv1800b-saradc";
|
/linux/drivers/soc/sophgo/ |
H A D | Kconfig | 3 # Sophgo SoC drivers 7 menu "Sophgo SoC drivers" 10 tristate "Sophgo CV1800 RTC MFD" 13 If you say yes here you get support the RTC MFD driver for Sophgo 23 tristate "Sophgo SG2044 TOP syscon driver" 26 This is the core driver for the Sophgo SG2044 TOP system
|
/linux/Documentation/devicetree/bindings/pwm/ |
H A D | sophgo,sg2042-pwm.yaml | 4 $id: http://devicetree.org/schemas/pwm/sophgo,sg2042-pwm.yaml# 7 title: Sophgo SG2042 PWM controller 21 - sophgo,sg2042-pwm 22 - sophgo,sg2044-pwm 51 #include <dt-bindings/reset/sophgo,sg2042-reset.h> 54 compatible = "sophgo,sg2042-pwm";
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | sophgo,sg2042-msi.yaml | 4 $id: http://devicetree.org/schemas/interrupt-controller/sophgo,sg2042-msi.yaml# 7 title: Sophgo SG2042 MSI Controller 13 This interrupt controller is in Sophgo SG2042 for transforming interrupts from 22 - sophgo,sg2042-msi 23 - sophgo,sg2044-msi 57 compatible = "sophgo,sg2042-msi";
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | sophgo,sg2044-dwmac.yaml | 4 $id: http://devicetree.org/schemas/net/sophgo,sg2044-dwmac.yaml# 7 title: Sophgo SG2044 DWMAC glue layer 17 - sophgo,sg2044-dwmac 18 - sophgo,sg2042-dwmac 26 - const: sophgo,sg2042-dwmac 29 - const: sophgo,sg2044-dwmac 81 compatible = "sophgo,sg2044-dwmac", "snps,dwmac-5.30a";
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | snps,dwcmshc-sdhci.yaml | 23 - const: sophgo,sg2044-dwcmshc 24 - const: sophgo,sg2042-dwcmshc 29 - sophgo,cv1800b-dwcmshc 30 - sophgo,sg2002-dwcmshc 31 - sophgo,sg2042-dwcmshc 80 const: sophgo,sg2042-dwcmshc
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-sophgo.c | 3 * Sophgo DWMAC platform driver 57 { .compatible = "sophgo,sg2042-dwmac" }, 58 { .compatible = "sophgo,sg2044-dwmac" }, 67 .name = "sophgo-dwmac", 75 MODULE_DESCRIPTION("Sophgo DWMAC platform driver");
|