/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_E in sophgo_intx_irq_mask() 84 struct sophgo_pcie *sophgo = to_sophgo_pcie(pci); sophgo_intx_irq_unmask() local 119 struct sophgo_pcie *sophgo = to_sophgo_pcie(pci); sophgo_pcie_init_irq_domain() local 151 struct sophgo_pcie *sophgo = to_sophgo_pcie(pci); sophgo_pcie_msi_enable() local 183 sophgo_pcie_clk_init(struct sophgo_pcie * sophgo) sophgo_pcie_clk_init() argument 198 sophgo_pcie_resource_get(struct platform_device * pdev,struct sophgo_pcie * sophgo) sophgo_pcie_resource_get() argument 208 sophgo_pcie_configure_rc(struct sophgo_pcie * sophgo) sophgo_pcie_configure_rc() argument 221 struct sophgo_pcie *sophgo; sophgo_pcie_probe() local [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,sg200 [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 SG204 [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,cv180 [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";
|
/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,sg204 [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,sg204 [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";
|
/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,sg2042-pinctrl.yaml | 4 $id: http://devicetree.org/schemas/pinctrl/sophgo,sg2042-pinctrl.yaml# 7 title: Sophgo SG2042 Pin Controller 15 - sophgo,sg2042-pinctrl 16 - sophgo,sg2044-pinctrl 38 refer to https://github.com/sophgo/sophgo-doc/. 79 const: sophgo,sg2042-pinctrl 96 const: sophgo,sg2044-pinctrl 116 compatible = "sophgo,sg2042-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/drivers/pinctrl/sophgo/ |
H A D | Kconfig | 3 # Sophgo SoC PINCTRL drivers 16 tristate "Sophgo CV1800B SoC Pinctrl driver" 28 tristate "Sophgo CV1812H SoC Pinctrl driver" 40 tristate "Sophgo SG2000 SoC Pinctrl driver" 52 tristate "Sophgo SG2002 SoC Pinctrl driver" 67 tristate "Sophgo SG2042 SoC Pinctrl driver" 79 tristate "Sophgo SG2044 SoC Pinctrl driver"
|
H A D | Makefile | 3 obj-$(CONFIG_PINCTRL_SOPHGO_COMMON) += pinctrl-sophgo.o 4 pinctrl-sophgo-objs += pinctrl-sophgo-common.o 5 pinctrl-sophgo-$(CONFIG_PINCTRL_SOPHGO_CV18XX_OPS) += pinctrl-cv18xx.o 6 pinctrl-sophgo-$(CONFIG_PINCTRL_SOPHGO_SG2042_OPS) += pinctrl-sg2042-ops.o
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | sophgo,sg2042-hwmon-mcu.yaml | 4 $id: http://devicetree.org/schemas/hwmon/sophgo,sg2042-hwmon-mcu.yaml# 7 title: Sophgo SG2042 onboard MCU support 16 - const: sophgo,sg2044-hwmon-mcu 17 - const: sophgo,sg2042-hwmon-mcu 18 - const: sophgo,sg2042-hwmon-mcu 43 compatible = "sophgo,sg2042-hwmon-mcu";
|
/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/mailbox/ |
H A D | sophgo,cv1800b-mailbox.yaml | 4 $id: http://devicetree.org/schemas/mailbox/sophgo,cv1800b-mailbox.yaml# 7 title: Sophgo CV1800/SG2000 mailbox controller 14 Mailboxes integrated in Sophgo CV1800/SG2000 SoCs have 8 channels, each 21 const: sophgo,cv1800b-mailbox 37 Sophgo CV1800/SG2000 SoCs include the following processors, numbered as: 56 compatible = "sophgo,cv1800b-mailbox";
|
/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";
|