blob: da895e93a999113e0585905126dd980f3029e80b [file] [log] [blame]
Shawn Guo73d2b4c2011-10-17 08:42:16 +08001/*
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
Shawn Guo73d2b4c2011-10-17 08:42:16 +080020 memory {
21 reg = <0x70000000 0x40000000>;
22 };
23
24 soc {
25 aips@50000000 { /* AIPS1 */
26 spba@50000000 {
27 esdhc@50004000 { /* ESDHC1 */
Richard Zhao4d191862011-12-14 09:26:44 +080028 cd-gpios = <&gpio1 1 0>;
29 wp-gpios = <&gpio1 9 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080030 status = "okay";
31 };
32 };
33
34 wdog@53f98000 { /* WDOG1 */
35 status = "okay";
36 };
37
38 iomuxc@53fa8000 {
39 compatible = "fsl,imx53-iomuxc-ard";
40 reg = <0x53fa8000 0x4000>;
41 };
42
Shawn Guo0c456cf2012-04-02 14:39:26 +080043 uart1: serial@53fbc000 {
Shawn Guo73d2b4c2011-10-17 08:42:16 +080044 status = "okay";
45 };
46 };
47
48 aips@60000000 { /* AIPS2 */
49 sdma@63fb0000 {
50 fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin";
51 };
52 };
53 };
54
55 eim-cs1@f4000000 {
56 #address-cells = <1>;
57 #size-cells = <1>;
58 compatible = "fsl,eim-bus", "simple-bus";
59 reg = <0xf4000000 0x3ff0000>;
60 ranges;
61
62 lan9220@f4000000 {
63 compatible = "smsc,lan9220", "smsc,lan9115";
64 reg = <0xf4000000 0x2000000>;
65 phy-mode = "mii";
Richard Zhao4d191862011-12-14 09:26:44 +080066 interrupt-parent = <&gpio2>;
Shawn Guo65dee072012-08-02 22:08:26 +080067 interrupts = <31 0x8>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080068 reg-io-width = <4>;
Shawn Guo1eec0c52012-08-02 22:48:39 +080069 /*
70 * VDD33A and VDDVARIO of LAN9220 are supplied by
71 * SW4_3V3 of LTC3589. Before the regulator driver
72 * for this PMIC is available, we use a fixed dummy
73 * 3V3 regulator to get LAN9220 driver probing work.
74 */
75 vdd33a-supply = <&reg_3p3v>;
76 vddvario-supply = <&reg_3p3v>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080077 smsc,irq-push-pull;
78 };
79 };
80
Shawn Guo1eec0c52012-08-02 22:48:39 +080081 regulators {
82 compatible = "simple-bus";
83
84 reg_3p3v: 3p3v {
85 compatible = "regulator-fixed";
86 regulator-name = "3P3V";
87 regulator-min-microvolt = <3300000>;
88 regulator-max-microvolt = <3300000>;
89 regulator-always-on;
90 };
91 };
92
Shawn Guo73d2b4c2011-10-17 08:42:16 +080093 gpio-keys {
94 compatible = "gpio-keys";
95
96 home {
97 label = "Home";
Richard Zhao4d191862011-12-14 09:26:44 +080098 gpios = <&gpio5 10 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +080099 linux,code = <102>; /* KEY_HOME */
100 gpio-key,wakeup;
101 };
102
103 back {
104 label = "Back";
Richard Zhao4d191862011-12-14 09:26:44 +0800105 gpios = <&gpio5 11 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800106 linux,code = <158>; /* KEY_BACK */
107 gpio-key,wakeup;
108 };
109
110 program {
111 label = "Program";
Richard Zhao4d191862011-12-14 09:26:44 +0800112 gpios = <&gpio5 12 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800113 linux,code = <362>; /* KEY_PROGRAM */
114 gpio-key,wakeup;
115 };
116
117 volume-up {
118 label = "Volume Up";
Richard Zhao4d191862011-12-14 09:26:44 +0800119 gpios = <&gpio5 13 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800120 linux,code = <115>; /* KEY_VOLUMEUP */
121 };
122
123 volume-down {
124 label = "Volume Down";
Richard Zhao4d191862011-12-14 09:26:44 +0800125 gpios = <&gpio4 0 0>;
Shawn Guo73d2b4c2011-10-17 08:42:16 +0800126 linux,code = <114>; /* KEY_VOLUMEDOWN */
127 };
128 };
129};