Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0-or-later
 2/*
 3 * Copyright (C) 2014 Marek Vasut <marex@denx.de>
 
 
 
 
 
 
 
 4 */
 5
 6#include "imx28.dtsi"
 7
 8/ {
 9	model = "Aries/DENX M28";
10	compatible = "aries,m28", "denx,m28", "fsl,imx28";
11
12	memory@40000000 {
13		device_type = "memory";
14		reg = <0x40000000 0x08000000>;
15	};
16
17	apb@80000000 {
18		apbh@80000000 {
19			nand-controller@8000c000 {
20				#address-cells = <1>;
21				#size-cells = <1>;
22				pinctrl-names = "default";
23				pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
24				status = "okay";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25			};
26		};
27
28		apbx@80040000 {
29			i2c0: i2c@80058000 {
30				pinctrl-names = "default";
31				pinctrl-0 = <&i2c0_pins_a>;
32				status = "okay";
33
34				rtc: rtc@68 {
35					compatible = "st,m41t62";
36					reg = <0x68>;
37				};
38			};
39		};
40	};
41
42	regulators {
43		compatible = "simple-bus";
44		#address-cells = <1>;
45		#size-cells = <0>;
46
47		reg_3p3v: regulator@0 {
48			compatible = "regulator-fixed";
49			reg = <0>;
50			regulator-name = "3P3V";
51			regulator-min-microvolt = <3300000>;
52			regulator-max-microvolt = <3300000>;
53			regulator-always-on;
54		};
55	};
56};
v4.6
 
 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};