diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2011-10-16 20:42:16 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-10-18 06:42:57 -0400 |
commit | 73d2b4cdfc09a7a858b3ea1f32f6218b21439b96 (patch) | |
tree | d17b0b7514f39b11fd1e0e7d3719f58736e5fb00 /arch/arm/boot/dts/imx53-qsb.dts | |
parent | 976d167615b64e14bc1491ca51d424e2ba9a5e84 (diff) |
arm/mx5: add device tree support for imx53 boards
It adds device tree support for imx53 boards.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boot/dts/imx53-qsb.dts')
-rw-r--r-- | arch/arm/boot/dts/imx53-qsb.dts | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx53-qsb.dts b/arch/arm/boot/dts/imx53-qsb.dts new file mode 100644 index 000000000000..ae6de6d0c3f1 --- /dev/null +++ b/arch/arm/boot/dts/imx53-qsb.dts | |||
@@ -0,0 +1,125 @@ | |||
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 Quick Start Board"; | ||
18 | compatible = "fsl,imx53-qsb", "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 = <&gpio2 13 0>; /* GPIO3_13 */ | ||
33 | status = "okay"; | ||
34 | }; | ||
35 | |||
36 | esdhc@50020000 { /* ESDHC3 */ | ||
37 | cd-gpios = <&gpio2 11 0>; /* GPIO3_11 */ | ||
38 | wp-gpios = <&gpio2 12 0>; /* GPIO3_12 */ | ||
39 | status = "okay"; | ||
40 | }; | ||
41 | }; | ||
42 | |||
43 | wdog@53f98000 { /* WDOG1 */ | ||
44 | status = "okay"; | ||
45 | }; | ||
46 | |||
47 | iomuxc@53fa8000 { | ||
48 | compatible = "fsl,imx53-iomuxc-qsb"; | ||
49 | reg = <0x53fa8000 0x4000>; | ||
50 | }; | ||
51 | |||
52 | uart0: uart@53fbc000 { /* UART1 */ | ||
53 | status = "okay"; | ||
54 | }; | ||
55 | }; | ||
56 | |||
57 | aips@60000000 { /* AIPS2 */ | ||
58 | sdma@63fb0000 { | ||
59 | fsl,sdma-ram-script-name = "imx/sdma/sdma-imx53.bin"; | ||
60 | }; | ||
61 | |||
62 | i2c@63fc4000 { /* I2C2 */ | ||
63 | status = "okay"; | ||
64 | |||
65 | codec: sgtl5000@0a { | ||
66 | compatible = "fsl,sgtl5000"; | ||
67 | reg = <0x0a>; | ||
68 | }; | ||
69 | }; | ||
70 | |||
71 | i2c@63fc8000 { /* I2C1 */ | ||
72 | status = "okay"; | ||
73 | |||
74 | accelerometer: mma8450@1c { | ||
75 | compatible = "fsl,mma8450"; | ||
76 | reg = <0x1c>; | ||
77 | }; | ||
78 | |||
79 | pmic: dialog@48 { | ||
80 | compatible = "dialog,da9053", "dialog,da9052"; | ||
81 | reg = <0x48>; | ||
82 | }; | ||
83 | }; | ||
84 | |||
85 | fec@63fec000 { | ||
86 | phy-mode = "rmii"; | ||
87 | phy-reset-gpios = <&gpio6 6 0>; /* GPIO7_6 */ | ||
88 | status = "okay"; | ||
89 | }; | ||
90 | }; | ||
91 | }; | ||
92 | |||
93 | gpio-keys { | ||
94 | compatible = "gpio-keys"; | ||
95 | |||
96 | power { | ||
97 | label = "Power Button"; | ||
98 | gpios = <&gpio0 8 0>; /* GPIO1_8 */ | ||
99 | linux,code = <116>; /* KEY_POWER */ | ||
100 | gpio-key,wakeup; | ||
101 | }; | ||
102 | |||
103 | volume-up { | ||
104 | label = "Volume Up"; | ||
105 | gpios = <&gpio1 14 0>; /* GPIO2_14 */ | ||
106 | linux,code = <115>; /* KEY_VOLUMEUP */ | ||
107 | }; | ||
108 | |||
109 | volume-down { | ||
110 | label = "Volume Down"; | ||
111 | gpios = <&gpio1 15 0>; /* GPIO2_15 */ | ||
112 | linux,code = <114>; /* KEY_VOLUMEDOWN */ | ||
113 | }; | ||
114 | }; | ||
115 | |||
116 | leds { | ||
117 | compatible = "gpio-leds"; | ||
118 | |||
119 | user { | ||
120 | label = "Heartbeat"; | ||
121 | gpios = <&gpio6 7 0>; /* GPIO7_7 */ | ||
122 | linux,default-trigger = "heartbeat"; | ||
123 | }; | ||
124 | }; | ||
125 | }; | ||