]>
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/; | |
bc3875f1 | 13 | #include "imx28.dtsi" |
330eaaf9 MR |
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 { |
a74d2ec7 | 26 | ssd1306_cfa10036: ssd1306-10036@0 { |
24196d5c MR |
27 | reg = <0>; |
28 | fsl,pinmux-ids = < | |
bc3875f1 | 29 | MX28_PAD_SSP0_DATA7__GPIO_2_7 |
24196d5c | 30 | >; |
4191c340 LW |
31 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
32 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | |
33 | fsl,pull-up = <MXS_PULL_DISABLE>; | |
24196d5c MR |
34 | }; |
35 | ||
c241d0a3 MR |
36 | led_pins_cfa10036: leds-10036@0 { |
37 | reg = <0>; | |
38 | fsl,pinmux-ids = < | |
bc3875f1 | 39 | MX28_PAD_AUART1_RX__GPIO_3_4 |
c241d0a3 | 40 | >; |
4191c340 LW |
41 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
42 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | |
43 | fsl,pull-up = <MXS_PULL_DISABLE>; | |
c241d0a3 | 44 | }; |
17a21638 MR |
45 | |
46 | usb0_otg_cfa10036: otg-10036@0 { | |
47 | reg = <0>; | |
48 | fsl,pinmux-ids = < | |
bc3875f1 | 49 | MX28_PAD_GPMI_RDY0__USB0_ID |
17a21638 | 50 | >; |
4191c340 LW |
51 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
52 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | |
53 | fsl,pull-up = <MXS_PULL_DISABLE>; | |
17a21638 MR |
54 | }; |
55 | ||
a3f8c564 AB |
56 | mmc_pwr_cfa10036: mmc_pwr_cfa10036@0 { |
57 | reg = <0>; | |
58 | fsl,pinmux-ids = < | |
59 | 0x31c3 /* | |
60 | MX28_PAD_PWM3__GPIO_3_28 */ | |
61 | >; | |
62 | fsl,drive-strength = <0>; | |
63 | fsl,voltage = <1>; | |
64 | fsl,pull-up = <0>; | |
65 | }; | |
66 | ||
c241d0a3 MR |
67 | }; |
68 | ||
330eaaf9 MR |
69 | ssp0: ssp@80010000 { |
70 | compatible = "fsl,imx28-mmc"; | |
71 | pinctrl-names = "default"; | |
72 | pinctrl-0 = <&mmc0_4bit_pins_a | |
73 | &mmc0_cd_cfg &mmc0_sck_cfg>; | |
a3f8c564 | 74 | vmmc-supply = <®_vddio_sd0>; |
330eaaf9 MR |
75 | bus-width = <4>; |
76 | status = "okay"; | |
77 | }; | |
78 | }; | |
79 | ||
80 | apbx@80040000 { | |
81 | duart: serial@80074000 { | |
82 | pinctrl-names = "default"; | |
83 | pinctrl-0 = <&duart_pins_b>; | |
84 | status = "okay"; | |
85 | }; | |
25d6dd85 MR |
86 | |
87 | i2c0: i2c@80058000 { | |
88 | pinctrl-names = "default"; | |
89 | pinctrl-0 = <&i2c0_pins_b>; | |
b55cb191 | 90 | clock-frequency = <400000>; |
25d6dd85 MR |
91 | status = "okay"; |
92 | ||
b400932c MR |
93 | ssd1306: oled@3c { |
94 | compatible = "solomon,ssd1306fb-i2c"; | |
a74d2ec7 AB |
95 | pinctrl-names = "default"; |
96 | pinctrl-0 = <&ssd1306_cfa10036>; | |
25d6dd85 | 97 | reg = <0x3c>; |
25d6dd85 | 98 | reset-gpios = <&gpio2 7 0>; |
b400932c MR |
99 | solomon,height = <32>; |
100 | solomon,width = <128>; | |
101 | solomon,page-offset = <0>; | |
25d6dd85 MR |
102 | }; |
103 | }; | |
17a21638 MR |
104 | |
105 | usbphy0: usbphy@8007c000 { | |
106 | status = "okay"; | |
107 | }; | |
108 | }; | |
109 | }; | |
110 | ||
111 | ahb@80080000 { | |
112 | usb0: usb@80080000 { | |
113 | pinctrl-names = "default"; | |
114 | pinctrl-0 = <&usb0_otg_cfa10036>; | |
c896238c MR |
115 | dr_mode = "peripheral"; |
116 | phy_type = "utmi"; | |
17a21638 | 117 | status = "okay"; |
330eaaf9 MR |
118 | }; |
119 | }; | |
f34ffc9e MR |
120 | |
121 | leds { | |
122 | compatible = "gpio-leds"; | |
c241d0a3 MR |
123 | pinctrl-names = "default"; |
124 | pinctrl-0 = <&led_pins_cfa10036>; | |
f34ffc9e MR |
125 | |
126 | power { | |
127 | gpios = <&gpio3 4 1>; | |
128 | default-state = "on"; | |
129 | }; | |
130 | }; | |
a3f8c564 AB |
131 | |
132 | reg_vddio_sd0: vddio-sd0 { | |
133 | compatible = "regulator-fixed"; | |
134 | pinctrl-names = "default"; | |
135 | pinctrl-0 = <&mmc_pwr_cfa10036>; | |
136 | regulator-name = "vddio-sd0"; | |
137 | regulator-min-microvolt = <3300000>; | |
138 | regulator-max-microvolt = <3300000>; | |
139 | gpio = <&gpio3 28 0>; | |
140 | }; | |
330eaaf9 | 141 | }; |