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 | }; | |
48 | }; | |
49 | ||
330eaaf9 MR |
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 { | |
25d6dd85 MR |
61 | pwm: pwm@80064000 { |
62 | pinctrl-names = "default"; | |
63 | pinctrl-0 = <&pwm4_pins_a>; | |
64 | status = "okay"; | |
65 | }; | |
66 | ||
330eaaf9 MR |
67 | duart: serial@80074000 { |
68 | pinctrl-names = "default"; | |
69 | pinctrl-0 = <&duart_pins_b>; | |
70 | status = "okay"; | |
71 | }; | |
25d6dd85 MR |
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 | }; | |
330eaaf9 MR |
85 | }; |
86 | }; | |
f34ffc9e MR |
87 | |
88 | leds { | |
89 | compatible = "gpio-leds"; | |
c241d0a3 MR |
90 | pinctrl-names = "default"; |
91 | pinctrl-0 = <&led_pins_cfa10036>; | |
f34ffc9e MR |
92 | |
93 | power { | |
94 | gpios = <&gpio3 4 1>; | |
95 | default-state = "on"; | |
96 | }; | |
97 | }; | |
330eaaf9 | 98 | }; |