Commit | Line | Data |
---|---|---|
9daaf31a SG |
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/ "imx51.dtsi" | |
15 | ||
16 | / { | |
17 | model = "Freescale i.MX51 Babbage Board"; | |
18 | compatible = "fsl,imx51-babbage", "fsl,imx51"; | |
19 | ||
20 | chosen { | |
21 | bootargs = "console=ttymxc0,115200 root=/dev/mmcblk0p3 rootwait"; | |
22 | }; | |
23 | ||
24 | memory { | |
25 | reg = <0x90000000 0x20000000>; | |
26 | }; | |
27 | ||
28 | soc { | |
29 | aips@70000000 { /* aips-1 */ | |
30 | spba@70000000 { | |
31 | esdhc@70004000 { /* ESDHC1 */ | |
32 | fsl,cd-internal; | |
33 | fsl,wp-internal; | |
34 | status = "okay"; | |
35 | }; | |
36 | ||
37 | esdhc@70008000 { /* ESDHC2 */ | |
38 | cd-gpios = <&gpio0 6 0>; /* GPIO1_6 */ | |
39 | wp-gpios = <&gpio0 5 0>; /* GPIO1_5 */ | |
40 | status = "okay"; | |
41 | }; | |
42 | ||
43 | uart2: uart@7000c000 { /* UART3 */ | |
44 | fsl,uart-has-rtscts; | |
45 | status = "okay"; | |
46 | }; | |
47 | ||
48 | ecspi@70010000 { /* ECSPI1 */ | |
49 | fsl,spi-num-chipselects = <2>; | |
50 | cs-gpios = <&gpio3 24 0>, /* GPIO4_24 */ | |
51 | <&gpio3 25 0>; /* GPIO4_25 */ | |
52 | status = "okay"; | |
53 | ||
54 | pmic: mc13892@0 { | |
55 | #address-cells = <1>; | |
56 | #size-cells = <0>; | |
57 | compatible = "fsl,mc13892"; | |
58 | spi-max-frequency = <6000000>; | |
59 | reg = <0>; | |
60 | mc13xxx-irq-gpios = <&gpio0 8 0>; /* GPIO1_8 */ | |
61 | fsl,mc13xxx-uses-regulator; | |
62 | }; | |
63 | ||
64 | flash: at45db321d@1 { | |
65 | #address-cells = <1>; | |
66 | #size-cells = <1>; | |
67 | compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; | |
68 | spi-max-frequency = <25000000>; | |
69 | reg = <1>; | |
70 | ||
71 | partition@0 { | |
72 | label = "U-Boot"; | |
73 | reg = <0x0 0x40000>; | |
74 | read-only; | |
75 | }; | |
76 | ||
77 | partition@40000 { | |
78 | label = "Kernel"; | |
79 | reg = <0x40000 0x3c0000>; | |
80 | }; | |
81 | }; | |
82 | }; | |
83 | }; | |
84 | ||
85 | wdog@73f98000 { /* WDOG1 */ | |
86 | status = "okay"; | |
87 | }; | |
88 | ||
89 | iomuxc@73fa8000 { | |
90 | compatible = "fsl,imx51-iomuxc-babbage"; | |
91 | reg = <0x73fa8000 0x4000>; | |
92 | }; | |
93 | ||
94 | uart0: uart@73fbc000 { | |
95 | fsl,uart-has-rtscts; | |
96 | status = "okay"; | |
97 | }; | |
98 | ||
99 | uart1: uart@73fc0000 { | |
100 | status = "okay"; | |
101 | }; | |
102 | }; | |
103 | ||
104 | aips@80000000 { /* aips-2 */ | |
105 | sdma@83fb0000 { | |
106 | fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin"; | |
107 | }; | |
108 | ||
109 | i2c@83fc4000 { /* I2C2 */ | |
110 | status = "okay"; | |
111 | ||
112 | codec: sgtl5000@0a { | |
113 | compatible = "fsl,sgtl5000"; | |
114 | reg = <0x0a>; | |
115 | }; | |
116 | }; | |
117 | ||
118 | fec@83fec000 { | |
119 | phy-mode = "mii"; | |
120 | status = "okay"; | |
121 | }; | |
122 | }; | |
123 | }; | |
124 | ||
125 | gpio-keys { | |
126 | compatible = "gpio-keys"; | |
127 | ||
128 | power { | |
129 | label = "Power Button"; | |
130 | gpios = <&gpio1 21 0>; | |
131 | linux,code = <116>; /* KEY_POWER */ | |
132 | gpio-key,wakeup; | |
133 | }; | |
134 | }; | |
135 | }; |