blob: 5549c6ce90158381ce346a022dfa634f8703f20c [file] [log] [blame]
Maxime Riparddb84c032012-08-31 16:00:41 +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/*
13 * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
14 * need to include the CFA-10036 DTS.
15 */
16/include/ "imx28-cfa10036.dts"
17
18/ {
19 model = "Crystalfontz CFA-10049 Board";
20 compatible = "crystalfontz,cfa10049", "crystalfontz,cfa10036", "fsl,imx28";
21
22 apb@80000000 {
Maxime Ripard223d1f92012-09-04 10:44:03 +020023 apbh@80000000 {
24 pinctrl@80018000 {
25 spi3_pins_cfa10049: spi3-cfa10049@0 {
26 reg = <0>;
27 fsl,pinmux-ids = <
28 0x0181 /* MX28_PAD_GPMI_RDN__SSP3_SCK */
29 0x01c1 /* MX28_PAD_GPMI_RESETN__SSP3_CMD */
Maxime Ripard13b45692012-09-10 22:35:41 +020030 0x0111 /* MX28_PAD_GPMI_CE1N__SSP3_D3 */
31 0x01a2 /* MX28_PAD_GPMI_ALE__SSP3_D4 */
Maxime Riparddb7a8942012-10-31 11:30:10 +010032 0x01b2 /* MX28_PAD_GPMI_CLE__SSP3_D5 */
Maxime Ripard223d1f92012-09-04 10:44:03 +020033 >;
34 fsl,drive-strength = <1>;
35 fsl,voltage = <1>;
36 fsl,pull-up = <1>;
37 };
38 };
39
40 ssp3: ssp@80016000 {
41 compatible = "fsl,imx28-spi";
42 pinctrl-names = "default";
43 pinctrl-0 = <&spi3_pins_cfa10049>;
44 status = "okay";
Maxime Ripard13b45692012-09-10 22:35:41 +020045
46 gpio5: gpio5@0 {
47 compatible = "fairchild,74hc595";
48 gpio-controller;
49 #gpio-cells = <2>;
50 reg = <0>;
51 registers-number = <2>;
52 spi-max-frequency = <100000>;
53 };
54
55 gpio6: gpio6@1 {
56 compatible = "fairchild,74hc595";
57 gpio-controller;
58 #gpio-cells = <2>;
59 reg = <1>;
60 registers-number = <4>;
61 spi-max-frequency = <100000>;
62 };
63
Maxime Riparddb7a8942012-10-31 11:30:10 +010064 dac0: dh2228@2 {
65 compatible = "rohm,dh2228fv";
66 reg = <2>;
67 spi-max-frequency = <100000>;
68 };
Maxime Ripard223d1f92012-09-04 10:44:03 +020069 };
70 };
71
Maxime Riparddb84c032012-08-31 16:00:41 +020072 apbx@80040000 {
73 i2c1: i2c@8005a000 {
74 pinctrl-names = "default";
75 pinctrl-0 = <&i2c1_pins_a>;
76 status = "okay";
77 };
Maxime Ripard186e3d92012-09-03 16:15:25 +020078
79 usbphy1: usbphy@8007e000 {
80 status = "okay";
81 };
82 };
83 };
84
85 ahb@80080000 {
86 usb1: usb@80090000 {
87 vbus-supply = <&reg_usb1_vbus>;
88 pinctrl-0 = <&usbphy1_pins_a>;
89 pinctrl-names = "default";
90 status = "okay";
91 };
92 };
93
94 regulators {
95 compatible = "simple-bus";
96
97 reg_usb1_vbus: usb1_vbus {
98 compatible = "regulator-fixed";
99 regulator-name = "usb1_vbus";
100 regulator-min-microvolt = <5000000>;
101 regulator-max-microvolt = <5000000>;
102 gpio = <&gpio0 7 1>;
Maxime Riparddb84c032012-08-31 16:00:41 +0200103 };
104 };
Maxime Ripard8eec4b32012-10-07 10:36:28 +0800105
106 ahb@80080000 {
107 mac0: ethernet@800f0000 {
108 phy-mode = "rmii";
109 pinctrl-names = "default";
110 pinctrl-0 = <&mac0_pins_a>;
111 phy-reset-gpios = <&gpio2 21 0>;
112 phy-reset-duration = <100>;
113 status = "okay";
114 };
115 };
Maxime Riparddb84c032012-08-31 16:00:41 +0200116};