diff options
author | Michal Simek <monstr@monstr.eu> | 2009-10-02 06:48:47 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-12-14 02:40:08 -0500 |
commit | 42a2478b789cb1b4335909e0fecc721c07be7d90 (patch) | |
tree | 1769ac33d86287054af07bbae99dca61140e3364 /arch/microblaze/platform/generic | |
parent | f40542532e96dda5506eb76badea322f2ae4731c (diff) |
microblaze: GPIO reset support
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/platform/generic')
-rw-r--r-- | arch/microblaze/platform/generic/system.dts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/microblaze/platform/generic/system.dts b/arch/microblaze/platform/generic/system.dts index 29993f62b30a..e00da8971c36 100644 --- a/arch/microblaze/platform/generic/system.dts +++ b/arch/microblaze/platform/generic/system.dts | |||
@@ -32,6 +32,7 @@ | |||
32 | #address-cells = <1>; | 32 | #address-cells = <1>; |
33 | #size-cells = <1>; | 33 | #size-cells = <1>; |
34 | compatible = "xlnx,microblaze"; | 34 | compatible = "xlnx,microblaze"; |
35 | hard-reset-gpios = <&LEDs_8Bit 2 1>; | ||
35 | model = "testing"; | 36 | model = "testing"; |
36 | DDR2_SDRAM: memory@90000000 { | 37 | DDR2_SDRAM: memory@90000000 { |
37 | device_type = "memory"; | 38 | device_type = "memory"; |
@@ -261,6 +262,33 @@ | |||
261 | xlnx,is-dual = <0x0>; | 262 | xlnx,is-dual = <0x0>; |
262 | xlnx,tri-default = <0xffffffff>; | 263 | xlnx,tri-default = <0xffffffff>; |
263 | xlnx,tri-default-2 = <0xffffffff>; | 264 | xlnx,tri-default-2 = <0xffffffff>; |
265 | #gpio-cells = <2>; | ||
266 | gpio-controller; | ||
267 | } ; | ||
268 | |||
269 | gpio-leds { | ||
270 | compatible = "gpio-leds"; | ||
271 | |||
272 | heartbeat { | ||
273 | label = "Heartbeat"; | ||
274 | gpios = <&LEDs_8Bit 4 1>; | ||
275 | linux,default-trigger = "heartbeat"; | ||
276 | }; | ||
277 | |||
278 | yellow { | ||
279 | label = "Yellow"; | ||
280 | gpios = <&LEDs_8Bit 5 1>; | ||
281 | }; | ||
282 | |||
283 | red { | ||
284 | label = "Red"; | ||
285 | gpios = <&LEDs_8Bit 6 1>; | ||
286 | }; | ||
287 | |||
288 | green { | ||
289 | label = "Green"; | ||
290 | gpios = <&LEDs_8Bit 7 1>; | ||
291 | }; | ||
264 | } ; | 292 | } ; |
265 | RS232_Uart_1: serial@84000000 { | 293 | RS232_Uart_1: serial@84000000 { |
266 | clock-frequency = <125000000>; | 294 | clock-frequency = <125000000>; |