]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/imx28-cfa10036.dts
Merge remote-tracking branch 'regulator/topic/tps65912' into regulator-next
[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                                 usb0_otg_cfa10036: otg-10036@0 {
50                                         reg = <0>;
51                                         fsl,pinmux-ids = <
52                                                 0x0142 /* MX28_PAD_GPMI_READY0__USB0_ID */
53                                         >;
54                                         fsl,drive-strength = <0>;
55                                         fsl,voltage = <1>;
56                                         fsl,pull-up = <0>;
57                                 };
58
59                         };
60
61                         ssp0: ssp@80010000 {
62                                 compatible = "fsl,imx28-mmc";
63                                 pinctrl-names = "default";
64                                 pinctrl-0 = <&mmc0_4bit_pins_a
65                                         &mmc0_cd_cfg &mmc0_sck_cfg>;
66                                 bus-width = <4>;
67                                 status = "okay";
68                         };
69                 };
70
71                 apbx@80040000 {
72                         duart: serial@80074000 {
73                                 pinctrl-names = "default";
74                                 pinctrl-0 = <&duart_pins_b>;
75                                 status = "okay";
76                         };
77
78                         i2c0: i2c@80058000 {
79                                 pinctrl-names = "default";
80                                 pinctrl-0 = <&i2c0_pins_b>;
81                                 clock-frequency = <400000>;
82                                 status = "okay";
83
84                                 ssd1306: oled@3c {
85                                         compatible = "solomon,ssd1306fb-i2c";
86                                         reg = <0x3c>;
87                                         reset-gpios = <&gpio2 7 0>;
88                                         solomon,height = <32>;
89                                         solomon,width = <128>;
90                                         solomon,page-offset = <0>;
91                                 };
92                         };
93
94                         usbphy0: usbphy@8007c000 {
95                                 status = "okay";
96                         };
97                 };
98         };
99
100         ahb@80080000 {
101                 usb0: usb@80080000 {
102                         pinctrl-names = "default";
103                         pinctrl-0 = <&usb0_otg_cfa10036>;
104                         status = "okay";
105                 };
106         };
107
108         leds {
109                 compatible = "gpio-leds";
110                 pinctrl-names = "default";
111                 pinctrl-0 = <&led_pins_cfa10036>;
112
113                 power {
114                         gpios = <&gpio3 4 1>;
115                         default-state = "on";
116                 };
117         };
118 };