aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc8641_hpcn.dts
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-07-03 03:35:35 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-07-03 03:35:35 -0400
commitb533f8ae796d1ee0289bf04d4f1e72c02ad4a17d (patch)
tree4bec480194b251e18fee511df1cf4840a1995c88 /arch/powerpc/boot/dts/mpc8641_hpcn.dts
parenteae98266e78e5659d75dbb62b4601960c15c7830 (diff)
[POWERPC] Reworked interrupt numbers for OpenPIC based Freescale chips
Make the interrupt numbers match the OpenPIC spec intead of the Freescale docs which distinguish between internal and external interrupts. Now we can use the interrupt number directly to find the register offset associated with it. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8641_hpcn.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc8641_hpcn.dts18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
index 4b8ac7231ac9..db56a02b748f 100644
--- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
+++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
@@ -90,25 +90,25 @@
90 reg = <24520 20>; 90 reg = <24520 20>;
91 phy0: ethernet-phy@0 { 91 phy0: ethernet-phy@0 {
92 interrupt-parent = <&mpic>; 92 interrupt-parent = <&mpic>;
93 interrupts = <4a 1>; 93 interrupts = <a 1>;
94 reg = <0>; 94 reg = <0>;
95 device_type = "ethernet-phy"; 95 device_type = "ethernet-phy";
96 }; 96 };
97 phy1: ethernet-phy@1 { 97 phy1: ethernet-phy@1 {
98 interrupt-parent = <&mpic>; 98 interrupt-parent = <&mpic>;
99 interrupts = <4a 1>; 99 interrupts = <a 1>;
100 reg = <1>; 100 reg = <1>;
101 device_type = "ethernet-phy"; 101 device_type = "ethernet-phy";
102 }; 102 };
103 phy2: ethernet-phy@2 { 103 phy2: ethernet-phy@2 {
104 interrupt-parent = <&mpic>; 104 interrupt-parent = <&mpic>;
105 interrupts = <4a 1>; 105 interrupts = <a 1>;
106 reg = <2>; 106 reg = <2>;
107 device_type = "ethernet-phy"; 107 device_type = "ethernet-phy";
108 }; 108 };
109 phy3: ethernet-phy@3 { 109 phy3: ethernet-phy@3 {
110 interrupt-parent = <&mpic>; 110 interrupt-parent = <&mpic>;
111 interrupts = <4a 1>; 111 interrupts = <a 1>;
112 reg = <3>; 112 reg = <3>;
113 device_type = "ethernet-phy"; 113 device_type = "ethernet-phy";
114 }; 114 };
@@ -356,7 +356,7 @@
356 #interrupt-cells = <2>; 356 #interrupt-cells = <2>;
357 built-in; 357 built-in;
358 compatible = "chrp,iic"; 358 compatible = "chrp,iic";
359 interrupts = <49 2>; 359 interrupts = <9 2>;
360 interrupt-parent = 360 interrupt-parent =
361 <&mpic>; 361 <&mpic>;
362 }; 362 };
@@ -411,10 +411,10 @@
411 interrupt-map-mask = <f800 0 0 7>; 411 interrupt-map-mask = <f800 0 0 7>;
412 interrupt-map = < 412 interrupt-map = <
413 /* IDSEL 0x0 */ 413 /* IDSEL 0x0 */
414 0000 0 0 1 &mpic 44 1 414 0000 0 0 1 &mpic 4 1
415 0000 0 0 2 &mpic 45 1 415 0000 0 0 2 &mpic 5 1
416 0000 0 0 3 &mpic 46 1 416 0000 0 0 3 &mpic 6 1
417 0000 0 0 4 &mpic 47 1 417 0000 0 0 4 &mpic 7 1
418 >; 418 >;
419 }; 419 };
420 420