Documentation\devicetree\bindings\arm\arch_timer.txt

2024-06-22 07:48

本文主要是介绍Documentation\devicetree\bindings\arm\arch_timer.txt,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

如果想评论或更新本文的内容,请直接联系原文档的维护者。


如果你使用英文交流有困难的话,也可以向中文版维护者求助。


如果本翻译更新不及时或者翻译存在问题,请联系中文版维护者。


中文版维护者: 陶莹莉  tyl18768122426@163.com


中文版翻译者:  陶莹莉  tyl18768122426@163.com


中文版校译者:  陶莹莉  tyl18768122426@163.com
* ARM architected timer
*ARM架构定时器


ARM cores may have a per-core architected timer, which provides per-cpu timers,
or a memory mapped architected timer, which provides up to 8 frames with a
physical and optional virtual timer per frame.


每个ARM内核可能会有相应的被提供了CPU定时器,或映射了架构定时器的内存的架构定时器,,
每帧可提供高达8帧的物理和可选的虚拟计时器。


The per-core architected timer is attached to a GIC to deliver its
per-processor interrupts via PPIs. The memory mapped timer is attached to a GIC
to deliver its interrupts via SPIs.


每个核心架构定时器通过PPIs提供的每个处理器的中断连接到GIC,内存映射定时器通过SPI接口提供的中断连接到GIC。


** CP15 Timer node properties:


- compatible : Should at least contain one of
"arm,armv7-timer"
"arm,armv8-timer"


** CP15定时器的节点属性:


- 兼容性:至少应该包含一个“arm,armv7-timer”或者“arm,armv8-timer”


- interrupts : Interrupt list for secure, non-secure, virtual and
  hypervisor timers, in that order.


- clock-frequency : The frequency of the main counter, in Hz. Optional.


- 中断:中断列表秩序为:安全,不安全,虚拟和管理程序各种定时器。


- 时钟频率:主计数器以Hz为单位的频率。可选。


Example:


timer {
compatible = "arm,cortex-a15-timer",
    "arm,armv7-timer";
interrupts = <1 13 0xf08>,
    <1 14 0xf08>,
    <1 11 0xf08>,
    <1 10 0xf08>;
clock-frequency = <100000000>;
};


** Memory mapped timer node properties:


- compatible : Should at least contain "arm,armv7-timer-mem".


- clock-frequency : The frequency of the main counter, in Hz. Optional.


- reg : The control frame base address.


**内存映射定时器的节点属性:


- 兼容性:至少应该包含“arm,armv7-timer-mem”。


- 时钟频率:主计数器以Hz为单位的频率。可选。


- 寄存器:控制帧的基址。


Note that #address-cells, #size-cells, and ranges shall be present to ensure
the CPU can address a frame's registers.


需要注意的是单元的地址,单元的大小和范围应确保CPU可以处理一帧的寄存器。


A timer node has up to 8 frame sub-nodes, each with the following properties:


- frame-number: 0 to 7.


- interrupts : Interrupt list for physical and virtual timers in that order.
  The virtual timer interrupt is optional.


- reg : The first and second view base addresses in that order. The second view
  base address is optional.


- status : "disabled" indicates the frame is not available for use. Optional.


一个定时器节点有8帧的子节点,每个子节点具有以下属性:


- 帧数目:0~7。


- 中断:中断列表的顺序为物理和虚拟定时器。虚拟定时器中断是可选的。


- 寄存器:顺序为第一和第二观点的基地址。第二种观点基地址是可选的。


- 状态:“禁用”表示帧不可以使用。可选。


Example:


timer@f0000000 {
compatible = "arm,armv7-timer-mem";
#address-cells = <1>;
#size-cells = <1>;
ranges;
reg = <0xf0000000 0x1000>;
clock-frequency = <50000000>;


frame@f0001000 {
frame-number = <0>
interrupts = <0 13 0x8>,
    <0 14 0x8>;
reg = <0xf0001000 0x1000>,
     <0xf0002000 0x1000>;
};


frame@f0003000 {
frame-number = <1>
interrupts = <0 15 0x8>;
reg = <0xf0003000 0x1000>;
status = "disabled";
};
};

