diff options
author | Martyn Welch <martyn.welch@gefanuc.com> | 2008-10-01 04:32:39 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-10-13 12:09:57 -0400 |
commit | 3a470247913e6537c453937720b61f4ecc3e39db (patch) | |
tree | 284e09ffda9f3513677464abd05020fb01f51196 /arch/powerpc/boot/dts/gef_sbc610.dts | |
parent | 92ae954046b1434c8c11468893ed27c7c06f2c21 (diff) |
powerpc: GE Fanuc's FPGA based PIC controller on the SBC610
Support for the SBC610 VPX Single Board Computer from GE Fanuc (PowerPC MPC8641D).
A number of MPC8641D based route interrupts for on-board interrupts through
a FPGA based interrupt controller, which is chained with the
MPC8641D's mpic. This patch provides a basic driver to allow basic routing
of interrupts to the mpic.
Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/gef_sbc610.dts')
-rw-r--r-- | arch/powerpc/boot/dts/gef_sbc610.dts | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/arch/powerpc/boot/dts/gef_sbc610.dts b/arch/powerpc/boot/dts/gef_sbc610.dts index 80b79e4adc7..771a776d610 100644 --- a/arch/powerpc/boot/dts/gef_sbc610.dts +++ b/arch/powerpc/boot/dts/gef_sbc610.dts | |||
@@ -67,6 +67,35 @@ | |||
67 | reg = <0x0 0x40000000>; // set by uboot | 67 | reg = <0x0 0x40000000>; // set by uboot |
68 | }; | 68 | }; |
69 | 69 | ||
70 | localbus@fef05000 { | ||
71 | #address-cells = <2>; | ||
72 | #size-cells = <1>; | ||
73 | compatible = "fsl,mpc8641-localbus", "simple-bus"; | ||
74 | reg = <0xf8005000 0x1000>; | ||
75 | interrupts = <19 2>; | ||
76 | interrupt-parent = <&mpic>; | ||
77 | |||
78 | ranges = <0 0 0xff000000 0x01000000 // 16MB Boot flash | ||
79 | 1 0 0xe8000000 0x08000000 // Paged Flash 0 | ||
80 | 2 0 0xe0000000 0x08000000 // Paged Flash 1 | ||
81 | 3 0 0xfc100000 0x00020000 // NVRAM | ||
82 | 4 0 0xfc000000 0x00008000 // FPGA | ||
83 | 5 0 0xfc008000 0x00008000 // AFIX FPGA | ||
84 | 6 0 0xfd000000 0x00800000 // IO FPGA (8-bit) | ||
85 | 7 0 0xfd800000 0x00800000>; // IO FPGA (32-bit) | ||
86 | |||
87 | gef_pic: pic@4,4000 { | ||
88 | #interrupt-cells = <1>; | ||
89 | interrupt-controller; | ||
90 | compatible = "gef,fpga-pic"; | ||
91 | reg = <0x4 0x4000 0x20>; | ||
92 | interrupts = <0x8 | ||
93 | 0x9>; | ||
94 | interrupt-parent = <&mpic>; | ||
95 | |||
96 | }; | ||
97 | }; | ||
98 | |||
70 | soc@fef00000 { | 99 | soc@fef00000 { |
71 | #address-cells = <1>; | 100 | #address-cells = <1>; |
72 | #size-cells = <1>; | 101 | #size-cells = <1>; |
@@ -150,13 +179,13 @@ | |||
150 | reg = <0x24520 0x20>; | 179 | reg = <0x24520 0x20>; |
151 | 180 | ||
152 | phy0: ethernet-phy@0 { | 181 | phy0: ethernet-phy@0 { |
153 | interrupt-parent = <&mpic>; | 182 | interrupt-parent = <&gef_pic>; |
154 | interrupts = <0x0 0x1>; | 183 | interrupts = <0x9 0x4>; |
155 | reg = <1>; | 184 | reg = <1>; |
156 | }; | 185 | }; |
157 | phy2: ethernet-phy@2 { | 186 | phy2: ethernet-phy@2 { |
158 | interrupt-parent = <&mpic>; | 187 | interrupt-parent = <&gef_pic>; |
159 | interrupts = <0x0 0x1>; | 188 | interrupts = <0x8 0x4>; |
160 | reg = <3>; | 189 | reg = <3>; |
161 | }; | 190 | }; |
162 | }; | 191 | }; |