diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2012-09-12 06:36:03 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2012-09-12 15:57:11 -0400 |
commit | c8c4e2c3d911cb004db1ae8483df3795d8d20459 (patch) | |
tree | 5ddc692c064cc21ddfbd50a7e0a6f2080b563edd | |
parent | 3a0f880160ba1179db291d72062b13f2d373b9ee (diff) |
powerpc/p5040: fix dtb build warning of p5040ds.dtb
Device node adt7461 was wrongly added in p5040ds.dts, it should be added
into i2c instead of localbus, when build p5040ds.dtb, a warning will dump:
Warning (reg_format): "reg" property in
/localbus@ffe124000/nand@2,0/adt7461@4c has invalid length (4 bytes)
(#address-cells == 1, #size-cells == 1)
This was introduced by:
commit ea6b1ba692bcb5f6e39f409a78cf8b04fdf23baa
Author: Jia Hongtao <B38951@freescale.com>
Date: Tue Aug 28 10:00:55 2012 +0800
powerpc: add adt7461 thermal monitor support to applicable boards
Add thermal monitor support to following boards:
P1022DS, MPC8536DS, P2041RDB, P3041DS, P4080DS, P5020DS, P5040DS
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/boot/dts/p5040ds.dts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/boot/dts/p5040ds.dts b/arch/powerpc/boot/dts/p5040ds.dts index 8165c93d66b5..860b5ccf76c0 100644 --- a/arch/powerpc/boot/dts/p5040ds.dts +++ b/arch/powerpc/boot/dts/p5040ds.dts | |||
@@ -95,6 +95,10 @@ | |||
95 | reg = <0x68>; | 95 | reg = <0x68>; |
96 | interrupts = <0x1 0x1 0 0>; | 96 | interrupts = <0x1 0x1 0 0>; |
97 | }; | 97 | }; |
98 | adt7461@4c { | ||
99 | compatible = "adi,adt7461"; | ||
100 | reg = <0x4c>; | ||
101 | }; | ||
98 | }; | 102 | }; |
99 | }; | 103 | }; |
100 | 104 | ||
@@ -146,10 +150,6 @@ | |||
146 | label = "NAND Writable User area"; | 150 | label = "NAND Writable User area"; |
147 | reg = <0x1f000000 0x01000000>; | 151 | reg = <0x1f000000 0x01000000>; |
148 | }; | 152 | }; |
149 | adt7461@4c { | ||
150 | compatible = "adi,adt7461"; | ||
151 | reg = <0x4c>; | ||
152 | }; | ||
153 | }; | 153 | }; |
154 | 154 | ||
155 | board-control@3,0 { | 155 | board-control@3,0 { |