blob: 570aa339a05ec9b5670869cff3d7722899b6cafc [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/;
Lothar Waßmannbc3875f2013-09-19 08:59:48 +020013#include "imx28.dtsi"
Maxime Ripard330eaaf2012-06-27 10:18:12 +020014
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 = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +020029 MX28_PAD_SSP0_DATA7__GPIO_2_7
Maxime Ripard24196d52012-11-03 16:59:08 +010030 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +080031 fsl,drive-strength = <MXS_DRIVE_4mA>;
32 fsl,voltage = <MXS_VOLTAGE_HIGH>;
33 fsl,pull-up = <MXS_PULL_DISABLE>;
Maxime Ripard24196d52012-11-03 16:59:08 +010034 };
35
Maxime Ripardc241d0a2012-11-03 16:59:07 +010036 led_pins_cfa10036: leds-10036@0 {
37 reg = <0>;
38 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +020039 MX28_PAD_AUART1_RX__GPIO_3_4
Maxime Ripardc241d0a2012-11-03 16:59:07 +010040 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +080041 fsl,drive-strength = <MXS_DRIVE_4mA>;
42 fsl,voltage = <MXS_VOLTAGE_HIGH>;
43 fsl,pull-up = <MXS_PULL_DISABLE>;
Maxime Ripardc241d0a2012-11-03 16:59:07 +010044 };
Maxime Ripard17a21632013-06-13 15:43:42 +020045
46 usb0_otg_cfa10036: otg-10036@0 {
47 reg = <0>;
48 fsl,pinmux-ids = <
Lothar Waßmannbc3875f2013-09-19 08:59:48 +020049 MX28_PAD_GPMI_RDY0__USB0_ID
Maxime Ripard17a21632013-06-13 15:43:42 +020050 >;
Lothar Waßmann4191c342013-09-22 14:02:59 +080051 fsl,drive-strength = <MXS_DRIVE_4mA>;
52 fsl,voltage = <MXS_VOLTAGE_HIGH>;
53 fsl,pull-up = <MXS_PULL_DISABLE>;
Maxime Ripard17a21632013-06-13 15:43:42 +020054 };
55
Alexandre Bellonia3f8c562014-05-15 17:12:48 +020056 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
Maxime Ripardc241d0a2012-11-03 16:59:07 +010067 };
68
Maxime Ripard330eaaf2012-06-27 10:18:12 +020069 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>;
Alexandre Bellonia3f8c562014-05-15 17:12:48 +020074 vmmc-supply = <&reg_vddio_sd0>;
Maxime Ripard330eaaf2012-06-27 10:18:12 +020075 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 };
Maxime Ripard25d6dd82012-10-31 10:12:54 +010086
87 i2c0: i2c@80058000 {
88 pinctrl-names = "default";
89 pinctrl-0 = <&i2c0_pins_b>;
Maxime Ripardb55cb192013-04-22 12:02:22 +020090 clock-frequency = <400000>;
Maxime Ripard25d6dd82012-10-31 10:12:54 +010091 status = "okay";
92
Maxime Ripardb4009322013-04-22 11:55:55 +020093 ssd1306: oled@3c {
94 compatible = "solomon,ssd1306fb-i2c";
Alexandre Bellonia74d2ec2013-07-01 15:23:29 +020095 pinctrl-names = "default";
96 pinctrl-0 = <&ssd1306_cfa10036>;
Maxime Ripard25d6dd82012-10-31 10:12:54 +010097 reg = <0x3c>;
Maxime Ripard25d6dd82012-10-31 10:12:54 +010098 reset-gpios = <&gpio2 7 0>;
Maxime Ripardb4009322013-04-22 11:55:55 +020099 solomon,height = <32>;
100 solomon,width = <128>;
101 solomon,page-offset = <0>;
Thomas Niederprüm20400852015-03-31 20:27:11 +0200102 solomon,com-lrremap;
103 solomon,com-invdir;
104 solomon,com-offset = <32>;
Maxime Ripard25d6dd82012-10-31 10:12:54 +0100105 };
106 };
Maxime Ripard17a21632013-06-13 15:43:42 +0200107
108 usbphy0: usbphy@8007c000 {
109 status = "okay";
110 };
111 };
112 };
113
114 ahb@80080000 {
115 usb0: usb@80080000 {
116 pinctrl-names = "default";
117 pinctrl-0 = <&usb0_otg_cfa10036>;
Maxime Ripardc8962382013-11-18 15:52:02 +0100118 dr_mode = "peripheral";
119 phy_type = "utmi";
Maxime Ripard17a21632013-06-13 15:43:42 +0200120 status = "okay";
Maxime Ripard330eaaf2012-06-27 10:18:12 +0200121 };
122 };
Maxime Ripardf34ffc92012-06-29 09:39:29 +0200123
124 leds {
125 compatible = "gpio-leds";
Maxime Ripardc241d0a2012-11-03 16:59:07 +0100126 pinctrl-names = "default";
127 pinctrl-0 = <&led_pins_cfa10036>;
Maxime Ripardf34ffc92012-06-29 09:39:29 +0200128
129 power {
130 gpios = <&gpio3 4 1>;
131 default-state = "on";
132 };
133 };
Alexandre Bellonia3f8c562014-05-15 17:12:48 +0200134
135 reg_vddio_sd0: vddio-sd0 {
136 compatible = "regulator-fixed";
137 pinctrl-names = "default";
138 pinctrl-0 = <&mmc_pwr_cfa10036>;
139 regulator-name = "vddio-sd0";
140 regulator-min-microvolt = <3300000>;
141 regulator-max-microvolt = <3300000>;
142 gpio = <&gpio3 28 0>;
143 };
Maxime Ripard330eaaf2012-06-27 10:18:12 +0200144};