blob: 1594694532b96d845507d2700b3613dca5020b6d [file] [log] [blame]
Maxime Ripard330eaaf2012-06-27 10:18:12 +02001/*
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 {
Maxime Ripardc241d0a2012-11-03 16:59:07 +010025 pinctrl@80018000 {
Maxime Ripard24196d52012-11-03 16:59:08 +010026 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
Maxime Ripardc241d0a2012-11-03 16:59:07 +010039 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
Maxime Ripard330eaaf2012-06-27 10:18:12 +020050 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 {
Maxime Ripard25d6dd82012-10-31 10:12:54 +010061 pwm: pwm@80064000 {
62 pinctrl-names = "default";
63 pinctrl-0 = <&pwm4_pins_a>;
64 status = "okay";
65 };
66
Maxime Ripard330eaaf2012-06-27 10:18:12 +020067 duart: serial@80074000 {
68 pinctrl-names = "default";
69 pinctrl-0 = <&duart_pins_b>;
70 status = "okay";
71 };
Maxime Ripard25d6dd82012-10-31 10:12:54 +010072
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 };
Maxime Ripard330eaaf2012-06-27 10:18:12 +020085 };
86 };
Maxime Ripardf34ffc92012-06-29 09:39:29 +020087
88 leds {
89 compatible = "gpio-leds";
Maxime Ripardc241d0a2012-11-03 16:59:07 +010090 pinctrl-names = "default";
91 pinctrl-0 = <&led_pins_cfa10036>;
Maxime Ripardf34ffc92012-06-29 09:39:29 +020092
93 power {
94 gpios = <&gpio3 4 1>;
95 default-state = "on";
96 };
97 };
Maxime Ripard330eaaf2012-06-27 10:18:12 +020098};