Skip to content

Commit

Permalink
ARM: Kirkwood: Describe iConnects temperature sensor in DT.
Browse files Browse the repository at this point in the history
Now that we have I2C support in DT, describe the LM63 in
the DT file for the iConnect.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
  • Loading branch information
Andrew Lunn committed Jul 27, 2012
1 parent 157727d commit 48135a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/kirkwood-iconnect.dts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
};

ocp@f1000000 {
i2c@11000 {
status = "okay";

lm63: lm63@4c {
compatible = "national,lm63";
reg = <0x4c>;
};
};
serial@12000 {
clock-frequency = <200000000>;
status = "ok";
Expand Down
10 changes: 0 additions & 10 deletions arch/arm/mach-kirkwood/board-iconnect.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <linux/mv643xx_eth.h>
#include <linux/gpio.h>
#include <linux/leds.h>
#include <linux/i2c.h>
#include <linux/input.h>
#include <linux/gpio_keys.h>
#include <asm/mach/arch.h>
Expand Down Expand Up @@ -90,12 +89,6 @@ static unsigned int iconnect_mpp_config[] __initdata = {
0
};

static struct i2c_board_info __initdata iconnect_board_info[] = {
{
I2C_BOARD_INFO("lm63", 0x4c),
},
};

static struct mtd_partition iconnect_nand_parts[] = {
{
.name = "flash",
Expand Down Expand Up @@ -142,9 +135,6 @@ void __init iconnect_init(void)
{
kirkwood_mpp_conf(iconnect_mpp_config);
kirkwood_nand_init(ARRAY_AND_SIZE(iconnect_nand_parts), 25);
kirkwood_i2c_init();
i2c_register_board_info(0, iconnect_board_info,
ARRAY_SIZE(iconnect_board_info));

kirkwood_ehci_init();
kirkwood_ge00_init(&iconnect_ge00_data);
Expand Down

0 comments on commit 48135a6

Please sign in to comment.