Home
last modified time | relevance | path

Searched +full:loongson +full:- +full:2 +full:k1000 (Results 1 – 14 of 14) sorted by relevance

/linux/Documentation/devicetree/bindings/mips/loongson/
H A Dls2k-reset.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mips/loongson/ls2k-reset.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson 2K1000 PM Controller
10 - Qing Zhang <zhangqing@loongson.cn>
13 This controller can be found in Loongson-2K1000 Soc systems.
17 const: loongson,ls2k-pm
23 - compatible
24 - reg
[all …]
/linux/drivers/platform/mips/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 MIPS platforms, including vendor-specific netbook/laptop/desktop
21 bool "Loongson-3 CPU HWMon Driver"
26 Loongson-3A/3B CPU Hwmon (temperature sensor) driver.
29 bool "Loongson RS780E ACPI Controller"
32 Loongson RS780E PCH ACPI Controller driver.
35 bool "Loongson-2K1000 Reset Controller"
38 Loongson-2K1000 Reset Controller driver.
H A Dls2k-reset.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2021, Qing Zhang <zhangqing@loongson.cn>
4 * Loongson-2K1000 reset support
34 np = of_find_compatible_node(NULL, NULL, "loongson,ls2k-pm"); in ls2k_reset_init()
37 return -ENODEV; in ls2k_reset_init()
44 return -ENOMEM; in ls2k_reset_init()
/linux/drivers/soc/loongson/
H A Dloongson2_guts.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Author: Yinbo Zhu <zhuyinbo@loongson.cn>
4 * Copyright (C) 2022-2023 Loongson Technology Corporation Limited
36 u8 res2[0x3ff8 - 0x18];
51 /* SoC die attribute definition for Loongson-2 platform */
55 * LoongArch-based SoCs Loongson-2 Series
58 /* Die: 2k1000, SoC: 2k1000 */
59 { .die = "2K1000",
69 while (matches->svr) { in loongson2_soc_die_match()
70 if (matches->svr == (svr & matches->mask)) in loongson2_soc_die_match()
[all …]
/linux/arch/loongarch/boot/dts/
H A Dloongson-2k1000-ref.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2023 Loongson Technology Corporation Limited
6 /dts-v1/;
8 #include "dt-bindings/thermal/thermal.h"
9 #include "loongson-2k1000.dtsi"
12 compatible = "loongson,ls2k1000-ref", "loongson,ls2k1000";
13 model = "Loongson-2K1000 Reference Board";
20 stdout-path = "serial0:115200n8";
30 reserved-memory {
31 #address-cells = <2>;
[all …]
/linux/arch/mips/boot/dts/loongson/
H A Dloongson64_2core_2k1000.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "loongson64-2k1000.dtsi"
8 compatible = "loongson,loongson64-2core-2k1000";
/linux/Documentation/devicetree/bindings/loongarch/
H A Dloongson.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/loongarch/loongson.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson SoC-based boards
10 - Binbin Zhou <zhoubinbin@loongson.cn>
17 - description: Loongson-2K0500 processor based boards
19 - const: loongson,ls2k0500-ref
20 - const: loongson,ls2k0500
22 - description: Loongson-2K1000 processor based boards
[all …]
/linux/sound/soc/loongson/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
2 menu "Loongson" menu
5 tristate "Loongson Sound Card Driver"
11 loongson I2S controller.
14 loongson I2S controller.
17 tristate "Loongson I2S-PCI Device Driver"
23 Loongson I2S controller.
25 The controller is found in loongson bridge chips or SoCs,
29 tristate "Loongson I2S-PLAT Device Driver"
35 Loongson I2S controller.
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dloongson,ls2k-clk.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/loongson,ls2k-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-2 SoC Clock Control Module
10 - Yinbo Zhu <zhuyinbo@loongson.cn>
13 Loongson-2 SoC clock control module is an integrated clock controller, which
19 - loongson,ls2k0300-clk
20 - loongson,ls2k0500-clk
21 - loongson,ls2k-clk # This is for Loongson-2K1000
[all …]
/linux/Documentation/devicetree/bindings/mmc/
H A Dloongson,ls2k0500-mmc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mmc/loongson,ls2k0500-mmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: The SD/SDIO/eMMC host controller for Loongson-2K family SoCs
10 The MMC host controller on the Loongson-2K0500/2K1000 (using an externally
12 The two MMC host controllers on the Loongson-2K2000 are similar,
17 - Binbin Zhou <zhoubinbin@loongson.cn>
20 - $ref: mmc-controller.yaml#
25 - loongson,ls2k0500-mmc
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dloongson,liointc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,liointc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson Local I/O Interrupt Controller
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
13 This interrupt controller is found in the Loongson-3 family of chips and
14 Loongson-2K series chips, as the primary package interrupt controller which
17 1.The Loongson-2K0500 is a single core CPU;
18 2.The Loongson-2K0500/2K1000 has 64 device interrupt sources as inputs, so we
[all …]
/linux/arch/loongarch/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
250 # MIPS Loongson code, to preserve Loongson-specific code paths in drivers that
272 default 2 if PGTABLE_2LEVEL
281 def_bool $(as-instr,x:pcalau12i \$t0$(comma)%pc_hi20(x))
284 def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0)
287 def_bool $(cc-option,-Wa$(comma)-mthin-add-sub) || AS_IS_LLVM
290 def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0)
293 def_bool $(as-instr,xvld \$xr0$(comma)\$a0$(comma)0)
296 def_bool $(as-instr,movscr2gr \$a0$(comma)\$scr0)
299 def_bool $(as-instr,hvcl 0)
[all …]
/linux/drivers/mmc/host/
H A Dloongson2-mmc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Loongson-2K MMC/SDIO controller driver
5 * Copyright (C) 2018-2025 Loongson Technology Corporation Limited.
14 #include <linux/dma-mapping.h>
22 #include <linux/mmc/slot-gpio.h>
35 #define LOONGSON2_MMC_REG_RSP2 0x1c /* Command Response Register 2 */
48 #define LOONGSON2_MMC_REG_DLLVAL 0xf0 /* DLL Master Lock-value Register */
113 #define LOONGSON2_MMC_DSTS_SBITERR BIT(2)
130 #define LOONGSON2_MMC_INT_RXCRC BIT(2)
142 #define LOONGSON2_MMC_IEN_RXCRC BIT(2)
[all …]
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_regs.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (C) 2023 Loongson Technology Corporation Limited
19 * 7A2000, 2K2000, 2K1000 etc.
43 #define CFG_PIX_FMT_MASK GENMASK(2, 0)
48 LSDC_PF_XRGB555 = 2, /* [15 bits] */
84 LSDC_DMA_STEP_64_BYTES = 2,
164 * In gross, LSDC_CRTC1_XXX_REG - LSDC_CRTC0_XXX_REG = 0x10, but not all of
183 CURSOR_FORMAT_ARGB8888 = 2, /* A8R8G8B8 */
191 #define CURSOR_SIZE_SHIFT 2
228 * FBRF0: CRTC-0 reading from its framebuffer finished.
[all …]