2 * Copyright 2012 Free Electrons
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:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
14 #include <dt-bindings/gpio/gpio.h>
17 model = "Crystalfontz CFA-10036 Board";
18 compatible = "crystalfontz,cfa10036", "fsl,imx28";
21 device_type = "memory";
22 reg = <0x40000000 0x08000000>;
28 ssd1306_cfa10036: ssd1306-10036@0 {
31 MX28_PAD_SSP0_DATA7__GPIO_2_7
33 fsl,drive-strength = <MXS_DRIVE_4mA>;
34 fsl,voltage = <MXS_VOLTAGE_HIGH>;
35 fsl,pull-up = <MXS_PULL_DISABLE>;
38 led_pins_cfa10036: leds-10036@0 {
41 MX28_PAD_AUART1_RX__GPIO_3_4
43 fsl,drive-strength = <MXS_DRIVE_4mA>;
44 fsl,voltage = <MXS_VOLTAGE_HIGH>;
45 fsl,pull-up = <MXS_PULL_DISABLE>;
48 usb0_otg_cfa10036: otg-10036@0 {
51 MX28_PAD_GPMI_RDY0__USB0_ID
53 fsl,drive-strength = <MXS_DRIVE_4mA>;
54 fsl,voltage = <MXS_VOLTAGE_HIGH>;
55 fsl,pull-up = <MXS_PULL_DISABLE>;
58 mmc_pwr_cfa10036: mmc_pwr_cfa10036@0 {
62 MX28_PAD_PWM3__GPIO_3_28 */
64 fsl,drive-strength = <0>;
72 compatible = "fsl,imx28-mmc";
73 pinctrl-names = "default";
74 pinctrl-0 = <&mmc0_4bit_pins_a
75 &mmc0_cd_cfg &mmc0_sck_cfg>;
76 vmmc-supply = <®_vddio_sd0>;
83 duart: serial@80074000 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&duart_pins_b>;
90 pinctrl-names = "default";
91 pinctrl-0 = <&i2c0_pins_b>;
92 clock-frequency = <400000>;
96 compatible = "solomon,ssd1306fb-i2c";
97 pinctrl-names = "default";
98 pinctrl-0 = <&ssd1306_cfa10036>;
100 reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
101 solomon,height = <32>;
102 solomon,width = <128>;
103 solomon,page-offset = <0>;
106 solomon,com-offset = <32>;
110 usbphy0: usbphy@8007c000 {
118 pinctrl-names = "default";
119 pinctrl-0 = <&usb0_otg_cfa10036>;
120 dr_mode = "peripheral";
127 compatible = "gpio-leds";
128 pinctrl-names = "default";
129 pinctrl-0 = <&led_pins_cfa10036>;
132 gpios = <&gpio3 4 1>;
133 default-state = "on";
137 reg_vddio_sd0: vddio-sd0 {
138 compatible = "regulator-fixed";
139 pinctrl-names = "default";
140 pinctrl-0 = <&mmc_pwr_cfa10036>;
141 regulator-name = "vddio-sd0";
142 regulator-min-microvolt = <3300000>;
143 regulator-max-microvolt = <3300000>;
144 gpio = <&gpio3 28 0>;