]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/arm/boot/dts/imx28-cfa10036.dts
Merge tag 'mips_fixes_5.1_1' into mips-next
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / imx28-cfa10036.dts
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/;
13 #include "imx28.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15
16 / {
17 model = "Crystalfontz CFA-10036 Board";
18 compatible = "crystalfontz,cfa10036", "fsl,imx28";
19
20 memory@40000000 {
21 device_type = "memory";
22 reg = <0x40000000 0x08000000>;
23 };
24
25 apb@80000000 {
26 apbh@80000000 {
27 pinctrl@80018000 {
28 ssd1306_cfa10036: ssd1306-10036@0 {
29 reg = <0>;
30 fsl,pinmux-ids = <
31 MX28_PAD_SSP0_DATA7__GPIO_2_7
32 >;
33 fsl,drive-strength = <MXS_DRIVE_4mA>;
34 fsl,voltage = <MXS_VOLTAGE_HIGH>;
35 fsl,pull-up = <MXS_PULL_DISABLE>;
36 };
37
38 led_pins_cfa10036: leds-10036@0 {
39 reg = <0>;
40 fsl,pinmux-ids = <
41 MX28_PAD_AUART1_RX__GPIO_3_4
42 >;
43 fsl,drive-strength = <MXS_DRIVE_4mA>;
44 fsl,voltage = <MXS_VOLTAGE_HIGH>;
45 fsl,pull-up = <MXS_PULL_DISABLE>;
46 };
47
48 usb0_otg_cfa10036: otg-10036@0 {
49 reg = <0>;
50 fsl,pinmux-ids = <
51 MX28_PAD_GPMI_RDY0__USB0_ID
52 >;
53 fsl,drive-strength = <MXS_DRIVE_4mA>;
54 fsl,voltage = <MXS_VOLTAGE_HIGH>;
55 fsl,pull-up = <MXS_PULL_DISABLE>;
56 };
57
58 mmc_pwr_cfa10036: mmc_pwr_cfa10036@0 {
59 reg = <0>;
60 fsl,pinmux-ids = <
61 0x31c3 /*
62 MX28_PAD_PWM3__GPIO_3_28 */
63 >;
64 fsl,drive-strength = <0>;
65 fsl,voltage = <1>;
66 fsl,pull-up = <0>;
67 };
68
69 };
70
71 ssp0: spi@80010000 {
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 = <&reg_vddio_sd0>;
77 bus-width = <4>;
78 status = "okay";
79 };
80 };
81
82 apbx@80040000 {
83 duart: serial@80074000 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&duart_pins_b>;
86 status = "okay";
87 };
88
89 i2c0: i2c@80058000 {
90 pinctrl-names = "default";
91 pinctrl-0 = <&i2c0_pins_b>;
92 clock-frequency = <400000>;
93 status = "okay";
94
95 ssd1306: oled@3c {
96 compatible = "solomon,ssd1306fb-i2c";
97 pinctrl-names = "default";
98 pinctrl-0 = <&ssd1306_cfa10036>;
99 reg = <0x3c>;
100 reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
101 solomon,height = <32>;
102 solomon,width = <128>;
103 solomon,page-offset = <0>;
104 solomon,com-lrremap;
105 solomon,com-invdir;
106 solomon,com-offset = <32>;
107 };
108 };
109
110 usbphy0: usbphy@8007c000 {
111 status = "okay";
112 };
113 };
114 };
115
116 ahb@80080000 {
117 usb0: usb@80080000 {
118 pinctrl-names = "default";
119 pinctrl-0 = <&usb0_otg_cfa10036>;
120 dr_mode = "peripheral";
121 phy_type = "utmi";
122 status = "okay";
123 };
124 };
125
126 leds {
127 compatible = "gpio-leds";
128 pinctrl-names = "default";
129 pinctrl-0 = <&led_pins_cfa10036>;
130
131 power {
132 gpios = <&gpio3 4 1>;
133 default-state = "on";
134 };
135 };
136
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>;
145 };
146 };