diff options
| author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2010-06-10 21:52:34 -0400 |
|---|---|---|
| committer | Grant Likely <grant.likely@secretlab.ca> | 2010-06-15 02:04:31 -0400 |
| commit | a2c9a603c72be0d9a0780f196bff53ab0d517347 (patch) | |
| tree | 72672727be91ede397ac416ba0c9e48e3931b185 | |
| parent | 3bbf9b9b0fe74b5149d922a5d893be6954b61198 (diff) | |
powerpc/5200: add lite5200 onboard I2C eeprom and flash
Add dts descriptions for onboard 256 byte I2C eeprom (pcf8582C-2)
and 16MB NOR flash (am29lv652d).
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
[grant.likely@secretlab.ca: added lite5200b eeprom and declared lite5200 gpios]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| -rw-r--r-- | arch/powerpc/boot/dts/lite5200.dts | 24 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/lite5200b.dts | 5 |
2 files changed, 29 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/lite5200.dts b/arch/powerpc/boot/dts/lite5200.dts index 82ff2b13bc37..d1502ef85edb 100644 --- a/arch/powerpc/boot/dts/lite5200.dts +++ b/arch/powerpc/boot/dts/lite5200.dts | |||
| @@ -134,12 +134,16 @@ | |||
| 134 | compatible = "fsl,mpc5200-gpio"; | 134 | compatible = "fsl,mpc5200-gpio"; |
| 135 | reg = <0xb00 0x40>; | 135 | reg = <0xb00 0x40>; |
| 136 | interrupts = <1 7 0>; | 136 | interrupts = <1 7 0>; |
| 137 | gpio-controller; | ||
| 138 | #gpio-cells = <2>; | ||
| 137 | }; | 139 | }; |
| 138 | 140 | ||
| 139 | gpio@c00 { | 141 | gpio@c00 { |
| 140 | compatible = "fsl,mpc5200-gpio-wkup"; | 142 | compatible = "fsl,mpc5200-gpio-wkup"; |
| 141 | reg = <0xc00 0x40>; | 143 | reg = <0xc00 0x40>; |
| 142 | interrupts = <1 8 0 0 3 0>; | 144 | interrupts = <1 8 0 0 3 0>; |
| 145 | gpio-controller; | ||
| 146 | #gpio-cells = <2>; | ||
| 143 | }; | 147 | }; |
| 144 | 148 | ||
| 145 | spi@f00 { | 149 | spi@f00 { |
| @@ -255,7 +259,13 @@ | |||
| 255 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; | 259 | compatible = "fsl,mpc5200-i2c","fsl-i2c"; |
| 256 | reg = <0x3d40 0x40>; | 260 | reg = <0x3d40 0x40>; |
| 257 | interrupts = <2 16 0>; | 261 | interrupts = <2 16 0>; |
| 262 | |||
| 263 | eeprom@50 { | ||
| 264 | compatible = "atmel,24c02"; | ||
| 265 | reg = <0x50>; | ||
| 266 | }; | ||
| 258 | }; | 267 | }; |
| 268 | |||
| 259 | sram@8000 { | 269 | sram@8000 { |
| 260 | compatible = "fsl,mpc5200-sram"; | 270 | compatible = "fsl,mpc5200-sram"; |
| 261 | reg = <0x8000 0x4000>; | 271 | reg = <0x8000 0x4000>; |
| @@ -281,4 +291,18 @@ | |||
| 281 | 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 | 291 | 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 |
| 282 | 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; | 292 | 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; |
| 283 | }; | 293 | }; |
| 294 | |||
| 295 | localbus { | ||
| 296 | compatible = "fsl,mpc5200-lpb","simple-bus"; | ||
| 297 | #address-cells = <2>; | ||
| 298 | #size-cells = <1>; | ||
| 299 | |||
| 300 | ranges = <0 0 0xff000000 0x01000000>; | ||
| 301 | |||
| 302 | flash@0,0 { | ||
| 303 | compatible = "amd,am29lv652d", "cfi-flash"; | ||
| 304 | reg = <0 0 0x01000000>; | ||
| 305 | bank-width = <1>; | ||
| 306 | }; | ||
| 307 | }; | ||
| 284 | }; | 308 | }; |
diff --git a/arch/powerpc/boot/dts/lite5200b.dts b/arch/powerpc/boot/dts/lite5200b.dts index e45a63be3a86..59702ace900f 100644 --- a/arch/powerpc/boot/dts/lite5200b.dts +++ b/arch/powerpc/boot/dts/lite5200b.dts | |||
| @@ -259,6 +259,11 @@ | |||
| 259 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; | 259 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
| 260 | reg = <0x3d40 0x40>; | 260 | reg = <0x3d40 0x40>; |
| 261 | interrupts = <2 16 0>; | 261 | interrupts = <2 16 0>; |
| 262 | |||
| 263 | eeprom@50 { | ||
| 264 | compatible = "atmel,24c02"; | ||
| 265 | reg = <0x50>; | ||
| 266 | }; | ||
| 262 | }; | 267 | }; |
| 263 | 268 | ||
| 264 | sram@8000 { | 269 | sram@8000 { |
