/linux/arch/arm64/boot/dts/arm/ |
H A D | corstone1000.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 interrupt-parent = <&gic>; 12 #address-cells = <1>; 13 #size-cells = <1>; 21 stdout-path = "serial0:115200n8"; 25 #address-cells = <1>; 26 #size-cells = <0>; 30 compatible = "arm,cortex-a35"; 32 next-level-cache = <&L2_0>; [all …]
|
/linux/Documentation/devicetree/bindings/timer/ |
H A D | ti,timer-dm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/ti,timer-dm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI dual-mode timer 10 - Tony Lindgren <tony@atomide.com> 13 The TI dual-mode timer is a general purpose timer with PWM capabilities. 18 - items: 19 - enum: 20 - ti,am335x-timer [all …]
|
H A D | arm,arch_timer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/timer/arm,arch_timer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARM architected timer 10 - Marc Zyngier <marc.zyngier@arm.com> 11 - Mark Rutland <mark.rutland@arm.com> 13 ARM cores may have a per-core architected timer, which provides per-cpu timers, 14 or a memory mapped architected timer, which provides up to 8 frames with a 15 physical and optional virtual timer per frame. [all …]
|
/linux/Documentation/devicetree/bindings/arm/ |
H A D | atmel-sysregs.txt | 4 - compatible: Should be "atmel,sama5d2-chipid" or "microchip,sama7g5-chipid" 5 - reg : Should contain registers location and length 7 PIT Timer required properties: 8 - compatible: Should be "atmel,at91sam9260-pit" 9 - reg: Should contain registers location and length 10 - interrupts: Should contain interrupt for the PIT which is the IRQ line 13 PIT64B Timer required properties: 14 - compatible: Should be "microchip,sam9x60-pit64b" or 15 "microchip,sam9x7-pit64b", "microchip,sam9x60-pit64b" 16 - reg: Should contain registers location and length [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | amlogic-a4-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/gpio/gpio.h> 10 timer { 11 compatible = "arm,armv8-timer"; 19 compatible = "arm,psci-1.0"; 23 xtal: xtal-clk { 24 compatible = "fixed-clock"; 25 clock-frequency = <24000000>; [all …]
|
H A D | amlogic-t7.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/power/amlogic,t7-pwrc.h> 8 #include "amlogic-t7-reset.h" 11 interrupt-parent = <&gic>; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <0x2>; 17 #size-cells = <0x0>; 19 cpu-map { [all …]
|
/linux/arch/arm/mach-at91/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M 163 bool "Periodic Interval Timer (PIT) support" 169 Timer. It has a relatively low resolution and the TC Block clocksource 173 bool "Timer Counter Blocks (TCB) support" 179 On platforms with 16-bit counters, two timer channels are combined 180 to make a single 32-bit timer. 184 bool "64-bit Periodic Interval Timer (PIT64B) support" 189 clocksource and clockevent (SAMA7G5) based on Microchip 64-bit 190 Periodic Interval Timer. [all …]
|
/linux/arch/arm/mach-shmobile/ |
H A D | setup-rcar-gen2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car Generation 2 support 12 #include <linux/dma-map-ops.h> 23 #include "rcar-gen2.h" 26 { .compatible = "renesas,r8a7742-cpg-mssr", .data = "extal" }, 27 { .compatible = "renesas,r8a7743-cpg-mssr", .data = "extal" }, 28 { .compatible = "renesas,r8a7744-cpg-mssr", .data = "extal" }, 29 { .compatible = "renesas,r8a7790-cpg-mssr", .data = "extal" }, 30 { .compatible = "renesas,r8a7791-cpg-mssr", .data = "extal" }, 31 { .compatible = "renesas,r8a7793-cpg-mssr", .data = "extal" }, [all …]
|
/linux/arch/arm64/boot/dts/intel/ |
H A D | keembay-soc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 interrupt-parent = <&gic>; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "arm,cortex-a53"; 23 enable-method = "psci"; 27 compatible = "arm,cortex-a53"; [all …]
|
H A D | socfpga_agilex.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/agilex-clock.h> 13 compatible = "intel,socfpga-agilex"; 14 #address-cells = <2>; 15 #size-cells = <2>; 17 reserved-memory { [all …]
|
/linux/arch/arm64/boot/dts/tesla/ |
H A D | fsd.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Tesla Full Self-Driving SoC device tree source 5 * Copyright (c) 2017-2022 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2017-2022 Tesla, Inc. 11 #include <dt-bindings/clock/fsd-clk.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 38 #address-cells = <2>; [all …]
|
/linux/arch/arm64/boot/dts/sprd/ |
H A D | ums9620.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 interrupt-parent = <&gic>; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <2>; 17 #size-cells = <0>; 19 cpu-map { 50 compatible = "arm,cortex-a55"; 52 enable-method = "psci"; [all …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | amlogic,meson-vrtc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/rtc/amlogic,meson-vrtc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Neil Armstrong <neil.armstrong@linaro.org> 17 application processors (AP) and the secure co-processor (SCP.) When 19 program an always-on timer before going sleep. When the timer expires, 23 - $ref: rtc.yaml# 28 - amlogic,meson-vrtc 34 - compatible [all …]
|
/linux/include/dt-bindings/gce/ |
H A D | mt8186-gce.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 79 /* VCU: poll with timeout for GPR timer */ 351 * Note that token 512 to 639 may set secure 367 /* Notify normal CMDQ there are some secure task done 368 * MUST NOT CHANGE, this token sync with secure world 386 * There are 15 32-bit GPR, 3 GPR form a set 387 * (64-bit for address, 32-bit for value) 400 /* event for gpr timer, used in sleep and poll with timeout */
|
/linux/arch/arm64/boot/dts/altera/ |
H A D | socfpga_stratix10.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 7 #include <dt-bindings/reset/altr,rst-mgr-s10.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/stratix10-clock.h> 12 compatible = "altr,socfpga-stratix10"; 13 #address-cells = <2>; 14 #size-cells = <2>; 16 reserved-memory { 17 #address-cells = <2>; [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | timer.c | 2 * linux/arch/arm/mach-omap2/timer.c 4 * OMAP2 GP timer support. 16 * OMAP Dual-mode timer framework support by Timo Teras 20 * Copyright (C) 2004-2009 Texas Instruments, Inc. 22 * Roughly modelled after the OMAP1 MPU timer code. 23 * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 35 #include "omap-secure.h" 50 * The realtime counter also called master counter, is a free-running 52 * by the CPU local timer peripherals in the MPU cluster. The timer counts
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 7 obj-y := id.o io.o control.o devices.o fb.o pm.o \ 8 common.o dma.o omap-headsmp.o sram.o 10 hwmod-common = omap_hwmod.o \ 15 clock-common = clock.o 16 secure-common = omap-smc.o omap-secure.o 18 obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) $(hwmod-common) 19 obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(hwmod-common) $(secure-common) 20 obj-$(CONFIG_ARCH_OMAP4) += $(secure-common) 21 obj-$(CONFIG_SOC_AM33XX) += $(secure-common) [all …]
|
/linux/drivers/watchdog/ |
H A D | keembay_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Watchdog driver for Intel Keem Bay non-secure watchdog. 8 #include <linux/arm-smccc.h> 20 /* Non-secure watchdog register offsets */ 61 return readl(wdt->base + offset); in keembay_wdt_readl() 66 writel(WDT_UNLOCK, wdt->base + TIM_SAFE); in keembay_wdt_writel() 67 writel(val, wdt->base + offset); in keembay_wdt_writel() 74 keembay_wdt_writel(wdt, TIM_WATCHDOG, wdog->timeout * wdt->rate); in keembay_wdt_set_timeout_reg() 82 if (wdog->pretimeout) in keembay_wdt_set_pretimeout_reg() 83 th_val = wdog->timeout - wdog->pretimeout; in keembay_wdt_set_pretimeout_reg() [all …]
|
H A D | omap_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Watchdog driver for the TI OMAP 16xx & 24xx/34xx 32KHz (non-secure) watchdog 15 * Initially based on linux-2.4.19-rmk7-pxa1/drivers/char/sa1100_wdt.c 20 * 1. Modified to support OMAP1610 32-KHz watchdog timer 42 #include <linux/platform_data/omap-wd-timer.h> 73 void __iomem *base = wdev->base; in omap_wdt_reload() 79 wdev->wdt_trgr_pattern = ~wdev->wdt_trgr_pattern; in omap_wdt_reload() 80 writel_relaxed(wdev->wdt_trgr_pattern, (base + OMAP_WATCHDOG_TGR)); in omap_wdt_reload() 90 void __iomem *base = wdev->base; in omap_wdt_enable() 104 void __iomem *base = wdev->base; in omap_wdt_disable() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 bool "Watchdog Timer Support" 16 on-line as fast as possible after a lock-up. There's both a watchdog 21 <file:Documentation/watchdog/watchdog-api.rst> in the kernel source. 34 tristate "WatchDog Timer Driver Core" 36 Say Y here if you want to use the new watchdog timer driver core. 37 This driver provides a framework for all watchdog timer drivers 45 to stop the timer if the process managing it closes the file 51 bool "Update boot-enabled watchdog until userspace takes over" 77 bool "Enable watchdog hrtimer-based pretimeouts" [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | v1.c | 26 #include <subdev/timer.h> 30 u32 size, u16 tag, u8 port, bool secure) in nvkm_falcon_v1_load_imem() argument 36 size -= rem; in nvkm_falcon_v1_load_imem() 38 reg = start | BIT(24) | (secure ? BIT(28) : 0); in nvkm_falcon_v1_load_imem() 58 extra & (BIT(rem * 8) - 1)); in nvkm_falcon_v1_load_imem() 74 size -= rem; in nvkm_falcon_v1_load_dmem() 88 extra & (BIT(rem * 8) - 1)); in nvkm_falcon_v1_load_dmem()
|
H A D | base.c | 25 #include <subdev/timer.h> 31 if (falcon->func->intr_retrigger) in nvkm_falcon_intr_retrigger() 32 falcon->func->intr_retrigger(falcon); in nvkm_falcon_intr_retrigger() 38 if (!falcon->func->riscv_active) in nvkm_falcon_riscv_active() 41 return falcon->func->riscv_active(falcon); in nvkm_falcon_riscv_active() 48 case IMEM: return falcon->func->imem_dma; in nvkm_falcon_dma() 49 case DMEM: return falcon->func->dmem_dma; in nvkm_falcon_dma() 66 if (WARN_ON(!dma->xfer)) in nvkm_falcon_dma_wr() 67 return -EINVAL; in nvkm_falcon_dma_wr() 74 FLCN_DBG(falcon, "%s %08x <- %08x bytes at %08x (%010llx %08x)", in nvkm_falcon_dma_wr() [all …]
|
/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | intel,keembay-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/intel,keembay-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Intel Keem Bay SoC non-secure Watchdog Timer 10 - Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com> 13 - $ref: watchdog.yaml# 18 - intel,keembay-wdt 28 - description: interrupt specifier for threshold interrupt line 29 - description: interrupt specifier for timeout interrupt line [all …]
|
/linux/arch/arm/mach-nomadik/ |
H A D | cpu-8815.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <asm/mach-types.h> 15 * These are the only hard-coded address offsets we still have to use. 24 #define NOMADIK_USB_BASE 0x10170000 /* USB-OTG conf reg base */ 26 #define NOMADIK_SHA1_BASE 0x10190000 /* SHA-1 Processor */ 31 #define NOMADIK_MTU0_BASE 0x101E2000 /* Multiple Timer 0 */ 32 #define NOMADIK_MTU1_BASE 0x101E3000 /* Multiple Timer 1 */ 40 #define NOMADIK_SCR_BASE 0x101EF000 /* Secure Control registers */ 44 #define NOMADIK_SSIRx_BASE 0x101F3000 /* SSI 8-ch rx interface */ 45 #define NOMADIK_SSITx_BASE 0x101F4000 /* SSI 8-ch tx interface */ [all …]
|
/linux/tools/arch/arm/include/uapi/asm/ |
H A D | kvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright (C) 2012 - Virtual Open Systems and Columbia University 17 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 62 struct pt_regs usr_regs; /* R0_usr - R14_usr, PC, CPSR */ 67 unsigned long fiq_regs[8]; /* R8_fiq - R14_fiq, SPSR_fiq */ 155 * in the encoding to distinguish secure from nonsecure for AArch32 system 156 * registers that are banked by security. This is 1 for the secure banked 179 /* PL1 Physical Timer Registers */ 184 /* Virtual Timer Registers */ 213 /* KVM-as-firmware specific pseudo-registers */ [all …]
|