• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright 2011 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
11 */
12
13/dts-v1/;
14/include/ "imx53.dtsi"
15
16/ {
17	model = "Freescale i.MX53 Automotive Reference Design Board";
18	compatible = "fsl,imx53-ard", "fsl,imx53";
19
20	chosen {
21		bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait";
22	};
23
24	memory {
25		reg = <0x70000000 0x40000000>;
26	};
27
28	soc {
29		aips@50000000 { /* AIPS1 */
30			spba@50000000 {
31				esdhc@50004000 { /* ESDHC1 */
32					cd-gpios = <&gpio1 1 0>;
33					wp-gpios = <&gpio1 9 0>;
34					status = "okay";
35				};
36			};
37
38			wdog@53f98000 { /* WDOG1 */
39				status = "okay";
40			};
41
42			iomuxc@53fa8000 {
43				compatible = "fsl,imx53-iomuxc-ard";
44				reg = <0x53fa8000 0x4000>;
45			};
46
47			uart1: uart@53fbc000 {
48				status = "okay";
49			};
50		};
51
52		aips@60000000 {	/* AIPS2 */
53			sdma@63fb0000 {
54				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
55			};
56		};
57	};
58
59	eim-cs1@f4000000 {
60		#address-cells = <1>;
61		#size-cells = <1>;
62		compatible = "fsl,eim-bus", "simple-bus";
63		reg = <0xf4000000 0x3ff0000>;
64		ranges;
65
66		lan9220@f4000000 {
67			compatible = "smsc,lan9220", "smsc,lan9115";
68			reg = <0xf4000000 0x2000000>;
69			phy-mode = "mii";
70			interrupt-parent = <&gpio2>;
71			interrupts = <31>;
72			reg-io-width = <4>;
73			/*
74			 * VDD33A and VDDVARIO of LAN9220 are supplied by
75			 * SW4_3V3 of LTC3589.  Before the regulator driver
76			 * for this PMIC is available, we use a fixed dummy
77			 * 3V3 regulator to get LAN9220 driver probing work.
78			 */
79			vdd33a-supply = <&reg_3p3v>;
80			vddvario-supply = <&reg_3p3v>;
81			smsc,irq-push-pull;
82		};
83	};
84
85	regulators {
86		compatible = "simple-bus";
87
88		reg_3p3v: 3p3v {
89			compatible = "regulator-fixed";
90			regulator-name = "3P3V";
91			regulator-min-microvolt = <3300000>;
92			regulator-max-microvolt = <3300000>;
93			regulator-always-on;
94		};
95	};
96
97	gpio-keys {
98		compatible = "gpio-keys";
99
100		home {
101			label = "Home";
102			gpios = <&gpio5 10 0>;
103			linux,code = <102>; /* KEY_HOME */
104			gpio-key,wakeup;
105		};
106
107		back {
108			label = "Back";
109			gpios = <&gpio5 11 0>;
110			linux,code = <158>; /* KEY_BACK */
111			gpio-key,wakeup;
112		};
113
114		program {
115			label = "Program";
116			gpios = <&gpio5 12 0>;
117			linux,code = <362>; /* KEY_PROGRAM */
118			gpio-key,wakeup;
119		};
120
121		volume-up {
122			label = "Volume Up";
123			gpios = <&gpio5 13 0>;
124			linux,code = <115>; /* KEY_VOLUMEUP */
125		};
126
127		volume-down {
128			label = "Volume Down";
129			gpios = <&gpio4 0 0>;
130			linux,code = <114>; /* KEY_VOLUMEDOWN */
131		};
132	};
133};
134