Marek Vasut | acb7ea5 | 2014-06-25 20:48:33 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 Marek Vasut <marex@denx.de> |
| 3 | * |
| 4 | * The code contained herein is licensed under the GNU General Public |
| 5 | * License. You may obtain a copy of the GNU General Public License |
| 6 | * Version 2 or later at the following locations: |
| 7 | * |
| 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ |
| 11 | |
| 12 | #include "imx28.dtsi" |
| 13 | |
| 14 | / { |
| 15 | model = "DENX M28"; |
| 16 | compatible = "denx,m28", "fsl,imx28"; |
| 17 | |
| 18 | memory { |
| 19 | reg = <0x40000000 0x08000000>; |
| 20 | }; |
| 21 | |
| 22 | apb@80000000 { |
| 23 | apbh@80000000 { |
| 24 | gpmi-nand@8000c000 { |
| 25 | #address-cells = <1>; |
| 26 | #size-cells = <1>; |
| 27 | pinctrl-names = "default"; |
| 28 | pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>; |
| 29 | status = "okay"; |
| 30 | |
| 31 | partition@0 { |
| 32 | label = "bootloader"; |
| 33 | reg = <0x00000000 0x00300000>; |
| 34 | read-only; |
| 35 | }; |
| 36 | |
| 37 | partition@1 { |
| 38 | label = "environment"; |
| 39 | reg = <0x00300000 0x00080000>; |
| 40 | }; |
| 41 | |
| 42 | partition@2 { |
| 43 | label = "redundant-environment"; |
| 44 | reg = <0x00380000 0x00080000>; |
| 45 | }; |
| 46 | |
| 47 | partition@3 { |
| 48 | label = "kernel"; |
| 49 | reg = <0x00400000 0x00400000>; |
| 50 | }; |
| 51 | |
| 52 | partition@4 { |
| 53 | label = "filesystem"; |
| 54 | reg = <0x00800000 0x0f800000>; |
| 55 | }; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | apbx@80040000 { |
| 60 | i2c0: i2c@80058000 { |
| 61 | pinctrl-names = "default"; |
| 62 | pinctrl-0 = <&i2c0_pins_a>; |
| 63 | status = "okay"; |
| 64 | |
| 65 | rtc: rtc@68 { |
| 66 | compatible = "stm,m41t62"; |
| 67 | reg = <0x68>; |
| 68 | }; |
| 69 | }; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | regulators { |
| 74 | compatible = "simple-bus"; |
| 75 | #address-cells = <1>; |
| 76 | #size-cells = <0>; |
| 77 | |
| 78 | reg_3p3v: regulator@0 { |
| 79 | compatible = "regulator-fixed"; |
| 80 | reg = <0>; |
| 81 | regulator-name = "3P3V"; |
| 82 | regulator-min-microvolt = <3300000>; |
| 83 | regulator-max-microvolt = <3300000>; |
| 84 | regulator-always-on; |
| 85 | }; |
| 86 | }; |
| 87 | }; |