mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 21:45:01 +08:00
0976c946a6
Two of the versatile irq definitions are incorrect, mostly because two devices have connections to more than one interrupt controller. Fix them by using the new interrupts-extended property to fan out without using an awful interrupt-map nexus node. Signed-off-by: Grant Likely <grant.likely@linaro.org>
51 lines
1012 B
Plaintext
51 lines
1012 B
Plaintext
/include/ "versatile-ab.dts"
|
|
|
|
/ {
|
|
model = "ARM Versatile PB";
|
|
compatible = "arm,versatile-pb";
|
|
|
|
amba {
|
|
gpio2: gpio@101e6000 {
|
|
compatible = "arm,pl061", "arm,primecell";
|
|
reg = <0x101e6000 0x1000>;
|
|
interrupts = <8>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
|
|
gpio3: gpio@101e7000 {
|
|
compatible = "arm,pl061", "arm,primecell";
|
|
reg = <0x101e7000 0x1000>;
|
|
interrupts = <9>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
};
|
|
|
|
fpga {
|
|
uart@9000 {
|
|
compatible = "arm,pl011", "arm,primecell";
|
|
reg = <0x9000 0x1000>;
|
|
interrupt-parent = <&sic>;
|
|
interrupts = <6>;
|
|
};
|
|
sci@a000 {
|
|
compatible = "arm,primecell";
|
|
reg = <0xa000 0x1000>;
|
|
interrupt-parent = <&sic>;
|
|
interrupts = <5>;
|
|
};
|
|
mmc@b000 {
|
|
compatible = "arm,primecell";
|
|
reg = <0xb000 0x1000>;
|
|
interrupts-extended = <&vic 23 &sic 2>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
/include/ "testcases/tests.dtsi"
|