初级会员

- 积分
- 185
- 金钱
- 185
- 注册时间
- 2019-5-24
- 在线时间
- 39 小时
|
请问:v1.3--p1078
intc: interrupt-controller@00a01000 {
18 compatible = "arm,cortex-a7-gic";
19 #interrupt-cells = <3>;
20 interrupt-controller;
21 reg = <0x00a01000 0x1000>,
22 <0x00a02000 0x100>;
为什么interrupt-cells = <3>后面的reg是地址吧,不和它对应吧?;
那和interrupt-cells = <3>对应的reg在那? reg = <0x00a01000 0x1000>的描述 cell在那?
p1242
gpio5: gpio@020ac000 {
2 compatible = "fsl,imx6ul-gpio", "fsl,imx35-gpio";
3 reg = <0x020ac000 0x4000>;
4 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,---是和#interrupt-cells = <3>; 对应的
5 <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
6 gpio-controller;
7 #gpio-cells = <2>;
8 interrupt-controller;
9 #interrupt-cells = <2>;---减少了一个元素
10 };
fxls8471@1e {
2 compatible = "fsl,fxls8471";
3 reg = <0x1e>;
4 position = <0>;
5 interrupt-parent = <&gpio5>;
和interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>相比,少了一个元素,是怎么一个对应关系呢,为什么可以少一个?
}
|
|