ARM: dts: mxs: add pinctrl header files
[deliverable/linux.git] / arch / arm / boot / dts / imx28-cfa10057.dts
CommitLineData
d75f3d92
BL
1/*
2 * Copyright 2013 Crystalfontz America, Inc.
3 * Copyright 2012 Free Electrons
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/*
14 * The CFA-10057 is an expansion board for the CFA-10036 module, thus we
15 * need to include the CFA-10036 DTS.
16 */
17/include/ "imx28-cfa10036.dts"
18
19/ {
20 model = "Crystalfontz CFA-10057 Board";
21 compatible = "crystalfontz,cfa10057", "crystalfontz,cfa10036", "fsl,imx28";
22
23 apb@80000000 {
24 apbh@80000000 {
25 pinctrl@80018000 {
0399050e 26 usb_pins_cfa10057: usb-10057@0 {
d75f3d92
BL
27 reg = <0>;
28 fsl,pinmux-ids = <
29 0x0073 /* MX28_PAD_GPMI_D7__GPIO_0_7 */
d75f3d92
BL
30 >;
31 fsl,drive-strength = <0>;
32 fsl,voltage = <1>;
33 fsl,pull-up = <0>;
34 };
35
d75f3d92
BL
36 lcdif_18bit_pins_cfa10057: lcdif-18bit@0 {
37 reg = <0>;
38 fsl,pinmux-ids = <
39 0x1000 /* MX28_PAD_LCD_D00__LCD_D0 */
40 0x1010 /* MX28_PAD_LCD_D01__LCD_D1 */
41 0x1020 /* MX28_PAD_LCD_D02__LCD_D2 */
42 0x1030 /* MX28_PAD_LCD_D03__LCD_D3 */
43 0x1040 /* MX28_PAD_LCD_D04__LCD_D4 */
44 0x1050 /* MX28_PAD_LCD_D05__LCD_D5 */
45 0x1060 /* MX28_PAD_LCD_D06__LCD_D6 */
46 0x1070 /* MX28_PAD_LCD_D07__LCD_D7 */
47 0x1080 /* MX28_PAD_LCD_D08__LCD_D8 */
48 0x1090 /* MX28_PAD_LCD_D09__LCD_D9 */
49 0x10a0 /* MX28_PAD_LCD_D10__LCD_D10 */
50 0x10b0 /* MX28_PAD_LCD_D11__LCD_D11 */
51 0x10c0 /* MX28_PAD_LCD_D12__LCD_D12 */
52 0x10d0 /* MX28_PAD_LCD_D13__LCD_D13 */
53 0x10e0 /* MX28_PAD_LCD_D14__LCD_D14 */
54 0x10f0 /* MX28_PAD_LCD_D15__LCD_D15 */
55 0x1100 /* MX28_PAD_LCD_D16__LCD_D16 */
56 0x1110 /* MX28_PAD_LCD_D17__LCD_D17 */
57 >;
58 fsl,drive-strength = <0>;
59 fsl,voltage = <1>;
60 fsl,pull-up = <0>;
61 };
62
63 lcdif_pins_cfa10057: lcdif-evk@0 {
64 reg = <0>;
65 fsl,pinmux-ids = <
66 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
67 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
68 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
69 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
70 >;
71 fsl,drive-strength = <0>;
72 fsl,voltage = <1>;
73 fsl,pull-up = <0>;
74 };
75 };
76
77 lcdif@80030000 {
78 pinctrl-names = "default";
79 pinctrl-0 = <&lcdif_18bit_pins_cfa10057
80 &lcdif_pins_cfa10057>;
81 display = <&display>;
82 status = "okay";
83
84 display: display {
85 bits-per-pixel = <32>;
86 bus-width = <18>;
87
88 display-timings {
89 native-mode = <&timing0>;
90 timing0: timing0 {
91 clock-frequency = <30000000>;
92 hactive = <480>;
93 vactive = <800>;
94 hfront-porch = <12>;
95 hback-porch = <2>;
96 vfront-porch = <5>;
97 vback-porch = <3>;
98 hsync-len = <2>;
99 vsync-len = <2>;
100 hsync-active = <0>;
101 vsync-active = <0>;
102 de-active = <1>;
103 pixelclk-active = <1>;
104 };
105 };
106 };
107 };
108 };
109
110 apbx@80040000 {
111 lradc@80050000 {
112 fsl,lradc-touchscreen-wires = <4>;
113 status = "okay";
114 };
115
116 pwm: pwm@80064000 {
117 pinctrl-names = "default";
118 pinctrl-0 = <&pwm3_pins_b>;
119 status = "okay";
120 };
121
122 i2c1: i2c@8005a000 {
123 pinctrl-names = "default";
124 pinctrl-0 = <&i2c1_pins_a>;
125 status = "okay";
126 };
127
128 usbphy1: usbphy@8007e000 {
129 status = "okay";
130 };
131 };
132 };
133
134 ahb@80080000 {
135 usb1: usb@80090000 {
136 vbus-supply = <&reg_usb1_vbus>;
137 pinctrl-0 = <&usbphy1_pins_a>;
138 pinctrl-names = "default";
139 status = "okay";
140 };
141 };
142
143 regulators {
144 compatible = "simple-bus";
145
146 reg_usb1_vbus: usb1_vbus {
147 compatible = "regulator-fixed";
0399050e
AB
148 pinctrl-names = "default";
149 pinctrl-0 = <&usb_pins_cfa10057>;
d75f3d92
BL
150 regulator-name = "usb1_vbus";
151 regulator-min-microvolt = <5000000>;
152 regulator-max-microvolt = <5000000>;
153 gpio = <&gpio0 7 1>;
154 };
155 };
156
157 ahb@80080000 {
158 mac0: ethernet@800f0000 {
159 phy-mode = "rmii";
160 pinctrl-names = "default";
161 pinctrl-0 = <&mac0_pins_a>;
162 phy-reset-gpios = <&gpio2 21 0>;
163 phy-reset-duration = <100>;
164 status = "okay";
165 };
166 };
167
168 backlight {
169 compatible = "pwm-backlight";
170 pwms = <&pwm 3 5000000>;
171 brightness-levels = <0 4 8 16 32 64 128 255>;
172 default-brightness-level = <7>;
173 };
174};
This page took 0.054442 seconds and 5 git commands to generate.