| /linux/arch/loongarch/boot/dts/ |
| H A D | loongson-2k0500.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2023 Loongson Technology Corporation Limited 6 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/clock/loongson,ls2k-clk.h> 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "loongson,la264"; [all …]
|
| H A D | loongson-2k2000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2023 Loongson Technology Corporation Limited 6 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/clock/loongson,ls2k-clk.h> 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "loongson,la364"; [all …]
|
| H A D | loongson-2k1000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2023 Loongson Technology Corporation Limited 6 /dts-v1/; 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/clock/loongson,ls2k-clk.h> 10 #include <dt-bindings/gpio/gpio.h> 13 #address-cells = <2>; 14 #size-cells = <2>; 17 #address-cells = <1>; 18 #size-cells = <0>; [all …]
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | loongson,ls2k0500-mmc.yaml | 1 # 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 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-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 …]
|
| H A D | loongson,pch-msi.yaml | 1 # 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 24 loongson,msi-base-vec: 32 loongson,msi-num-vecs: [all …]
|
| H A D | loongson,pch-pic.yaml | 1 # 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 24 loongson,pic-base-vec: [all …]
|
| H A 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 …]
|
| /linux/Documentation/devicetree/bindings/loongarch/ |
| H A D | loongson.yaml | 1 # 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/clock/ |
| H A D | loongson,ls2k-clk.yaml | 1 # 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/thermal/ |
| H A D | loongson,ls2k-thermal.yaml | 1 # 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> 14 - $ref: /schemas/thermal/thermal-sensor.yaml# 19 - enum: 20 - loongson,ls2k1000-thermal [all …]
|
| /linux/Documentation/devicetree/bindings/pwm/ |
| H A D | loongson,ls7a-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pwm/loongson,ls7a-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson PWM Controller 10 - Binbin Zhou <zhoubinbin@loongson.cn> 13 The Loongson PWM has one pulse width output signal and one pulse input 15 It can be found on Loongson-2K series cpus and Loongson LS7A bridge chips. 18 - $ref: pwm.yaml# 23 - const: loongson,ls7a-pwm [all …]
|
| /linux/Documentation/devicetree/bindings/soc/loongson/ |
| H A D | loongson,ls2k-pmc.yaml | 1 # 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 …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | loongson,ls1b-ac97.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/loongson,ls1b-ac97.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson-1 AC97 Controller 10 - Keguang Zhang <keguang.zhang@gmail.com> 13 The Loongson-1 AC97 controller supports 2-channel stereo output and input. 17 - $ref: dai-common.yaml# 22 - const: loongson,ls1b-ac97 23 - items: [all …]
|
| H A D | loongson,ls-audio-card.yaml | 1 # 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 14 7axxx/2kxxx platform. The sound card is an ASoC component 15 which uses Loongson I2S controller to transfer the audio data. 19 const: loongson,ls-audio-card [all …]
|
| /linux/arch/mips/boot/dts/loongson/ |
| H A D | loongson1c.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2023-2025 Keguang Zhang <keguang.zhang@gmail.com> 6 /dts-v1/; 10 clkc: clock-controller@1fe78030 { 11 compatible = "loongson,ls1c-clk"; 14 #clock-cells = <1>; 20 compatible = "loongson,ls1c-syscon", "syscon"; 24 intc4: interrupt-controller@10a0 { 25 compatible = "loongson,ls1x-intc"; 27 interrupt-controller; [all …]
|
| /linux/Documentation/devicetree/bindings/mips/loongson/ |
| H A D | devices.yaml | 1 # 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 …]
|
| H A D | ls2k-reset.yaml | 1 # 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/Documentation/devicetree/bindings/rtc/ |
| H A D | loongson,rtc.yaml | 1 # 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 …]
|
| /linux/drivers/soc/loongson/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0+ 3 # Loongson-2 series SoC drivers 7 tristate "Loongson-2 SoC Global UtiliTieS (GUTS) register block" 15 and access global utilities block for LoongArch architecture Loongson-2 21 bool "Loongson-2 SoC Power Management Controller Driver" 25 The Loongson-2's power management controller was ACPI, supports ACPI 27 Disk), ACPI S5 (Soft Shutdown) and supports multiple wake-up methods 29 controller support that base on dts for Loongson-2 series SoCs.
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | loongson,ls1b-gmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/loongson,ls1b-gmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson-1B Gigabit Ethernet MAC Controller 10 - Keguang Zhang <keguang.zhang@gmail.com> 13 Loongson-1B Gigabit Ethernet MAC Controller is based on 17 - Dual 10/100/1000Mbps GMAC controllers 18 - Full-duplex operation (IEEE 802.3x flow control automatic transmission) 19 - Half-duplex operation (CSMA/CD Protocol and back-pressure support) [all …]
|
| H A D | loongson,ls1c-emac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/loongson,ls1c-emac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson-1C Ethernet MAC Controller 10 - Keguang Zhang <keguang.zhang@gmail.com> 13 Loongson-1C Ethernet MAC Controller is based on 17 - 10/100Mbps 18 - Full-duplex operation (IEEE 802.3x flow control automatic transmission) 19 - Half-duplex operation (CSMA/CD Protocol and back-pressure support) [all …]
|
| /linux/Documentation/arch/loongarch/ |
| H A 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 …]
|
| /linux/Documentation/devicetree/bindings/hwinfo/ |
| H A D | loongson,ls2k-chipid.yaml | 1 # 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 24 little-endian: true 27 - compatible [all …]
|
| /linux/sound/soc/loongson/ |
| H A D | Kconfig | 1 # 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 …]
|