Home
last modified time | relevance | path

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

/linux/arch/loongarch/boot/dts/
H A Dloongson-2k0500-ref.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2023 Loongson Technology Corporation Limited
6 /dts-v1/;
8 #include "loongson-2k0500.dtsi"
11 compatible = "loongson,ls2k0500-ref", "loongson,ls2k0500";
12 model = "Loongson-2K0500 Reference Board";
21 stdout-path = "serial0:115200n8";
30 reserved-memory {
31 #address-cells = <2>;
32 #size-cells = <2>;
[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/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/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/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 …]