ARM: apx4devkit: fix the bus-width of SSP0 to 4 bits
[linux-2.6/btrfs-unstable.git] / arch / arm / boot / dts / apx4devkit.dts
blob35b75131ddc933c88005b2be9943ecbf1e310310
1 /dts-v1/;
2 /include/ "imx28.dtsi"
4 / {
5         model = "Bluegiga APX4 Development Kit";
6         compatible = "bluegiga,apx4devkit", "fsl,imx28";
8         memory {
9                 reg = <0x40000000 0x04000000>;
10         };
12         apb@80000000 {
13                 apbh@80000000 {
14                         gpmi-nand@8000c000 {
15                                 pinctrl-names = "default";
16                                 pinctrl-0 = <&gpmi_pins_a &gpmi_status_cfg>;
17                                 status = "okay";
18                         };
20                         ssp0: ssp@80010000 {
21                                 compatible = "fsl,imx28-mmc";
22                                 pinctrl-names = "default";
23                                 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_sck_cfg>;
24                                 bus-width = <4>;
25                                 status = "okay";
26                         };
28                         pinctrl@80018000 {
29                                 pinctrl-names = "default";
30                                 pinctrl-0 = <&hog_pins_a>;
32                                 hog_pins_a: hog-gpios@0 {
33                                         reg = <0>;
34                                         fsl,pinmux-ids = <
35                                                 0x31c3 /* MX28_PAD_PWM3__GPIO_3_28 */
36                                                 0x31e3 /* MX28_PAD_LCD_RESET__GPIO_3_30 */
37                                         >;
38                                         fsl,drive-strength = <0>;
39                                         fsl,voltage = <1>;
40                                         fsl,pull-up = <0>;
41                                 };
43                                 lcdif_pins_apx4: lcdif-apx4@0 {
44                                         reg = <0>;
45                                         fsl,pinmux-ids = <
46                                                 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
47                                                 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
48                                                 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
49                                                 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
50                                         >;
51                                         fsl,drive-strength = <0>;
52                                         fsl,voltage = <1>;
53                                         fsl,pull-up = <0>;
54                                 };
55                         };
57                         lcdif@80030000 {
58                                 pinctrl-names = "default";
59                                 pinctrl-0 = <&lcdif_24bit_pins_a
60                                              &lcdif_pins_apx4>;
61                                 status = "okay";
62                         };
63                 };
65                 apbx@80040000 {
66                         saif0: saif@80042000 {
67                                 pinctrl-names = "default";
68                                 pinctrl-0 = <&saif0_pins_a>;
69                                 status = "okay";
70                         };
72                         saif1: saif@80046000 {
73                                 pinctrl-names = "default";
74                                 pinctrl-0 = <&saif1_pins_a>;
75                                 fsl,saif-master = <&saif0>;
76                                 status = "okay";
77                         };
79                         i2c0: i2c@80058000 {
80                                 pinctrl-names = "default";
81                                 pinctrl-0 = <&i2c0_pins_a>;
82                                 status = "okay";
84                                 sgtl5000: codec@0a {
85                                         compatible = "fsl,sgtl5000";
86                                         reg = <0x0a>;
87                                         VDDA-supply = <&reg_3p3v>;
88                                         VDDIO-supply = <&reg_3p3v>;
90                                 };
92                                 pcf8563: rtc@51 {
93                                         compatible = "phg,pcf8563";
94                                         reg = <0x51>;
95                                 };
96                         };
98                         duart: serial@80074000 {
99                                 pinctrl-names = "default";
100                                 pinctrl-0 = <&duart_pins_a>;
101                                 status = "okay";
102                         };
104                         auart0: serial@8006a000 {
105                                 pinctrl-names = "default";
106                                 pinctrl-0 = <&auart0_pins_a>;
107                                 status = "okay";
108                         };
110                         auart1: serial@8006c000 {
111                                 pinctrl-names = "default";
112                                 pinctrl-0 = <&auart1_2pins_a>;
113                                 status = "okay";
114                         };
116                         auart2: serial@8006e000 {
117                                 pinctrl-names = "default";
118                                 pinctrl-0 = <&auart2_2pins_a>;
119                                 status = "okay";
120                         };
122                         auart3: serial@80070000 {
123                                 pinctrl-names = "default";
124                                 pinctrl-0 = <&auart3_2pins_a>;
125                                 status = "okay";
126                         };
127                 };
128         };
130         ahb@80080000 {
131                 mac0: ethernet@800f0000 {
132                         phy-mode = "rmii";
133                         pinctrl-names = "default";
134                         pinctrl-0 = <&mac0_pins_a>;
135                         status = "okay";
136                 };
137         };
139         regulators {
140                 compatible = "simple-bus";
142                 reg_3p3v: 3p3v {
143                         compatible = "regulator-fixed";
144                         regulator-name = "3P3V";
145                         regulator-min-microvolt = <3300000>;
146                         regulator-max-microvolt = <3300000>;
147                         regulator-always-on;
148                 };
149         };
151         sound {
152                 compatible = "bluegiga,apx4devkit-sgtl5000",
153                              "fsl,mxs-audio-sgtl5000";
154                 model = "apx4devkit-sgtl5000";
155                 saif-controllers = <&saif0 &saif1>;
156                 audio-codec = <&sgtl5000>;
157         };
159         leds {
160                 compatible = "gpio-leds";
162                 user {
163                         label = "Heartbeat";
164                         gpios = <&gpio3 28 0>;
165                         linux,default-trigger = "heartbeat";
166                 };
167         };