| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/ |
| D | loongson,liointc.yaml | 1 # 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-2K1000 chip, as the primary package interrupt controller which 18 - $ref: /schemas/interrupt-controller.yaml# 23 - loongson,liointc-1.0 [all …]
|
| D | loongson,eiointc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,eiointc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson Extended I/O Interrupt Controller 10 - Binbin Zhou <zhoubinbin@loongson.cn> 13 This interrupt controller is found on the Loongson-3 family chips and 14 Loongson-2K series chips and is used to distribute interrupts directly to 18 - $ref: /schemas/interrupt-controller.yaml# 23 - loongson,ls2k0500-eiointc [all …]
|
| D | loongson,htvec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,htvec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson-3 HyperTransport Interrupt Vector Controller 10 - Jiaxun Yang <jiaxun.yang@flygoat.com> 13 This interrupt controller is found in the Loongson-3 family of chips for 18 const: loongson,htvec-1.0 28 interrupt-controller: true 30 '#interrupt-cells': [all …]
|
| D | loongson,htpic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,htpic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson-3 HyperTransport Interrupt Controller 10 - Jiaxun Yang <jiaxun.yang@flygoat.com> 13 - $ref: /schemas/interrupt-controller.yaml# 16 This interrupt controller is found in the Loongson-3 family of chips to transmit 21 const: loongson,htpic-1.0 32 interrupt-controller: true [all …]
|
| /kernel/linux/linux-6.6/Documentation/arch/loongarch/ |
| D | irq-chip-model.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Currently, LoongArch based processors (e.g. Loongson-3A5000) can only work together 10 I/O Interrupt Controller), HTVECINTC (Hyper-Transport Vector Interrupt Controller), 11 PCH-PIC (Main Interrupt Controller in LS7A chipset), PCH-LPC (LPC Interrupt Controller 12 in LS7A chipset) and PCH-MSI (MSI Interrupt Controller). 14 CPUINTC is a per-core controller (in CPU), LIOINTC/EIOINTC/HTVECINTC are per-package 15 controllers (in CPU), while PCH-PIC/PCH-LPC/PCH-MSI are controllers out of CPU (i.e., 22 In this model, IPI (Inter-Processor Interrupt) and CPU Local Timer interrupt go 24 interrupts go to PCH-PIC/PCH-LPC/PCH-MSI and gathered by HTVECINTC, and then go 27 +-----+ +---------+ +-------+ [all …]
|
| D | introduction.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 LoongArch is a new RISC ISA, which is a bit like MIPS or RISC-V. There are 8 currently 3 variants: a reduced 32-bit version (LA32R), a standard 32-bit 9 version (LA32S) and a 64-bit version (LA64). There are 4 privilege levels 22 ---- 24 LoongArch has 32 GPRs ( ``$r0`` ~ ``$r31`` ); each one is 32-bit wide in LA32 25 and 64-bit wide in LA64. ``$r0`` is hard-wired to zero, and the other registers 26 are not architecturally special. (Except ``$r1``, which is hard-wired as the 30 the LoongArch ELF psABI spec, in :ref:`References <loongarch-references>`: 40 ``$r4``-``$r11`` ``$a0``-``$a7`` Argument registers No [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
| D | loongson,liointc.yaml | 1 # 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 as the primary 18 - $ref: /schemas/interrupt-controller.yaml# 23 - const: loongson,liointc-1.0 24 - const: loongson,liointc-1.0a [all …]
|
| D | loongson,htvec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,htvec.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Loongson-3 HyperTransport Interrupt Vector Controller 10 - Jiaxun Yang <jiaxun.yang@flygoat.com> 13 This interrupt controller is found in the Loongson-3 family of chips for 18 const: loongson,htvec-1.0 28 interrupt-controller: true 30 '#interrupt-cells': [all …]
|
| D | loongson,htpic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,htpic.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Loongson-3 HyperTransport Interrupt Controller 10 - Jiaxun Yang <jiaxun.yang@flygoat.com> 13 - $ref: /schemas/interrupt-controller.yaml# 16 This interrupt controller is found in the Loongson-3 family of chips to transmit 21 const: loongson,htpic-1.0 32 interrupt-controller: true [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/mips/ |
| D | Kconfig | 1 # 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.
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/ |
| D | loongson.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/loongson.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson PCI Host Controller 10 - Jiaxun Yang <jiaxun.yang@flygoat.com> 13 PCI host controller found on Loongson PCHs and SoCs. 16 - $ref: /schemas/pci/pci-bus.yaml# 21 - loongson,ls2k-pci 22 - loongson,ls7a-pci [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/ |
| D | loongson.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/loongson.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson PCI Host Controller 10 - Jiaxun Yang <jiaxun.yang@flygoat.com> 13 PCI host controller found on Loongson PCHs and SoCs. 16 - $ref: /schemas/pci/pci-bus.yaml# 21 - const: loongson,ls2k-pci 22 - const: loongson,ls7a-pci [all …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/mach-loongson64/ |
| D | kernel-entry-init.h | 7 * Copyright (C) 2005 Ralf Baechle (ralf@linux-mips.org) 28 /* Loongson-3A R4+ */ 33 /* Loongson-3A R2/R3 */ 59 /* Loongson-3A R4+ */ 64 /* Loongson-3A R2/R3 */ 91 b 2f /* Loongson-3A1000/3A2000/3A3000/3A4000 */ 92 1: dins a0, t2, 14, 2 /* Loongson-3B1000/3B1500 need bit 15~14 */ 94 3: addiu t9, -1 /* limit mailbox access */ 95 bnez t9, 3b
|
| /kernel/linux/linux-6.6/Documentation/translations/zh_CN/arch/loongarch/ |
| D | irq-chip-model.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 .. include:: ../../disclaimer-zh_CN.rst 5 :Original: Documentation/arch/loongarch/irq-chip-model.rst 6 :Translator: Huacai Chen <chenhuacai@loongson.cn> 15 HTVECINTC(Hyper-Transport Vector Interrupt Controller)、PCH-PIC(LS7A芯片组的主中 16 断控制器)、PCH-LPC(LS7A芯片组的LPC中断控制器)和PCH-MSI(MSI中断控制器)。 19 全局中断控制器(每个芯片一个,所有核共享),而PCH-PIC/PCH-LPC/PCH-MSI是CPU外部的中 26 在这种模型里面,IPI(Inter-Processor Interrupt)和CPU本地时钟中断直接发送到CPUINTC, 27 CPU串口(UARTs)中断发送到LIOINTC,而其他所有设备的中断则分别发送到所连接的PCH-PIC/ 28 PCH-LPC/PCH-MSI,然后被HTVECINTC统一收集,再发送到LIOINTC,最后到达CPUINTC:: [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/mips/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 MIPS platforms, including vendor-specific netbook/laptop/desktop 20 bool "Loongson-3 CPU HWMon Driver" 25 Loongson-3A/3B CPU Hwmon (temperature sensor) driver. 28 bool "Loongson RS780E ACPI Controller" 31 Loongson RS780E PCH ACPI Controller driver.
|
| /kernel/linux/linux-6.6/arch/mips/boot/dts/loongson/ |
| D | loongson64-2k1000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/interrupt-controller/irq.h> 8 compatible = "loongson,loongson2k1000"; 10 #address-cells = <2>; 11 #size-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 19 compatible = "loongson,gs264"; 21 #clock-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/drivers/irqchip/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 121 tristate "Broadcom STB 7038-style L1/L2 interrupt controller driver" 129 tristate "Broadcom STB 7120-style L2 interrupt controller driver" 211 bool "J-Core integrated AIC" if COMPILE_TEST 215 Support for the J-Core integrated AIC. 226 interrupt pins, as found on SH/R-Mobile and R-Car Gen1 SoCs. 229 bool "Renesas R-Mobile APE6, R-Car Gen{2,3} and RZ/G{1,2} IRQC support" if COMPILE_TEST 234 devices, as found on R-Mobile APE6, R-Car Gen{2,3} and RZ/G{1,2} SoCs. 284 tristate "TS-4800 IRQ controller" 289 Support for the TS-4800 FPGA IRQ controller [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mips/loongson/ |
| D | rs780e-acpi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/mips/loongson/rs780e-acpi.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 7 title: Loongson RS780E PCH ACPI Controller 10 - Jiaxun Yang <jiaxun.yang@flygoat.com> 13 This controller can be found in Loongson-3 systems with RS780E PCH. 17 const: loongson,rs780e-acpi 23 - compatible 24 - reg [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mips/loongson/ |
| D | rs780e-acpi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mips/loongson/rs780e-acpi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson RS780E PCH ACPI Controller 10 - Jiaxun Yang <jiaxun.yang@flygoat.com> 13 This controller can be found in Loongson-3 systems with RS780E PCH. 17 const: loongson,rs780e-acpi 23 - compatible 24 - reg [all …]
|
| /kernel/linux/linux-5.10/arch/mips/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 126 bool "Generic board-agnostic MIPS kernel" 213 Support for the Texas Instruments AR7 System-on-a-Chip 284 Build a generic DT-based kernel image that boots on select 285 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top 378 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 379 DECstation porting pages on <http://decstation.unix-ag.org/>. 418 Olivetti M700-10 workstations. 454 bool "Loongson 32-bit family of machines" 457 This enables support for the Loongson-1 family of machines. [all …]
|
| /kernel/linux/linux-6.6/arch/loongarch/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 214 # MIPS Loongson code, to preserve Loongson-specific code paths in drivers that 246 default 3 if PGTABLE_3LEVEL 254 def_bool $(as-instr,x:pcalau12i \$t0$(comma)%pc_hi20(x)) 257 def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0) 260 def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0) 263 def_bool $(as-instr,xvld \$xr0$(comma)\$a0$(comma)0) 266 def_bool $(as-instr,movscr2gr \$a0$(comma)\$scr0) 282 bool "4KB with 3 levels" 286 This option selects 4KB page size with 3 level page tables, which [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-loongson.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Loongson-2F/3A/3B GPIO Support 6 * Copyright (c) 2008-2010 Arnaud Patard <apatard@mandriva.com> 20 #include <loongson.h> 97 struct device *dev = &pdev->dev; in loongson_gpio_probe() 101 return -ENOMEM; in loongson_gpio_probe() 103 gc->label = "loongson-gpio-chip"; in loongson_gpio_probe() 104 gc->base = 0; in loongson_gpio_probe() 105 gc->ngpio = LOONGSON_N_GPIO; in loongson_gpio_probe() 106 gc->get = loongson_gpio_get_value; in loongson_gpio_probe() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-loongson.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Loongson-2F/3A/3B GPIO Support 6 * Copyright (c) 2008-2010 Arnaud Patard <apatard@mandriva.com> 20 #include <loongson.h> 97 struct device *dev = &pdev->dev; in loongson_gpio_probe() 101 return -ENOMEM; in loongson_gpio_probe() 103 gc->label = "loongson-gpio-chip"; in loongson_gpio_probe() 104 gc->base = 0; in loongson_gpio_probe() 105 gc->ngpio = LOONGSON_N_GPIO; in loongson_gpio_probe() 106 gc->get = loongson_gpio_get_value; in loongson_gpio_probe() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 135 bool "Generic board-agnostic MIPS kernel" 224 Support for the Texas Instruments AR7 System-on-a-Chip 298 Build a generic DT-based kernel image that boots on select 299 BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top 391 see the Linux/MIPS FAQ on <http://www.linux-mips.org/> and the 392 DECstation porting pages on <http://decstation.unix-ag.org/>. 432 Olivetti M700-10 workstations. 468 bool "Loongson 32-bit family of machines" 471 This enables support for the Loongson-1 family of machines. [all …]
|
| /kernel/linux/linux-6.6/drivers/pci/controller/ |
| D | pci-loongson.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Loongson PCI Host Controller Driver 12 #include <linux/pci-acpi.h> 13 #include <linux/pci-ecam.h> 41 #define FLAG_DEV_HIDDEN BIT(3) 58 dev->class = PCI_CLASS_BRIDGE_PCI_NORMAL; in bridge_class_quirk() 73 pdev->mmio_always_on = 1; in system_bus_quirk() 74 pdev->non_compliant_bars = 1; in system_bus_quirk() 84 * Some Loongson PCIe ports have hardware limitations on their Maximum Read 87 * bridges. However, some MIPS Loongson firmware doesn't set MRRS properly, [all …]
|