这篇关于Documentation\devicetree\bindings\arm\arch_timer.txt的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1083695

相关文章

oracle数据导出txt及导入txt

oracle数据导出txt及导入txt ORACLE数据导出TXT及从TXT导入: 导出到TXT文件: 1、用PL/SQL DEV打开CMD窗口。 2、spool d:/output.txt; 3、set heading off; --去掉表头 4、select * from usergroup; 5、spool off; www.2ct

任务调度--使用java.util.Timer实现

任务调度是指基于给定时间点,给定时间间隔或者给定执行次数自动执行任务。 举个例子,比如说我们希望一个系统每周日晚上9点都将数据库文件备份一次,这时我们就可以使用任务调度来实现。为了更加的方便,我们需要在tomcat启动后,自动开始这个调度。 下面是TimerTask的API: 下面是Timer类的API 下面的例子中实现了两个功能: 1.监测tomcat的web容器的启动与关闭

ARM-V9 RME(Realm Management Extension)系统架构之系统初始化流程

安全之安全(security²)博客目录导读 目录 一、重置取消 二、应用处理单元(PE)初始启动 三、MSD初始化 四、GPT初始化 五、初始启动退出(由所有应用PE执行) 六、RMSD初始化 七、PE进入丢失上下文的低功耗状态 本博客提供了RME系统初始化流程的示例,并描述了系统组件之间的关系以及系统启动序列的相应安全注意事项,不包括有关安全启动序列或软件测量流程的具体细

c++写txt文件

// Txt_Write.cpp : 定义控制台应用程序的入口点。#include "stdafx.h"#include<iostream>#include<fstream>using namespace std;//将int _tmain(int argc, _TCHAR* argv[]){ofstream in;in.open("shuchu.txt",ios::trunc);/

c++ 读取txt文件

1,按行读取 // TEST_Read.cpp : 定义控制台应用程序的入口点。#include "stdafx.h"#include<iostream>#include<string>#include<fstream>//读取文件所需的文件头//以下为读取文件的一种方法:将文件每行内容存储到字符串中,再输出字符串using namespace std;int _tmain(int

ARM Developer Suite 卸载后再次安装问题

第一次安装ARM Developer Suite 时,由于安装失败,于是先卸载ADS,再重新装。 结果,无论怎么卸载后,再次运行安装ADS时,都只进下图界面: 弄了一上午最终才将问题解决: 首先点击开始->运行->cmd ->确定,见下图: 输入:regedit 再回车键: 进入下图,即进入注册表: 这时为了防止因操作出错而导致的严重后果,我们需要对注册表进行备

移植SQLite到ARM开发板

最近在搞移植数据库到开发板,上网一搜都是sqlite ,所以就用这个吧,记录一下,特别简单, 首先要确保开发环境是好的,交叉编译器,NFS文件系统挂载等, 下载sqlite源码, http://www.sqlite.org/quickstart.html 拷贝到UBUTUN系统里,解压 tar -xzvf sqlite-autoconf-3080403.tar.gz 进入目录 cd

移植SDL2_ttf到ARM

下载最新源码,最新的才支持SDL2 然后执行命令,,编译通过,,,,前期准备是要成功安装freetype 和sdl2 ./configure --prefix=/gzz/cross_compile/SDL --host=arm-linux --with-sdl-prefix=/gzz/cross_compile/SDL --with-freetype-prefix=/gzz/cross_co

SDL移植到ARM-linux下

 SDL移植到ARM-linux上   参考自:bluedrum笔《SDL及扩展库在ARM-Linux 完整移植》 我用的编译环境是ubuntu10.10                                                      1.     安装交叉编译工具链          arm-linux-gcc-4.4.3          具

super4412下调试cmos驱动是的nternal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM问题解决

一直都觉得友善之臂的4412开发板的cmos硬件接口部分有问题,所以友善官方一直没有更新cmos摄像头驱动,但是还是得试着调, 我用的摄像头模块为ov5642,在把摄像头相关的板级配置都添加好后,编译内核,运行出现了 [ 2.970000] v4l2_i2c_subdev_init finished [ 2.975000] start read ov5642 id [