Searched +full:- +full:clint (Results 1 – 15 of 15) 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 …]
|
H A D | thead,c900-aclint-mtimer.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/thead,c900-aclint-mtimer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sophgo CLINT Timer 10 - Inochi Amaoto <inochiama@outlook.com> 15 - enum: 16 - sophgo,sg2042-aclint-mtimer 17 - const: thead,c900-aclint-mtimer 21 - description: MTIMECMP Registers [all …]
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | cv1800b.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 18 compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; 21 &clint { 22 compatible = "sophgo,cv1800b-clint", "thead,c900-clint"; 26 compatible = "sophgo,cv1800-clk";
|
H A D | cv1812h.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 19 compatible = "sophgo,cv1812h-plic", "thead,c900-plic"; 22 &clint { 23 compatible = "sophgo,cv1812h-clint", "thead,c900-clint"; 27 compatible = "sophgo,cv1810-clk";
|
H A D | cv18xx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/clock/sophgo,cv1800.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 16 #address-cells = <1>; 17 #size-cells = <0>; 18 timebase-frequency = <25000000>; 24 d-cache-block-size = <64>; [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/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | thead,c900-aclint-mswi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/thead,c900-aclint-mswi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sophgo sg2042 CLINT Machine-level Software Interrupt Device 10 - Inochi Amaoto <inochiama@outlook.com> 15 - enum: 16 - sophgo,sg2042-aclint-mswi 17 - const: thead,c900-aclint-mswi 22 interrupts-extended: [all …]
|
/linux/drivers/clocksource/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 60 bool "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST 64 Enables the support for the TI dual-mode timer driver. 190 Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture, 213 32-bit free running decrementing counters. 248 bool "Integrator-AP timer driver" if COMPILE_TEST 251 Enables support for the Integrator-AP timer. 276 available on many OMAP-like platforms. 295 bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST 299 These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_TIMER_OF) += timer-of.o 3 obj-$(CONFIG_TIMER_PROBE) += timer-probe.o 4 obj-$(CONFIG_ATMEL_PIT) += timer-atmel-pit.o 5 obj-$(CONFIG_ATMEL_ST) += timer-atmel-st.o 6 obj-$(CONFIG_ATMEL_TCB_CLKSRC) += timer-atmel-tcb.o 7 obj-$(CONFIG_X86_PM_TIMER) += acpi_pm.o 8 obj-$(CONFIG_SCx200HR_TIMER) += scx200_hrt.o 9 obj-$(CONFIG_CS5535_CLOCK_EVENT_SRC) += timer-cs5535.o 10 obj-$(CONFIG_CLKSRC_JCORE_PIT) += jcore-pit.o [all …]
|
/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/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> 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <1>; 17 #size-cells = <0>; 18 timebase-frequency = <3000000>; 24 riscv,isa-base = "rv64i"; 25 riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zicntr", "zicsr", [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/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 …]
|
/linux/arch/riscv/boot/dts/starfive/ |
H A D | jh7110.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 8 #include <dt-bindings/clock/starfive,jh7110-crg.h> 9 #include <dt-bindings/power/starfive,jh7110-pmu.h> 10 #include <dt-bindings/reset/starfive,jh7110-crg.h> 11 #include <dt-bindings/thermal/thermal.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 19 #address-cells = <1>; 20 #size-cells = <0>; [all …]
|