blob: 1ec8c94bbac97f82f48fad9a868b70a66a438030 [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 {
Alexandre Bellonia74d2ec2013-07-01 15:23:29 +020026 ssd1306_cfa10036: ssd1306-10036@0 {
Maxime Ripard24196d52012-11-03 16:59:08 +010027 reg = <0>;
28 fsl,pinmux-ids = <
29 0x2073 /* MX28_PAD_SSP0_D7__GPIO_2_7 */
30 >;
31 fsl,drive-strength = <0>;
32 fsl,voltage = <1>;
33 fsl,pull-up = <0>;
34 };
35
Maxime Ripardc241d0a2012-11-03 16:59:07 +010036 led_pins_cfa10036: leds-10036@0 {
37 reg = <0>;
38 fsl,pinmux-ids = <
39 0x3043 /* MX28_PAD_AUART1_RX__GPIO_3_4 */
40 >;
41 fsl,drive-strength = <0>;
42 fsl,voltage = <1>;
43 fsl,pull-up = <0>;
44 };
Maxime Ripard17a21632013-06-13 15:43:42 +020045
46 usb0_otg_cfa10036: otg-10036@0 {
47 reg = <0>;
48 fsl,pinmux-ids = <
49 0x0142 /* MX28_PAD_GPMI_READY0__USB0_ID */
50 >;
51 fsl,drive-strength = <0>;
52 fsl,voltage = <1>;
53 fsl,pull-up = <0>;
54 };
55
Maxime Ripardc241d0a2012-11-03 16:59:07 +010056 };
57
Maxime Ripard330eaaf2012-06-27 10:18:12 +020058 ssp0: ssp@80010000 {
59 compatible = "fsl,imx28-mmc";
60 pinctrl-names = "default";
61 pinctrl-0 = <&mmc0_4bit_pins_a
62 &mmc0_cd_cfg &mmc0_sck_cfg>;
63 bus-width = <4>;
64 status = "okay";
65 };
66 };
67
68 apbx@80040000 {
69 duart: serial@80074000 {
70 pinctrl-names = "default";
71 pinctrl-0 = <&duart_pins_b>;
72 status = "okay";
73 };
Maxime Ripard25d6dd82012-10-31 10:12:54 +010074
75 i2c0: i2c@80058000 {
76 pinctrl-names = "default";
77 pinctrl-0 = <&i2c0_pins_b>;
Maxime Ripardb55cb192013-04-22 12:02:22 +020078 clock-frequency = <400000>;
Maxime Ripard25d6dd82012-10-31 10:12:54 +010079 status = "okay";
80
Maxime Ripardb4009322013-04-22 11:55:55 +020081 ssd1306: oled@3c {
82 compatible = "solomon,ssd1306fb-i2c";
Alexandre Bellonia74d2ec2013-07-01 15:23:29 +020083 pinctrl-names = "default";
84 pinctrl-0 = <&ssd1306_cfa10036>;
Maxime Ripard25d6dd82012-10-31 10:12:54 +010085 reg = <0x3c>;
Maxime Ripard25d6dd82012-10-31 10:12:54 +010086 reset-gpios = <&gpio2 7 0>;
Maxime Ripardb4009322013-04-22 11:55:55 +020087 solomon,height = <32>;
88 solomon,width = <128>;
89 solomon,page-offset = <0>;
Maxime Ripard25d6dd82012-10-31 10:12:54 +010090 };
91 };
Maxime Ripard17a21632013-06-13 15:43:42 +020092
93 usbphy0: usbphy@8007c000 {
94 status = "okay";
95 };
96 };
97 };
98
99 ahb@80080000 {
100 usb0: usb@80080000 {
101 pinctrl-names = "default";
102 pinctrl-0 = <&usb0_otg_cfa10036>;
103 status = "okay";
Maxime Ripard330eaaf2012-06-27 10:18:12 +0200104 };
105 };
Maxime Ripardf34ffc92012-06-29 09:39:29 +0200106
107 leds {
108 compatible = "gpio-leds";
Maxime Ripardc241d0a2012-11-03 16:59:07 +0100109 pinctrl-names = "default";
110 pinctrl-0 = <&led_pins_cfa10036>;
Maxime Ripardf34ffc92012-06-29 09:39:29 +0200111
112 power {
113 gpios = <&gpio3 4 1>;
114 default-state = "on";
115 };
116 };
Maxime Ripard330eaaf2012-06-27 10:18:12 +0200117};