/linux/arch/riscv/boot/dts/sophgo/ ! |
H A D | sg2042.dtsi | 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> 11 #include <dt-bindings/pinctrl/pinctrl-sg2042.h> 12 #include <dt-bindings/reset/sophgo,sg2042-reset.h> 14 #include "sg2042-cpus.dtsi" 17 compatible = "sophgo,sg2042"; 170 compatible = "sophgo,sg2042-pwm"; 179 compatible = "sophgo,sg2042-pll"; 187 compatible = "sophgo,sg2042-msi"; [all …]
|
H A D | Makefile | 5 dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-milkv-pioneer.dtb 6 dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-evb-v1.dtb 7 dtb-$(CONFIG_ARCH_SOPHGO) += sg2042-evb-v2.dtb
|
H A D | sg2042-evb-v2.dts | 6 #include "sg2042.dtsi" 12 model = "Sophgo SG2042 EVB V2.0"; 13 compatible = "sophgo,sg2042-evb-v2", "sophgo,sg2042"; 133 compatible = "sophgo,sg2042-hwmon-mcu";
|
H A D | sg2042-evb-v1.dts | 6 #include "sg2042.dtsi" 12 model = "Sophgo SG2042 EVB V1.X"; 13 compatible = "sophgo,sg2042-evb-v1", "sophgo,sg2042"; 145 compatible = "sophgo,sg2042-hwmon-mcu";
|
/linux/drivers/clk/sophgo/ ! |
H A D | Kconfig | 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. 37 This clock IP depends on SG2042 Clock Generator because it uses
|
H A D | Makefile | 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-rpgate.c | 3 * Sophgo SG2042 RP clock Driver 13 #include <dt-bindings/clock/sophgo,sg2042-rpgate.h> 15 #include "clk-sg2042.h" 274 { .compatible = "sophgo,sg2042-rpgate" }, 282 .name = "clk-sophgo-sg2042-rpgate", 290 MODULE_DESCRIPTION("Sophgo SG2042 rp subsystem clock driver");
|
/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 18 - const: sophgo,sg2042-reset 21 - sophgo,sg2042-reset 39 compatible = "sophgo,sg2042-reset";
|
/linux/Documentation/devicetree/bindings/clock/ ! |
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/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 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 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 57 compatible = "sophgo,sg2042-msi";
|
H A D | thead,c900-aclint-mswi.yaml | 7 title: Sophgo sg2042 CLINT Machine-level Software Interrupt Device 16 - sophgo,sg2042-aclint-mswi 37 compatible = "sophgo,sg2042-aclint-mswi", "thead,c900-aclint-mswi";
|
/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 79 const: sophgo,sg2042-pinctrl 113 #include <dt-bindings/pinctrl/pinctrl-sg2042.h> 116 compatible = "sophgo,sg2042-pinctrl";
|
/linux/Documentation/devicetree/bindings/soc/sophgo/ ! |
H A D | sophgo.yaml | 42 - sophgo,sg2042-evb-v1 43 - sophgo,sg2042-evb-v2 44 - const: sophgo,sg2042
|
/linux/drivers/pinctrl/sophgo/ ! |
H A D | Kconfig | 67 tristate "Sophgo SG2042 SoC Pinctrl driver" 73 Say Y to select the pinctrl driver for SG2042 SoC. 76 pinctrl-sg2042.
|
H A D | Makefile | 6 pinctrl-sophgo-$(CONFIG_PINCTRL_SOPHGO_SG2042_OPS) += pinctrl-sg2042-ops.o 12 obj-$(CONFIG_PINCTRL_SOPHGO_SG2042) += pinctrl-sg2042.o
|
/linux/drivers/pwm/ ! |
H A D | pwm-sophgo-sg2042.c | 3 * Sophgo SG2042 PWM Controller Driver 16 * - SG2044 supports both polarities, SG2042 only normal polarity. 18 * [1]:https://github.com/sophgo/sophgo-doc/tree/main/SG2042/TRM 227 .compatible = "sophgo,sg2042-pwm", 291 .name = "sg2042-pwm", 300 MODULE_DESCRIPTION("Sophgo SG2042 PWM driver");
|
/linux/Documentation/hwmon/ ! |
H A D | sg2042-mcu.rst | 3 Kernel driver sg2042-mcu 8 * Onboard MCU for sg2042 12 Prefix: 'sg2042-mcu' 69 data in ``/sys/kernel/debug/sg2042-mcu/*/``.
|
/linux/drivers/hwmon/ ! |
H A D | sg2042-mcu.c | 5 * Sophgo power control mcu for SG2042 336 { "sg2042-hwmon-mcu" }, 342 { .compatible = "sophgo,sg2042-hwmon-mcu" }, 349 .name = "sg2042-mcu", 359 MODULE_DESCRIPTION("MCU I2C driver for SG2042 soc platform");
|
/linux/Documentation/devicetree/bindings/mmc/ ! |
H A D | snps,dwcmshc-sdhci.yaml | 24 - const: sophgo,sg2042-dwcmshc 31 - sophgo,sg2042-dwcmshc 80 const: sophgo,sg2042-dwcmshc
|
/linux/drivers/irqchip/ ! |
H A D | irq-sg2042-msi.c | 3 * SG2042 MSI Controller 87 .name = "SG2042 MSI", 199 .prefix = "SG2042-", 316 { .compatible = "sophgo,sg2042-msi", .data = &sg2042_chip_info }, 323 .name = "sg2042-msi",
|
/linux/Documentation/devicetree/bindings/timer/ ! |
H A D | thead,c900-aclint-mtimer.yaml | 16 - sophgo,sg2042-aclint-mtimer 43 compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
|