]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blob - arch/arm/boot/dts/imx28-apf28dev.dts
1643d2593bc3b778edcbed333faa2184539d33f0
[can-eth-gw-linux.git] / arch / arm / boot / dts / imx28-apf28dev.dts
1 /*
2  * Copyright 2012 Armadeus Systems - <support@armadeus.com>
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 /* APF28Dev is a docking board for the APF28 SOM */
13 /include/ "imx28-apf28.dts"
14
15 / {
16         model = "Armadeus Systems APF28Dev docking/development board";
17         compatible = "armadeus,imx28-apf28dev", "armadeus,imx28-apf28", "fsl,imx28";
18
19         apb@80000000 {
20                 apbh@80000000 {
21                         ssp0: ssp@80010000 {
22                                 compatible = "fsl,imx28-mmc";
23                                 pinctrl-names = "default";
24                                 pinctrl-0 = <&mmc0_4bit_pins_a
25                                         &mmc0_cd_cfg &mmc0_sck_cfg>;
26                                 bus-width = <4>;
27                                 status = "okay";
28                         };
29
30                         pinctrl@80018000 {
31                                 pinctrl-names = "default";
32                                 pinctrl-0 = <&hog_pins_apf28dev>;
33
34                                 hog_pins_apf28dev: hog@0 {
35                                         reg = <0>;
36                                         fsl,pinmux-ids = <
37                                                 0x1103 /* MX28_PAD_LCD_D16__GPIO_1_16 */
38                                                 0x1113 /* MX28_PAD_LCD_D17__GPIO_1_17 */
39                                                 0x1123 /* MX28_PAD_LCD_D18__GPIO_1_18 */
40                                                 0x1133 /* MX28_PAD_LCD_D19__GPIO_1_19 */
41                                                 0x1143 /* MX28_PAD_LCD_D20__GPIO_1_20 */
42                                                 0x1153 /* MX28_PAD_LCD_D21__GPIO_1_21 */
43                                                 0x1163 /* MX28_PAD_LCD_D22__GPIO_1_22 */
44                                         >;
45                                         fsl,drive-strength = <0>;
46                                         fsl,voltage = <1>;
47                                         fsl,pull-up = <0>;
48                                 };
49
50                                 lcdif_pins_apf28dev: lcdif-apf28dev@0 {
51                                         reg = <0>;
52                                         fsl,pinmux-ids = <
53                                                 0x1181 /* MX28_PAD_LCD_RD_E__LCD_VSYNC */
54                                                 0x1191 /* MX28_PAD_LCD_WR_RWN__LCD_HSYNC */
55                                                 0x11a1 /* MX28_PAD_LCD_RS__LCD_DOTCLK */
56                                                 0x11b1 /* MX28_PAD_LCD_CS__LCD_ENABLE */
57                                         >;
58                                         fsl,drive-strength = <0>;
59                                         fsl,voltage = <1>;
60                                         fsl,pull-up = <0>;
61                                 };
62                         };
63
64                         lcdif@80030000 {
65                                 pinctrl-names = "default";
66                                 pinctrl-0 = <&lcdif_16bit_pins_a
67                                                 &lcdif_pins_apf28dev>;
68                                 status = "okay";
69                         };
70                 };
71
72                 apbx@80040000 {
73                         lradc@80050000 {
74                                 status = "okay";
75                         };
76
77                         pwm: pwm@80064000 {
78                                 pinctrl-names = "default";
79                                 pinctrl-0 = <&pwm3_pins_a &pwm4_pins_a>;
80                                 status = "okay";
81                         };
82
83                         usbphy0: usbphy@8007c000 {
84                                 status = "okay";
85                         };
86
87                         usbphy1: usbphy@8007e000 {
88                                 status = "okay";
89                         };
90                 };
91         };
92
93         ahb@80080000 {
94                 usb0: usb@80080000 {
95                         vbus-supply = <&reg_usb0_vbus>;
96                         status = "okay";
97                 };
98
99                 usb1: usb@80090000 {
100                         status = "okay";
101                 };
102
103                 mac1: ethernet@800f4000 {
104                         phy-mode = "rmii";
105                         pinctrl-names = "default";
106                         pinctrl-0 = <&mac1_pins_a>;
107                         phy-reset-gpios = <&gpio0 23 0>;
108                         status = "okay";
109                 };
110         };
111
112         regulators {
113                 compatible = "simple-bus";
114
115                 reg_usb0_vbus: usb0_vbus {
116                         compatible = "regulator-fixed";
117                         regulator-name = "usb0_vbus";
118                         regulator-min-microvolt = <5000000>;
119                         regulator-max-microvolt = <5000000>;
120                         gpio = <&gpio1 23 1>;
121                 };
122         };
123
124         leds {
125                 compatible = "gpio-leds";
126
127                 user {
128                         label = "Heartbeat";
129                         gpios = <&gpio0 21 0>;
130                         linux,default-trigger = "heartbeat";
131                 };
132         };
133
134         backlight {
135                 compatible = "pwm-backlight";
136
137                 pwms = <&pwm 3 191000>;
138                 brightness-levels = <0 4 8 16 32 64 128 255>;
139                 default-brightness-level = <6>;
140         };
141 };