Searched +full:- +full:clint (Results 1 – 13 of 13) sorted by relevance
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | sifive,clint.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/sifive,clint.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Palmer Dabbelt <palmer@dabbelt.com> 11 - Anup Patel <anup.patel@wdc.com> 14 SiFive (and other RISC-V) SOCs include an implementation of the SiFive 15 Core Local Interruptor (CLINT) for M-mode timer and M-mode inter-processor 16 interrupts. It directly connects to the timer and inter-processor interrupt 17 lines of various HARTs (or CPUs) so RISC-V per-HART (or per-CPU) local [all …]
|
| /linux/arch/riscv/boot/dts/sophgo/ |
| H A D | cv1800b.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/pinctrl/pinctrl-cv1800b.h> 9 #include "cv180x-cpus.dtsi" 21 interrupt-parent = <&plic>; 22 dma-noncoherent; 25 compatible = "sophgo,cv1800b-pinctrl"; 28 reg-names = "sys", "rtc"; 31 clk: clock-controller@3002000 { 32 compatible = "sophgo,cv1800b-clk"; 35 #clock-cells = <1>; [all …]
|
| H A D | sg2002.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/pinctrl-sg2002.h> 10 #include "cv180x-cpus.dtsi" 23 interrupt-parent = <&plic>; 24 dma-noncoherent; 27 compatible = "sophgo,sg2002-pinctrl"; 30 reg-names = "sys", "rtc"; 33 clk: clock-controller@3002000 { 34 compatible = "sophgo,sg2002-clk", "sophgo,sg2000-clk"; [all …]
|
| H A D | cv1812h.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pinctrl/pinctrl-cv1812h.h> 10 #include "cv180x-cpus.dtsi" 23 interrupt-parent = <&plic>; 24 dma-noncoherent; 27 compatible = "sophgo,cv1812h-pinctrl"; 30 reg-names = "sys", "rtc"; 33 clk: clock-controller@3002000 { 34 compatible = "sophgo,cv1812h-clk"; [all …]
|
| /linux/arch/riscv/include/asm/ |
| H A D | clint.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 * This lives in the CLINT driver, but is accessed directly by timex.h to avoid 17 * The ISA defines mtime as a 64-bit memory-mapped register that increments at 21 * like "riscv_mtime", to signify that these non-ISA assumptions must hold.
|
| H A D | timex.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 #include <asm/clint.h>
|
| /linux/arch/riscv/boot/dts/microchip/ |
| H A D | mpfs.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 4 /dts-v1/; 5 #include "dt-bindings/clock/microchip,mpfs-clock.h" 8 #address-cells = <2>; 9 #size-cells = <2>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 timebase-frequency = <1000000>; 21 i-cache-block-size = <64>; [all …]
|
| /linux/arch/riscv/boot/dts/tenstorrent/ |
| H A D | blackhole.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 /dts-v1/; 7 #address-cells = <2>; 8 #size-cells = <2>; 11 #address-cells = <1>; 12 #size-cells = <0>; 13 timebase-frequency = <50000000>; 19 mmu-type = "riscv,sv57"; 20 riscv,isa-base = "rv64i"; 21 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "v", "zicsr", [all …]
|
| /linux/arch/riscv/boot/dts/thead/ |
| H A D | th1520.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/clock/thead,th1520-clk-ap.h> 9 #include <dt-bindings/power/thead,th1520-power.h> 10 #include <dt-bindings/reset/thead,th1520-reset.h> 14 #address-cells = <2>; 15 #size-cells = <2>; 18 #address-cells = <1>; 19 #size-cells = <0>; 20 timebase-frequency = <3000000>; [all …]
|
| /linux/arch/riscv/mm/ |
| H A D | cacheflush.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 * the IPI. The RISC-V spec states that a hart must execute a data fence in flush_icache_all() 34 * IPIs on RISC-V are triggered by MMIO writes to either CLINT or in flush_icache_all() 35 * S-IMSIC, so the fence ensures previous data writes "happen before" in flush_icache_all() 48 * Performs an icache flush for the given MM context. RISC-V has no direct 52 * single-hart processes on a many-hart machine, ie 'make -j') we avoid the 65 mask = &mm->context.icache_stale_mask; in flush_icache_mm() 78 if (mm == current->active_mm && local) { in flush_icache_mm() 104 if (!test_bit(PG_dcache_clean, &folio->flags.f)) { in flush_icache_pte() 106 set_bit(PG_dcache_clean, &folio->flags.f); in flush_icache_pte() [all …]
|
| /linux/drivers/irqchip/ |
| H A D | irq-riscv-intc.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2017-2018 SiFive 8 #define pr_fmt(fmt) "riscv-intc: " fmt 31 unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG; in riscv_intc_irq() 46 * On RISC-V systems local interrupts are masked or unmasked by writing 54 if (IS_ENABLED(CONFIG_32BIT) && d->hwirq >= BITS_PER_LONG) in riscv_intc_irq_mask() 55 csr_clear(CSR_IEH, BIT(d->hwirq - BITS_PER_LONG)); in riscv_intc_irq_mask() 57 csr_clear(CSR_IE, BIT(d->hwirq)); in riscv_intc_irq_mask() 62 if (IS_ENABLED(CONFIG_32BIT) && d->hwirq >= BITS_PER_LONG) in riscv_intc_irq_unmask() 63 csr_set(CSR_IEH, BIT(d->hwirq - BITS_PER_LONG)); in riscv_intc_irq_unmask() [all …]
|
| /linux/arch/riscv/boot/dts/spacemit/ |
| H A D | k1.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 #include <dt-bindings/clock/spacemit,k1-syscon.h> 8 /dts-v1/; 10 #address-cells = <2>; 11 #size-cells = <2>; 16 #address-cells = <1>; 17 #size-cells = <0>; 18 timebase-frequency = <24000000>; 20 cpu-map { 57 riscv,isa-base = "rv64i"; [all …]
|
| /linux/arch/riscv/boot/dts/canaan/ |
| H A D | k210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 6 #include <dt-bindings/clock/k210-clk.h> 7 #include <dt-bindings/pinctrl/k210-fpioa.h> 8 #include <dt-bindings/reset/k210-rst.h> 12 * Although the K210 is a 64-bit CPU, the address bus is only 32-bits 15 #address-cells = <1>; 16 #size-cells = <1>; 17 compatible = "canaan,kendryte-k210"; 21 * Since this is a non-ratified draft specification, the kernel does not [all …]
|