Commit | Line | Data |
---|---|---|
330eaaf9 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 | /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 { | |
c241d0a3 | 25 | pinctrl@80018000 { |
24196d5c MR |
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 | ||
c241d0a3 MR |
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 | }; | |
17a21638 MR |
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 | ||
c241d0a3 MR |
59 | }; |
60 | ||
330eaaf9 MR |
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 | }; | |
25d6dd85 MR |
77 | |
78 | i2c0: i2c@80058000 { | |
79 | pinctrl-names = "default"; | |
80 | pinctrl-0 = <&i2c0_pins_b>; | |
b55cb191 | 81 | clock-frequency = <400000>; |
25d6dd85 MR |
82 | status = "okay"; |
83 | ||
b400932c MR |
84 | ssd1306: oled@3c { |
85 | compatible = "solomon,ssd1306fb-i2c"; | |
25d6dd85 | 86 | reg = <0x3c>; |
25d6dd85 | 87 | reset-gpios = <&gpio2 7 0>; |
b400932c MR |
88 | solomon,height = <32>; |
89 | solomon,width = <128>; | |
90 | solomon,page-offset = <0>; | |
25d6dd85 MR |
91 | }; |
92 | }; | |
17a21638 MR |
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"; | |
330eaaf9 MR |
105 | }; |
106 | }; | |
f34ffc9e MR |
107 | |
108 | leds { | |
109 | compatible = "gpio-leds"; | |
c241d0a3 MR |
110 | pinctrl-names = "default"; |
111 | pinctrl-0 = <&led_pins_cfa10036>; | |
f34ffc9e MR |
112 | |
113 | power { | |
114 | gpios = <&gpio3 4 1>; | |
115 | default-state = "on"; | |
116 | }; | |
117 | }; | |
330eaaf9 | 118 | }; |