Home
last modified time | relevance | path

Searched +full:loongson +full:- +full:1 (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/rtc/
Dloongson,rtc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/rtc/loongson,rtc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson Real-Time Clock
10 The Loongson family chips use an on-chip counter 0 (Time Of Year
14 - Binbin Zhou <zhoubinbin@loongson.cn>
17 - $ref: rtc.yaml#
22 - enum:
23 - loongson,ls1b-rtc
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/loongson/
Dloongson,ls2k-pmc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/loongson/loongson,ls2k-pmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-2 Power Manager controller
10 - Yinbo Zhu <zhuyinbo@loongson.cn>
15 - items:
16 - const: loongson,ls2k0500-pmc
17 - const: syscon
18 - items:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mips/loongson/
Ddevices.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mips/loongson/devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson based Platforms
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
12 Devices with a Loongson CPU shall have the following properties.
20 - description: Classic Loongson64 Quad Core + LS7A
22 - const: loongson,loongson64c-4core-ls7a
24 - description: Classic Loongson64 Quad Core + RS780E
[all …]
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
20 maxItems: 1
23 - compatible
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
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-2K1000 chip, as the primary package interrupt controller which
18 - $ref: /schemas/interrupt-controller.yaml#
23 - loongson,liointc-1.0
[all …]
Dloongson,pch-msi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson PCH MSI Controller
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
13 This interrupt controller is found in the Loongson LS7A family of PCH for
19 const: loongson,pch-msi-1.0
22 maxItems: 1
24 loongson,msi-base-vec:
[all …]
Dloongson,eiointc.yaml1 # 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 …]
Dloongson,pch-pic.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,pch-pic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson PCH PIC Controller
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
13 This interrupt controller is found in the Loongson LS7A family of PCH for
14 transforming interrupts from on-chip devices into HyperTransport vectorized
19 const: loongson,pch-pic-1.0
22 maxItems: 1
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dloongson,pch-msi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Loongson PCH MSI Controller
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
13 This interrupt controller is found in the Loongson LS7A family of PCH for
19 const: loongson,pch-msi-1.0
22 maxItems: 1
24 loongson,msi-base-vec:
[all …]
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 as the primary
18 - $ref: /schemas/interrupt-controller.yaml#
23 - const: loongson,liointc-1.0
24 - const: loongson,liointc-1.0a
[all …]
Dloongson,pch-pic.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-pic.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Loongson PCH PIC Controller
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
13 This interrupt controller is found in the Loongson LS7A family of PCH for
14 transforming interrupts from on-chip devices into HyperTransport vectorized
19 const: loongson,pch-pic-1.0
22 maxItems: 1
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/
Dloongson,ls2k-thermal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/loongson,ls2k-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Thermal sensors on Loongson-2 SoCs
10 - zhanghongchen <zhanghongchen@loongson.cn>
11 - Yinbo Zhu <zhuyinbo@loongson.cn>
16 - enum:
17 - loongson,ls2k1000-thermal
18 - items:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
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,ls2k-clk
22 maxItems: 1
26 - description: 100m ref
[all …]
Dloongson,ls1x-clk.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/clock/loongson,ls1x-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-1 Clock Controller
10 - Keguang Zhang <keguang.zhang@gmail.com>
15 - loongson,ls1b-clk
16 - loongson,ls1c-clk
19 maxItems: 1
22 maxItems: 1
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/
Dloongson,ls2k-spi.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/loongson,ls2k-spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson SPI controller
10 - Yinbo Zhu <zhuyinbo@loongson.cn>
13 - $ref: /schemas/spi/spi-controller.yaml#
18 - enum:
19 - loongson,ls2k1000-spi
20 - items:
[all …]
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-loongson.c1 // SPDX-License-Identifier: GPL-2.0
3 * Loongson PCI Host Controller Driver
30 #define FLAG_CFG1 BIT(1)
43 dev->class = PCI_CLASS_BRIDGE_PCI << 8; in bridge_class_quirk()
58 pdev->mmio_always_on = 1; in system_bus_quirk()
59 pdev->non_compliant_bars = 1; in system_bus_quirk()
69 * Some Loongson PCIe ports have hardware limitations on their Maximum Read
72 * bridges. However, some MIPS Loongson firmware doesn't set MRRS properly,
78 struct pci_bus *bus = pdev->bus; in loongson_set_min_mrrs_quirk()
81 { PCI_VDEVICE(LOONGSON, DEV_LS2K_PCIE_PORT0) }, in loongson_set_min_mrrs_quirk()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dloongson,ls-audio-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/loongson,ls-audio-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson 7axxx/2kxxx ASoC audio sound card driver
10 - Yingkun Meng <mengyingkun@loongson.cn>
13 The binding describes the sound card present in loongson
15 which uses Loongson I2S controller to transfer the audio data.
19 const: loongson,ls-audio-card
25 mclk-fs:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/watchdog/
Dloongson,ls1x-wdt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/watchdog/loongson,ls1x-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-1 Watchdog Timer
10 - Keguang Zhang <keguang.zhang@gmail.com>
13 - $ref: watchdog.yaml#
18 - loongson,ls1b-wdt
19 - loongson,ls1c-wdt
22 maxItems: 1
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/
Dloongson.yaml1 # 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/
Dloongson.yaml1 # 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/Documentation/devicetree/bindings/timer/
Dloongson,ls1x-pwmtimer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/timer/loongson,ls1x-pwmtimer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-1 PWM timer
10 - Keguang Zhang <keguang.zhang@gmail.com>
13 Loongson-1 PWM timer can be used for system clock source
18 const: loongson,ls1b-pwmtimer
21 maxItems: 1
24 maxItems: 1
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/
Dloongson,ls2x-i2c.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/i2c/loongson,ls2x-i2c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson LS2X I2C Controller
10 - Binbin Zhou <zhoubinbin@loongson.cn>
13 - $ref: /schemas/i2c/i2c-controller.yaml#
18 - loongson,ls2k-i2c
19 - loongson,ls7a-i2c
22 maxItems: 1
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwinfo/
Dloongson,ls2k-chipid.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/hwinfo/loongson,ls2k-chipid.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson-2 SoC ChipID
10 - Yinbo Zhu <zhuyinbo@loongson.cn>
13 Loongson-2 SoC contains many groups of global utilities register
19 const: loongson,ls2k-chipid
22 maxItems: 1
24 little-endian: true
[all …]
/kernel/linux/linux-6.6/drivers/pci/controller/
Dpci-loongson.c1 // SPDX-License-Identifier: GPL-2.0
3 * Loongson PCI Host Controller Driver
12 #include <linux/pci-acpi.h>
13 #include <linux/pci-ecam.h>
39 #define FLAG_CFG1 BIT(1)
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 …]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
Dcpu-probe.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
16 #include <asm/cpu-features.h>
20 #include <asm/pgtable-bits.h>
34 fcsr = c->fpu_csr0; in cpu_set_fpu_fcsr_mask()
52 c->fpu_mask = ~(fcsr0 ^ fcsr1) & ~mask; in cpu_set_fpu_fcsr_mask()
68 c->pabits = (read_cpucfg(LOONGARCH_CPUCFG1) & CPUCFG1_PABITS) >> 4; in cpu_probe_addrbits()
69 c->vabits = (read_cpucfg(LOONGARCH_CPUCFG1) & CPUCFG1_VABITS) >> 12; in cpu_probe_addrbits()
70 vm_map_base = 0UL - (1UL << c->vabits); in cpu_probe_addrbits()
78 c->isa_level |= LOONGARCH_CPU_ISA_LA64; in set_isa()
[all …]

12345678910>>...19