Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2012 Philippe Reynes <tremyfr@yahoo.fr> |
| 3 | * Copyright 2012 Armadeus Systems <support@armadeus.com> |
| 4 | * |
| 5 | * Based on code which is: Copyright 2012 Sascha Hauer, Pengutronix |
| 6 | * |
| 7 | * The code contained herein is licensed under the GNU General Public |
| 8 | * License. You may obtain a copy of the GNU General Public License |
| 9 | * Version 2 or later at the following locations: |
| 10 | * |
| 11 | * http://www.opensource.org/licenses/gpl-license.html |
| 12 | * http://www.gnu.org/copyleft/gpl.html |
| 13 | */ |
| 14 | |
| 15 | /dts-v1/; |
Shawn Guo | 36dffd8 | 2013-04-07 10:49:34 +0800 | [diff] [blame] | 16 | #include "imx27.dtsi" |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | model = "Armadeus Systems APF27 module"; |
| 20 | compatible = "armadeus,imx27-apf27", "fsl,imx27"; |
| 21 | |
| 22 | memory { |
| 23 | reg = <0xa0000000 0x04000000>; |
| 24 | }; |
| 25 | |
| 26 | clocks { |
| 27 | #address-cells = <1>; |
| 28 | #size-cells = <0>; |
| 29 | |
| 30 | osc26m { |
| 31 | compatible = "fsl,imx-osc26m", "fixed-clock"; |
| 32 | clock-frequency = <0>; |
| 33 | }; |
| 34 | }; |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 35 | }; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 36 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 37 | &uart1 { |
| 38 | status = "okay"; |
| 39 | }; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 40 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 41 | &fec { |
| 42 | status = "okay"; |
| 43 | }; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 44 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 45 | &nfc { |
| 46 | status = "okay"; |
| 47 | nand-bus-width = <16>; |
| 48 | nand-ecc-mode = "hw"; |
| 49 | nand-on-flash-bbt; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 50 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 51 | partition@0 { |
| 52 | label = "u-boot"; |
| 53 | reg = <0x0 0x100000>; |
| 54 | }; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 55 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 56 | partition@100000 { |
| 57 | label = "env"; |
| 58 | reg = <0x100000 0x80000>; |
| 59 | }; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 60 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 61 | partition@180000 { |
| 62 | label = "env2"; |
| 63 | reg = <0x180000 0x80000>; |
| 64 | }; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 65 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 66 | partition@200000 { |
| 67 | label = "firmware"; |
| 68 | reg = <0x200000 0x80000>; |
| 69 | }; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 70 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 71 | partition@280000 { |
| 72 | label = "dtb"; |
| 73 | reg = <0x280000 0x80000>; |
| 74 | }; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 75 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 76 | partition@300000 { |
| 77 | label = "kernel"; |
| 78 | reg = <0x300000 0x500000>; |
| 79 | }; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 80 | |
Shawn Guo | be4ccfc | 2012-12-31 11:32:48 +0800 | [diff] [blame] | 81 | partition@800000 { |
| 82 | label = "rootfs"; |
| 83 | reg = <0x800000 0xf800000>; |
Philippe Reynes | 632506a | 2012-11-12 21:28:33 +0100 | [diff] [blame] | 84 | }; |
| 85 | }; |