xref: /linux/arch/arm/boot/dts/nxp/mxs/imx28-cfa10036.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright 2012 Free Electrons
4*724ba675SRob Herring */
5*724ba675SRob Herring
6*724ba675SRob Herring/dts-v1/;
7*724ba675SRob Herring#include "imx28.dtsi"
8*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	model = "Crystalfontz CFA-10036 Board";
12*724ba675SRob Herring	compatible = "crystalfontz,cfa10036", "fsl,imx28";
13*724ba675SRob Herring
14*724ba675SRob Herring	memory@40000000 {
15*724ba675SRob Herring		device_type = "memory";
16*724ba675SRob Herring		reg = <0x40000000 0x08000000>;
17*724ba675SRob Herring	};
18*724ba675SRob Herring
19*724ba675SRob Herring	leds {
20*724ba675SRob Herring		compatible = "gpio-leds";
21*724ba675SRob Herring		pinctrl-names = "default";
22*724ba675SRob Herring		pinctrl-0 = <&led_pins_cfa10036>;
23*724ba675SRob Herring
24*724ba675SRob Herring		power {
25*724ba675SRob Herring			gpios = <&gpio3 4 1>;
26*724ba675SRob Herring			default-state = "on";
27*724ba675SRob Herring		};
28*724ba675SRob Herring	};
29*724ba675SRob Herring
30*724ba675SRob Herring	reg_vddio_sd0: vddio-sd0 {
31*724ba675SRob Herring		compatible = "regulator-fixed";
32*724ba675SRob Herring		pinctrl-names = "default";
33*724ba675SRob Herring		pinctrl-0 = <&mmc_pwr_cfa10036>;
34*724ba675SRob Herring		regulator-name = "vddio-sd0";
35*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
36*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
37*724ba675SRob Herring		gpio = <&gpio3 28 0>;
38*724ba675SRob Herring	};
39*724ba675SRob Herring};
40*724ba675SRob Herring
41*724ba675SRob Herring&duart {
42*724ba675SRob Herring	pinctrl-names = "default";
43*724ba675SRob Herring	pinctrl-0 = <&duart_pins_b>;
44*724ba675SRob Herring	status = "okay";
45*724ba675SRob Herring};
46*724ba675SRob Herring
47*724ba675SRob Herring&i2c0 {
48*724ba675SRob Herring	pinctrl-names = "default";
49*724ba675SRob Herring	pinctrl-0 = <&i2c0_pins_b>;
50*724ba675SRob Herring	clock-frequency = <400000>;
51*724ba675SRob Herring	status = "okay";
52*724ba675SRob Herring
53*724ba675SRob Herring	ssd1306: oled@3c {
54*724ba675SRob Herring		compatible = "solomon,ssd1306fb-i2c";
55*724ba675SRob Herring		pinctrl-names = "default";
56*724ba675SRob Herring		pinctrl-0 = <&ssd1306_cfa10036>;
57*724ba675SRob Herring		reg = <0x3c>;
58*724ba675SRob Herring		reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
59*724ba675SRob Herring		solomon,height = <32>;
60*724ba675SRob Herring		solomon,width = <128>;
61*724ba675SRob Herring		solomon,page-offset = <0>;
62*724ba675SRob Herring		solomon,com-lrremap;
63*724ba675SRob Herring		solomon,com-invdir;
64*724ba675SRob Herring		solomon,com-offset = <32>;
65*724ba675SRob Herring	};
66*724ba675SRob Herring};
67*724ba675SRob Herring
68*724ba675SRob Herring&pinctrl {
69*724ba675SRob Herring	ssd1306_cfa10036: ssd1306-10036@0 {
70*724ba675SRob Herring		reg = <0>;
71*724ba675SRob Herring		fsl,pinmux-ids = <
72*724ba675SRob Herring			MX28_PAD_SSP0_DATA7__GPIO_2_7
73*724ba675SRob Herring		>;
74*724ba675SRob Herring		fsl,drive-strength = <MXS_DRIVE_4mA>;
75*724ba675SRob Herring		fsl,voltage = <MXS_VOLTAGE_HIGH>;
76*724ba675SRob Herring		fsl,pull-up = <MXS_PULL_DISABLE>;
77*724ba675SRob Herring	};
78*724ba675SRob Herring
79*724ba675SRob Herring	led_pins_cfa10036: leds-10036@0 {
80*724ba675SRob Herring		reg = <0>;
81*724ba675SRob Herring		fsl,pinmux-ids = <
82*724ba675SRob Herring			MX28_PAD_AUART1_RX__GPIO_3_4
83*724ba675SRob Herring		>;
84*724ba675SRob Herring		fsl,drive-strength = <MXS_DRIVE_4mA>;
85*724ba675SRob Herring		fsl,voltage = <MXS_VOLTAGE_HIGH>;
86*724ba675SRob Herring		fsl,pull-up = <MXS_PULL_DISABLE>;
87*724ba675SRob Herring	};
88*724ba675SRob Herring
89*724ba675SRob Herring	usb0_otg_cfa10036: otg-10036@0 {
90*724ba675SRob Herring		reg = <0>;
91*724ba675SRob Herring		fsl,pinmux-ids = <
92*724ba675SRob Herring			MX28_PAD_GPMI_RDY0__USB0_ID
93*724ba675SRob Herring		>;
94*724ba675SRob Herring		fsl,drive-strength = <MXS_DRIVE_4mA>;
95*724ba675SRob Herring		fsl,voltage = <MXS_VOLTAGE_HIGH>;
96*724ba675SRob Herring		fsl,pull-up = <MXS_PULL_DISABLE>;
97*724ba675SRob Herring	};
98*724ba675SRob Herring
99*724ba675SRob Herring	mmc_pwr_cfa10036: mmc_pwr_cfa10036@0 {
100*724ba675SRob Herring		reg = <0>;
101*724ba675SRob Herring		fsl,pinmux-ids = <
102*724ba675SRob Herring			0x31c3 /*
103*724ba675SRob Herring			MX28_PAD_PWM3__GPIO_3_28 */
104*724ba675SRob Herring		>;
105*724ba675SRob Herring		fsl,drive-strength = <0>;
106*724ba675SRob Herring		fsl,voltage = <1>;
107*724ba675SRob Herring		fsl,pull-up = <0>;
108*724ba675SRob Herring	};
109*724ba675SRob Herring};
110*724ba675SRob Herring
111*724ba675SRob Herring&ssp0 {
112*724ba675SRob Herring	compatible = "fsl,imx28-mmc";
113*724ba675SRob Herring	pinctrl-names = "default";
114*724ba675SRob Herring	pinctrl-0 = <&mmc0_4bit_pins_a
115*724ba675SRob Herring		&mmc0_cd_cfg &mmc0_sck_cfg>;
116*724ba675SRob Herring	vmmc-supply = <&reg_vddio_sd0>;
117*724ba675SRob Herring	bus-width = <4>;
118*724ba675SRob Herring	status = "okay";
119*724ba675SRob Herring};
120*724ba675SRob Herring
121*724ba675SRob Herring&usb0 {
122*724ba675SRob Herring	pinctrl-names = "default";
123*724ba675SRob Herring	pinctrl-0 = <&usb0_otg_cfa10036>;
124*724ba675SRob Herring	dr_mode = "peripheral";
125*724ba675SRob Herring	phy_type = "utmi";
126*724ba675SRob Herring	status = "okay";
127*724ba675SRob Herring};
128*724ba675SRob Herring
129*724ba675SRob Herring&usbphy0 {
130*724ba675SRob Herring	status = "okay";
131*724ba675SRob Herring};
132