]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx28-cfa10049.dts
Merge remote-tracking branch 'asoc/topic/cs4271' into asoc-next
[karo-tx-linux.git] / arch / arm / boot / dts / imx28-cfa10049.dts
1 /*
2  * Copyright 2012 Free Electrons
3  *
4  * The code contained herein is licensed under the GNU General Public
5  * License. You may obtain a copy of the GNU General Public License
6  * Version 2 or later at the following locations:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 /*
13  * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
14  * need to include the CFA-10036 DTS.
15  */
16 /include/ "imx28-cfa10036.dts"
17
18 / {
19         model = "Crystalfontz CFA-10049 Board";
20         compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28";
21
22         apb@80000000 {
23                 apbh@80000000 {
24                         pinctrl@80018000 {
25                                 pinctrl-names = "default", "default";
26                                 pinctrl-1 = <&hog_pins_cfa10049>;
27
28                                 hog_pins_cfa10049: hog-10049@0 {
29                                         reg = <0>;
30                                         fsl,pinmux-ids = <
31                                                 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
32                                                 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */
33                                                 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */
34                                                 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */
35                                         >;
36                                         fsl,drive-strength = <0>;
37                                         fsl,voltage = <1>;
38                                         fsl,pull-up = <0>;
39                                 };
40
41                                 spi3_pins_cfa10049: spi3-cfa10049@0 {
42                                         reg = <0>;
43                                         fsl,pinmux-ids = <
44                                                 0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
45                                                 0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
46                                                 0x0111 /* MX28_PAD_GPMI_CE1N__SSP3_D3 */
47                                                 0x01a2 /* MX28_PAD_GPMI_ALE__SSP3_D4 */
48                                                 0x01b2 /* MX28_PAD_GPMI_CLE__SSP3_D5 */
49                                         >;
50                                         fsl,drive-strength = <1>;
51                                         fsl,voltage = <1>;
52                                         fsl,pull-up = <1>;
53                                 };
54                         };
55
56                         ssp3: ssp@80016000 {
57                                 compatible = "fsl,imx28-spi";
58                                 pinctrl-names = "default";
59                                 pinctrl-0 = <&spi3_pins_cfa10049>;
60                                 status = "okay";
61
62                                 gpio5: gpio5@0 {
63                                         compatible = "fairchild,74hc595";
64                                         gpio-controller;
65                                         #gpio-cells = <2>;
66                                         reg = <0>;
67                                         registers-number = <2>;
68                                         spi-max-frequency = <100000>;
69                                 };
70
71                                 gpio6: gpio6@1 {
72                                         compatible = "fairchild,74hc595";
73                                         gpio-controller;
74                                         #gpio-cells = <2>;
75                                         reg = <1>;
76                                         registers-number = <4>;
77                                         spi-max-frequency = <100000>;
78                                 };
79
80                                 dac0: dh2228@2 {
81                                         compatible = "rohm,dh2228fv";
82                                         reg = <2>;
83                                         spi-max-frequency = <100000>;
84                                 };
85                         };
86                 };
87
88                 apbx@80040000 {
89                         i2c1: i2c@8005a000 {
90                                 pinctrl-names = "default";
91                                 pinctrl-0 = <&i2c1_pins_a>;
92                                 status = "okay";
93                         };
94
95                         i2cmux {
96                                 compatible = "i2c-mux-gpio";
97                                 #address-cells = <1>;
98                                 #size-cells = <0>;
99                                 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
100                                 i2c-parent = <&i2c1>;
101
102                                 i2c@0 {
103                                         reg = <0>;
104                                 };
105
106                                 i2c@1 {
107                                         reg = <1>;
108                                 };
109
110                                 i2c@2 {
111                                         reg = <2>;
112                                 };
113
114                                 i2c@3 {
115                                         reg = <3>;
116                                 };
117                         };
118
119                         usbphy1: usbphy@8007e000 {
120                                 status = "okay";
121                         };
122                 };
123         };
124
125         ahb@80080000 {
126                 usb1: usb@80090000 {
127                         vbus-supply = <&reg_usb1_vbus>;
128                         pinctrl-0 = <&usbphy1_pins_a>;
129                         pinctrl-names = "default";
130                         status = "okay";
131                 };
132         };
133
134         regulators {
135                 compatible = "simple-bus";
136
137                 reg_usb1_vbus: usb1_vbus {
138                         compatible = "regulator-fixed";
139                         regulator-name = "usb1_vbus";
140                         regulator-min-microvolt = <5000000>;
141                         regulator-max-microvolt = <5000000>;
142                         gpio = <&gpio0 7 1>;
143                 };
144         };
145
146         ahb@80080000 {
147                 mac0: ethernet@800f0000 {
148                         phy-mode = "rmii";
149                         pinctrl-names = "default";
150                         pinctrl-0 = <&mac0_pins_a>;
151                         phy-reset-gpios = <&gpio2 21 0>;
152                         phy-reset-duration = <100>;
153                         status = "okay";
154                 };
155         };
156 };