aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDomen Puncer <domen.puncer@telargo.com>2007-05-06 11:38:49 -0400
committerPaul Mackerras <paulus@samba.org>2007-05-07 06:31:15 -0400
commit5cae84c9710cbb780bcbc96ac842a9e539f059ad (patch)
tree1042167239a7e1d65757764a87be3a48bc029566
parent0d0f4bc70e19f8782996793c3905bce14a7cabd7 (diff)
[POWERPC] lite5200(b) support for i2c
Add fsl-i2c to mpc5200 i2c node in device tree, and enable FSL_SOC. Tested to work with built-in eeprom on lite5200b. Signed-off-by: Domen Puncer <domen.puncer@telargo.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r--arch/powerpc/boot/dts/lite5200.dts6
-rw-r--r--arch/powerpc/boot/dts/lite5200b.dts6
-rw-r--r--arch/powerpc/platforms/52xx/Kconfig1
3 files changed, 9 insertions, 4 deletions
diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts
index 6e2650dbca5..e13ac6ef05a 100644
--- a/arch/powerpc/boot/dts/lite5200.dts
+++ b/arch/powerpc/boot/dts/lite5200.dts
@@ -318,20 +318,22 @@
318 318
319 i2c@3d00 { 319 i2c@3d00 {
320 device_type = "i2c"; 320 device_type = "i2c";
321 compatible = "mpc5200-i2c"; 321 compatible = "mpc5200-i2c\0fsl-i2c";
322 cell-index = <0>; 322 cell-index = <0>;
323 reg = <3d00 40>; 323 reg = <3d00 40>;
324 interrupts = <2 f 0>; 324 interrupts = <2 f 0>;
325 interrupt-parent = <500>; 325 interrupt-parent = <500>;
326 fsl5200-clocking;
326 }; 327 };
327 328
328 i2c@3d40 { 329 i2c@3d40 {
329 device_type = "i2c"; 330 device_type = "i2c";
330 compatible = "mpc5200-i2c"; 331 compatible = "mpc5200-i2c\0fsl-i2c";
331 cell-index = <1>; 332 cell-index = <1>;
332 reg = <3d40 40>; 333 reg = <3d40 40>;
333 interrupts = <2 10 0>; 334 interrupts = <2 10 0>;
334 interrupt-parent = <500>; 335 interrupt-parent = <500>;
336 fsl5200-clocking;
335 }; 337 };
336 sram@8000 { 338 sram@8000 {
337 device_type = "sram"; 339 device_type = "sram";
diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts
index 5ba8100c1b3..00211b39a34 100644
--- a/arch/powerpc/boot/dts/lite5200b.dts
+++ b/arch/powerpc/boot/dts/lite5200b.dts
@@ -323,20 +323,22 @@
323 323
324 i2c@3d00 { 324 i2c@3d00 {
325 device_type = "i2c"; 325 device_type = "i2c";
326 compatible = "mpc5200b-i2c\0mpc5200-i2c"; 326 compatible = "mpc5200b-i2c\0mpc5200-i2c\0fsl-i2c";
327 cell-index = <0>; 327 cell-index = <0>;
328 reg = <3d00 40>; 328 reg = <3d00 40>;
329 interrupts = <2 f 0>; 329 interrupts = <2 f 0>;
330 interrupt-parent = <500>; 330 interrupt-parent = <500>;
331 fsl5200-clocking;
331 }; 332 };
332 333
333 i2c@3d40 { 334 i2c@3d40 {
334 device_type = "i2c"; 335 device_type = "i2c";
335 compatible = "mpc5200b-i2c\0mpc5200-i2c"; 336 compatible = "mpc5200b-i2c\0mpc5200-i2c\0fsl-i2c";
336 cell-index = <1>; 337 cell-index = <1>;
337 reg = <3d40 40>; 338 reg = <3d40 40>;
338 interrupts = <2 10 0>; 339 interrupts = <2 10 0>;
339 interrupt-parent = <500>; 340 interrupt-parent = <500>;
341 fsl5200-clocking;
340 }; 342 };
341 sram@8000 { 343 sram@8000 {
342 device_type = "sram"; 344 device_type = "sram";
diff --git a/arch/powerpc/platforms/52xx/Kconfig b/arch/powerpc/platforms/52xx/Kconfig
index bc4aa4a80a1..3ffaa066c2c 100644
--- a/arch/powerpc/platforms/52xx/Kconfig
+++ b/arch/powerpc/platforms/52xx/Kconfig
@@ -1,5 +1,6 @@
1config PPC_MPC52xx 1config PPC_MPC52xx
2 bool 2 bool
3 select FSL_SOC
3 default n 4 default n
4 5
5config PPC_MPC5200 6config PPC_MPC5200