]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm/boot/dts/imx28-cfa10036.dts
UBUNTU: Ubuntu-5.11.0-22.23
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / boot / dts / imx28-cfa10036.dts
CommitLineData
fcaf2036 1// SPDX-License-Identifier: GPL-2.0-or-later
330eaaf9
MR
2/*
3 * Copyright 2012 Free Electrons
330eaaf9
MR
4 */
5
6/dts-v1/;
bc3875f1 7#include "imx28.dtsi"
1ac1d484 8#include <dt-bindings/gpio/gpio.h>
330eaaf9
MR
9
10/ {
11 model = "Crystalfontz CFA-10036 Board";
12 compatible = "crystalfontz,cfa10036", "fsl,imx28";
13
ad00e080 14 memory@40000000 {
32018d15 15 device_type = "memory";
330eaaf9
MR
16 reg = <0x40000000 0x08000000>;
17 };
18
19 apb@80000000 {
20 apbh@80000000 {
c241d0a3 21 pinctrl@80018000 {
a74d2ec7 22 ssd1306_cfa10036: ssd1306-10036@0 {
24196d5c
MR
23 reg = <0>;
24 fsl,pinmux-ids = <
bc3875f1 25 MX28_PAD_SSP0_DATA7__GPIO_2_7
24196d5c 26 >;
4191c340
LW
27 fsl,drive-strength = <MXS_DRIVE_4mA>;
28 fsl,voltage = <MXS_VOLTAGE_HIGH>;
29 fsl,pull-up = <MXS_PULL_DISABLE>;
24196d5c
MR
30 };
31
c241d0a3
MR
32 led_pins_cfa10036: leds-10036@0 {
33 reg = <0>;
34 fsl,pinmux-ids = <
bc3875f1 35 MX28_PAD_AUART1_RX__GPIO_3_4
c241d0a3 36 >;
4191c340
LW
37 fsl,drive-strength = <MXS_DRIVE_4mA>;
38 fsl,voltage = <MXS_VOLTAGE_HIGH>;
39 fsl,pull-up = <MXS_PULL_DISABLE>;
c241d0a3 40 };
17a21638
MR
41
42 usb0_otg_cfa10036: otg-10036@0 {
43 reg = <0>;
44 fsl,pinmux-ids = <
bc3875f1 45 MX28_PAD_GPMI_RDY0__USB0_ID
17a21638 46 >;
4191c340
LW
47 fsl,drive-strength = <MXS_DRIVE_4mA>;
48 fsl,voltage = <MXS_VOLTAGE_HIGH>;
49 fsl,pull-up = <MXS_PULL_DISABLE>;
17a21638
MR
50 };
51
a3f8c564
AB
52 mmc_pwr_cfa10036: mmc_pwr_cfa10036@0 {
53 reg = <0>;
54 fsl,pinmux-ids = <
55 0x31c3 /*
56 MX28_PAD_PWM3__GPIO_3_28 */
57 >;
58 fsl,drive-strength = <0>;
59 fsl,voltage = <1>;
60 fsl,pull-up = <0>;
61 };
62
c241d0a3
MR
63 };
64
5a2ecf0d 65 ssp0: spi@80010000 {
330eaaf9
MR
66 compatible = "fsl,imx28-mmc";
67 pinctrl-names = "default";
68 pinctrl-0 = <&mmc0_4bit_pins_a
69 &mmc0_cd_cfg &mmc0_sck_cfg>;
a3f8c564 70 vmmc-supply = <&reg_vddio_sd0>;
330eaaf9
MR
71 bus-width = <4>;
72 status = "okay";
73 };
74 };
75
76 apbx@80040000 {
77 duart: serial@80074000 {
78 pinctrl-names = "default";
79 pinctrl-0 = <&duart_pins_b>;
80 status = "okay";
81 };
25d6dd85
MR
82
83 i2c0: i2c@80058000 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&i2c0_pins_b>;
b55cb191 86 clock-frequency = <400000>;
25d6dd85
MR
87 status = "okay";
88
b400932c
MR
89 ssd1306: oled@3c {
90 compatible = "solomon,ssd1306fb-i2c";
a74d2ec7
AB
91 pinctrl-names = "default";
92 pinctrl-0 = <&ssd1306_cfa10036>;
25d6dd85 93 reg = <0x3c>;
1ac1d484 94 reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
b400932c
MR
95 solomon,height = <32>;
96 solomon,width = <128>;
97 solomon,page-offset = <0>;
20400851
TN
98 solomon,com-lrremap;
99 solomon,com-invdir;
100 solomon,com-offset = <32>;
25d6dd85
MR
101 };
102 };
17a21638
MR
103
104 usbphy0: usbphy@8007c000 {
105 status = "okay";
106 };
107 };
108 };
109
110 ahb@80080000 {
111 usb0: usb@80080000 {
112 pinctrl-names = "default";
113 pinctrl-0 = <&usb0_otg_cfa10036>;
c896238c
MR
114 dr_mode = "peripheral";
115 phy_type = "utmi";
17a21638 116 status = "okay";
330eaaf9
MR
117 };
118 };
f34ffc9e
MR
119
120 leds {
121 compatible = "gpio-leds";
c241d0a3
MR
122 pinctrl-names = "default";
123 pinctrl-0 = <&led_pins_cfa10036>;
f34ffc9e
MR
124
125 power {
126 gpios = <&gpio3 4 1>;
127 default-state = "on";
128 };
129 };
a3f8c564
AB
130
131 reg_vddio_sd0: vddio-sd0 {
132 compatible = "regulator-fixed";
133 pinctrl-names = "default";
134 pinctrl-0 = <&mmc_pwr_cfa10036>;
135 regulator-name = "vddio-sd0";
136 regulator-min-microvolt = <3300000>;
137 regulator-max-microvolt = <3300000>;
138 gpio = <&gpio3 28 0>;
139 };
330eaaf9 140};