ARM: dts: mxs: Add muxing options for the third PWM
[deliverable/linux.git] / arch / arm / boot / dts / imx28-cfa10049.dts
CommitLineData
db84c038
MR
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 {
223d1f92
MR
23 apbh@80000000 {
24 pinctrl@80018000 {
24196d5c 25 pinctrl-names = "default", "default";
5b615fbf
MR
26 pinctrl-1 = <&hog_pins_cfa10049
27 &hog_pins_cfa10049_pullup>;
24196d5c
MR
28
29 hog_pins_cfa10049: hog-10049@0 {
30 reg = <0>;
31 fsl,pinmux-ids = <
32 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
33 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */
34 0x1173 /* MX28_PAD_LCD_D22__GPIO_1_23 */
35 0x2153 /* MX28_PAD_SSP2_D5__GPIO_2_21 */
36 >;
37 fsl,drive-strength = <0>;
38 fsl,voltage = <1>;
39 fsl,pull-up = <0>;
40 };
41
5b615fbf
MR
42 hog_pins_cfa10049_pullup: hog-10049-pullup@0 {
43 reg = <0>;
44 fsl,pinmux-ids = <
45 0x2133 /* MX28_PAD_SSP2_D3__GPIO_2_19 */
46 >;
47 fsl,drive-strength = <0>;
48 fsl,voltage = <1>;
49 fsl,pull-up = <1>;
50 };
51
223d1f92
MR
52 spi3_pins_cfa10049: spi3-cfa10049@0 {
53 reg = <0>;
54 fsl,pinmux-ids = <
7ecc70a9
MR
55 0x0183 /* MX28_PAD_GPMI_RDN__GPIO_0_24 */
56 0x01c3 /* MX28_PAD_GPMI_RESETN__GPIO_0_28 */
57 0x0113 /* MX28_PAD_GPMI_CE1N__GPIO_0_17 */
58 0x01a3 /* MX28_PAD_GPMI_ALE__GPIO_0_26 */
59 0x01b3 /* MX28_PAD_GPMI_CLE__GPIO_0_27 */
223d1f92
MR
60 >;
61 fsl,drive-strength = <1>;
62 fsl,voltage = <1>;
63 fsl,pull-up = <1>;
64 };
65 };
223d1f92
MR
66 };
67
db84c038
MR
68 apbx@80040000 {
69 i2c1: i2c@8005a000 {
70 pinctrl-names = "default";
71 pinctrl-0 = <&i2c1_pins_a>;
72 status = "okay";
73 };
186e3d94 74
06e9eff1
MR
75 i2cmux {
76 compatible = "i2c-mux-gpio";
77 #address-cells = <1>;
78 #size-cells = <0>;
79 mux-gpios = <&gpio1 22 0 &gpio1 23 0>;
80 i2c-parent = <&i2c1>;
81
82 i2c@0 {
83 reg = <0>;
84 };
85
86 i2c@1 {
87 reg = <1>;
88 };
89
90 i2c@2 {
91 reg = <2>;
92 };
93
94 i2c@3 {
95 reg = <3>;
5b615fbf
MR
96 #address-cells = <1>;
97 #size-cells = <0>;
98
99 pca9555: pca9555@20 {
100 compatible = "nxp,pca9555";
101 interrupt-parent = <&gpio2>;
102 interrupts = <19 0x2>;
103 gpio-controller;
104 #gpio-cells = <2>;
105 interrupt-controller;
106 #interrupt-cells = <2>;
107 reg = <0x20>;
108 };
06e9eff1
MR
109 };
110 };
111
186e3d94
MR
112 usbphy1: usbphy@8007e000 {
113 status = "okay";
114 };
115 };
116 };
117
118 ahb@80080000 {
119 usb1: usb@80090000 {
120 vbus-supply = <&reg_usb1_vbus>;
121 pinctrl-0 = <&usbphy1_pins_a>;
122 pinctrl-names = "default";
123 status = "okay";
124 };
125 };
126
127 regulators {
128 compatible = "simple-bus";
129
130 reg_usb1_vbus: usb1_vbus {
131 compatible = "regulator-fixed";
132 regulator-name = "usb1_vbus";
133 regulator-min-microvolt = <5000000>;
134 regulator-max-microvolt = <5000000>;
135 gpio = <&gpio0 7 1>;
db84c038
MR
136 };
137 };
8eec4b31
MR
138
139 ahb@80080000 {
140 mac0: ethernet@800f0000 {
141 phy-mode = "rmii";
142 pinctrl-names = "default";
143 pinctrl-0 = <&mac0_pins_a>;
144 phy-reset-gpios = <&gpio2 21 0>;
145 phy-reset-duration = <100>;
146 status = "okay";
147 };
148 };
7ecc70a9
MR
149
150 spi3 {
151 compatible = "spi-gpio";
152 pinctrl-names = "default";
153 pinctrl-0 = <&spi3_pins_cfa10049>;
154 status = "okay";
155 gpio-sck = <&gpio0 24 0>;
156 gpio-mosi = <&gpio0 28 0>;
157 cs-gpios = <&gpio0 17 0 &gpio0 26 0 &gpio0 27 0>;
158 num-chipselects = <3>;
159 #address-cells = <1>;
160 #size-cells = <0>;
161
162 gpio5: gpio5@0 {
163 compatible = "fairchild,74hc595";
164 gpio-controller;
165 #gpio-cells = <2>;
166 reg = <0>;
167 registers-number = <2>;
168 spi-max-frequency = <100000>;
169 };
170
171 gpio6: gpio6@1 {
172 compatible = "fairchild,74hc595";
173 gpio-controller;
174 #gpio-cells = <2>;
175 reg = <1>;
176 registers-number = <4>;
177 spi-max-frequency = <100000>;
178 };
179
180 dac0: dh2228@2 {
181 compatible = "rohm,dh2228fv";
182 reg = <2>;
183 spi-max-frequency = <100000>;
184 };
185 };
db84c038 186};
This page took 0.052776 seconds and 5 git commands to generate.