1279377Simp/* 2279377Simp * Copyright (C) 2014 Marek Vasut <marex@denx.de> 3279377Simp * 4279377Simp * The code contained herein is licensed under the GNU General Public 5279377Simp * License. You may obtain a copy of the GNU General Public License 6279377Simp * Version 2 or later at the following locations: 7279377Simp * 8279377Simp * http://www.opensource.org/licenses/gpl-license.html 9279377Simp * http://www.gnu.org/copyleft/gpl.html 10279377Simp */ 11279377Simp 12279377Simp#include "imx28.dtsi" 13279377Simp 14279377Simp/ { 15279377Simp model = "DENX M28"; 16279377Simp compatible = "denx,m28", "fsl,imx28"; 17279377Simp 18279377Simp memory { 19279377Simp reg = <0x40000000 0x08000000>; 20279377Simp }; 21279377Simp 22279377Simp apb@80000000 { 23279377Simp apbh@80000000 { 24279377Simp gpmi-nand@8000c000 { 25279377Simp #address-cells = <1>; 26279377Simp #size-cells = <1>; 27279377Simp pinctrl-names = "default"; 28279377Simp pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>; 29279377Simp status = "okay"; 30279377Simp 31279377Simp partition@0 { 32279377Simp label = "bootloader"; 33279377Simp reg = <0x00000000 0x00300000>; 34279377Simp read-only; 35279377Simp }; 36279377Simp 37279377Simp partition@1 { 38279377Simp label = "environment"; 39279377Simp reg = <0x00300000 0x00080000>; 40279377Simp }; 41279377Simp 42279377Simp partition@2 { 43279377Simp label = "redundant-environment"; 44279377Simp reg = <0x00380000 0x00080000>; 45279377Simp }; 46279377Simp 47279377Simp partition@3 { 48279377Simp label = "kernel"; 49279377Simp reg = <0x00400000 0x00400000>; 50279377Simp }; 51279377Simp 52279377Simp partition@4 { 53279377Simp label = "filesystem"; 54279377Simp reg = <0x00800000 0x0f800000>; 55279377Simp }; 56279377Simp }; 57279377Simp }; 58279377Simp 59279377Simp apbx@80040000 { 60279377Simp i2c0: i2c@80058000 { 61279377Simp pinctrl-names = "default"; 62279377Simp pinctrl-0 = <&i2c0_pins_a>; 63279377Simp status = "okay"; 64279377Simp 65279377Simp rtc: rtc@68 { 66279377Simp compatible = "stm,m41t62"; 67279377Simp reg = <0x68>; 68279377Simp }; 69279377Simp }; 70279377Simp }; 71279377Simp }; 72279377Simp 73279377Simp regulators { 74279377Simp compatible = "simple-bus"; 75279377Simp #address-cells = <1>; 76279377Simp #size-cells = <0>; 77279377Simp 78279377Simp reg_3p3v: regulator@0 { 79279377Simp compatible = "regulator-fixed"; 80279377Simp reg = <0>; 81279377Simp regulator-name = "3P3V"; 82279377Simp regulator-min-microvolt = <3300000>; 83279377Simp regulator-max-microvolt = <3300000>; 84279377Simp regulator-always-on; 85279377Simp }; 86279377Simp }; 87279377Simp}; 88