]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx28-cfa10036.dts
Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / arm / boot / dts / imx28-cfa10036.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 /dts-v1/;
13 /include/ "imx28.dtsi"
14
15 / {
16         model = "Crystalfontz CFA-10036 Board";
17         compatible = "crystalfontz,cfa10036", "fsl,imx28";
18
19         memory {
20                 reg = <0x40000000 0x08000000>;
21         };
22
23         apb@80000000 {
24                 apbh@80000000 {
25                         pinctrl@80018000 {
26                                 pinctrl-names = "default";
27                                 pinctrl-0 = <&hog_pins_cfa10036>;
28
29                                 hog_pins_cfa10036: hog-10036@0 {
30                                         reg = <0>;
31                                         fsl,pinmux-ids = <
32                                                 0x2073 /* MX28_PAD_SSP0_D7__GPIO_2_7 */
33                                         >;
34                                         fsl,drive-strength = <0>;
35                                         fsl,voltage = <1>;
36                                         fsl,pull-up = <0>;
37                                 };
38
39                                 led_pins_cfa10036: leds-10036@0 {
40                                         reg = <0>;
41                                         fsl,pinmux-ids = <
42                                                 0x3043 /* MX28_PAD_AUART1_RX__GPIO_3_4 */
43                                         >;
44                                         fsl,drive-strength = <0>;
45                                         fsl,voltage = <1>;
46                                         fsl,pull-up = <0>;
47                                 };
48                         };
49
50                         ssp0: ssp@80010000 {
51                                 compatible = "fsl,imx28-mmc";
52                                 pinctrl-names = "default";
53                                 pinctrl-0 = <&mmc0_4bit_pins_a
54                                         &mmc0_cd_cfg &mmc0_sck_cfg>;
55                                 bus-width = <4>;
56                                 status = "okay";
57                         };
58                 };
59
60                 apbx@80040000 {
61                         pwm: pwm@80064000 {
62                                 pinctrl-names = "default";
63                                 pinctrl-0 = <&pwm4_pins_a>;
64                                 status = "okay";
65                         };
66
67                         duart: serial@80074000 {
68                                 pinctrl-names = "default";
69                                 pinctrl-0 = <&duart_pins_b>;
70                                 status = "okay";
71                         };
72
73                         i2c0: i2c@80058000 {
74                                 pinctrl-names = "default";
75                                 pinctrl-0 = <&i2c0_pins_b>;
76                                 status = "okay";
77
78                                 ssd1307: oled@3c {
79                                         compatible = "solomon,ssd1307fb-i2c";
80                                         reg = <0x3c>;
81                                         pwms = <&pwm 4 3000>;
82                                         reset-gpios = <&gpio2 7 0>;
83                                 };
84                         };
85                 };
86         };
87
88         leds {
89                 compatible = "gpio-leds";
90                 pinctrl-names = "default";
91                 pinctrl-0 = <&led_pins_cfa10036>;
92
93                 power {
94                         gpios = <&gpio3 4 1>;
95                         default-state = "on";
96                 };
97         };
98 };