interrupt-parent = <&gpio2>; interrupts= <5 1>; 表示中断控制器是GPIO2,使用GPIO2的第5号中断,这里的第5号中断指的是5号引脚,1是指中断触发的方式为上升沿触发,详见内核代码中的头文件include/dt-bindings/interrupt-controller/irq.h 2. 带三个参数的情形 示例: interrupts = <GIC_SPI 661>; 2.1 先...
理解#interrupt-cells这个属性需要理解interrupt specifier和interrupt domain这两个概念。interrupt specifier其实就是外设interrupt的属性值,对于uart3而言,其interrupt specifier就是<GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,也就是说,interrupt specifier定义了一个外设产生中断的规格(HW interrupt ID + interrupt type)。 具体...
interrupts = <GIC_SPI 661>; 1. 2.1 先了解一下中断的类型 IPI:inter-processer interrupt 中断号0~15 PPI:per processor interrupts 中断号16~31 SPI:shared processor interrupts 中断号 32 ~32+224 SGI:software generated interrupts (SGI). 所以上述示例表示中断类型为共享处理器中断(SPI),中断号为SPI...
interrupts = <5 1>; 表⽰中断控制器是GPIO2,使⽤GPIO2的第5号中断,这⾥的第5号中断指的是5号引脚,1是指中断触发的⽅式为上升沿触发,详见内核代码中的头⽂件include/dt-bindings/interrupt-controller/irq.h 2. 带三个参数的情形 ⽰例: interrupts = <GIC_SPI 66 1>; 2.1 ...
#interrupt-cells = <2>; interrupt-parent = <&gpio3>; interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_LOW>; gpio-line-names = "g6_0", "g6_1", "RS232_RS485_UART3_EN", "RS232_UART2_EN", "RS485_TERM_EN", "g6_5", "USER_DIO_IN", "USER_DIO_OUT"; }; I derived this from...
如 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 中间的数字是什么意义?我看linux的documentation/devicetree/bindings/interrupt-controller的interrupt.txt,只说明了2个参数的情况,并没有3个参数的说明。 Labels: i.MX6UL 0 Kudos Reply All forum topics Previous Topic Next Topic 1 Rep...
interrupt-parent = <&gic>; interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; #else dmas = <&dsp_axi_dma 25>, <&dsp_axi_dma 24>; dma-names = "tx", "rx"; #endif #sound-dai-cells = <0>; dwc-master = <0>; status = "disabled"; 0 comments on commit ec2909f Please sign...
684: 0 0 GIC dw_spi1 686: 0 0 GIC ffc04000.i2c 687: 0 0 GIC ffc05000.i2c 690: 6879 0 GIC serial 697: 9 0 GIC timer2 752: 0 0 altera-gpio (null) IPI0: 0 0 CPU wakeup interrupts IPI1: 0 0 Timer broadcast interrupts IPI2: 1127 1196 Rescheduling interrupts IP...
它位于gic的设备绑定文档(Documentation/devicetree/bindings/interrupt-controller/arm,linux5.15中为gic...
interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, <&pdc 14 IRQ_TYPE_EDGE_BOTH>, <&pdc 17 IRQ_TYPE_LEVEL_HIGH>, <&pdc 15 IRQ_TYPE_EDGE_BOTH>, <&pdc 17 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "hs_phy_irq", "dp_hs_phy_irq", "dm_hs_phy_irq", "ss_phy_irq...