Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 1 | /* |
| 2 | * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module |
| 3 | * |
| 4 | * Copyright (C) 2012 Atmel, |
| 5 | * 2012 Nicolas Ferre <nicolas.ferre@atmel.com> |
| 6 | * |
| 7 | * Licensed under GPLv2 or later. |
| 8 | */ |
| 9 | |
| 10 | / { |
Ludovic Desroches | dcce6ce | 2012-04-02 20:44:20 +0200 | [diff] [blame] | 11 | memory { |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 12 | reg = <0x20000000 0x8000000>; |
| 13 | }; |
Jean-Christophe PLAGNIOL-VILLARD | f75622f | 2012-02-23 23:09:41 +0800 | [diff] [blame] | 14 | |
Jean-Christophe PLAGNIOL-VILLARD | eb5e76f | 2012-03-02 20:44:23 +0800 | [diff] [blame] | 15 | clocks { |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | ranges; |
| 19 | |
| 20 | main_clock: clock@0 { |
| 21 | compatible = "atmel,osc", "fixed-clock"; |
| 22 | clock-frequency = <12000000>; |
| 23 | }; |
| 24 | }; |
| 25 | |
Jean-Christophe PLAGNIOL-VILLARD | 86a89f4 | 2012-02-21 21:38:18 +0800 | [diff] [blame] | 26 | ahb { |
| 27 | nand0: nand@40000000 { |
| 28 | nand-bus-width = <8>; |
Josh Wu | 5314bc2 | 2013-01-23 20:47:09 +0800 | [diff] [blame] | 29 | nand-ecc-mode = "hw"; |
| 30 | atmel,has-pmecc; /* Enable PMECC */ |
| 31 | atmel,pmecc-cap = <2>; |
| 32 | atmel,pmecc-sector-size = <512>; |
Jean-Christophe PLAGNIOL-VILLARD | 86a89f4 | 2012-02-21 21:38:18 +0800 | [diff] [blame] | 33 | nand-on-flash-bbt; |
| 34 | status = "okay"; |
| 35 | |
| 36 | at91bootstrap@0 { |
| 37 | label = "at91bootstrap"; |
| 38 | reg = <0x0 0x40000>; |
| 39 | }; |
| 40 | |
| 41 | uboot@40000 { |
| 42 | label = "u-boot"; |
| 43 | reg = <0x40000 0x80000>; |
| 44 | }; |
| 45 | |
| 46 | ubootenv@c0000 { |
| 47 | label = "U-Boot Env"; |
| 48 | reg = <0xc0000 0x140000>; |
| 49 | }; |
| 50 | |
| 51 | kernel@200000 { |
| 52 | label = "kernel"; |
| 53 | reg = <0x200000 0x600000>; |
| 54 | }; |
| 55 | |
| 56 | rootfs@800000 { |
| 57 | label = "rootfs"; |
| 58 | reg = <0x800000 0x1f800000>; |
| 59 | }; |
| 60 | }; |
| 61 | }; |
| 62 | |
Jean-Christophe PLAGNIOL-VILLARD | f75622f | 2012-02-23 23:09:41 +0800 | [diff] [blame] | 63 | leds { |
| 64 | compatible = "gpio-leds"; |
| 65 | |
| 66 | pb18 { |
| 67 | label = "pb18"; |
| 68 | gpios = <&pioB 18 1>; |
| 69 | linux,default-trigger = "heartbeat"; |
| 70 | }; |
| 71 | |
| 72 | pd21 { |
| 73 | label = "pd21"; |
| 74 | gpios = <&pioD 21 0>; |
| 75 | }; |
| 76 | }; |
Nicolas Ferre | 467f1cf | 2012-01-26 11:59:20 +0100 | [diff] [blame] | 77 | }; |