blob: ff6f1e8f2dd9bfa54a6387998421f1ac8877c841 [file] [log] [blame]
Shawn Guo082d33d2013-04-02 13:15:16 +08001/*
2 * Copyright 2012 Freescale Semiconductor, Inc.
3 * Copyright 2011 Linaro Ltd.
4 *
5 * The code contained herein is licensed under the GNU General Public
6 * License. You may obtain a copy of the GNU General Public License
7 * Version 2 or later at the following locations:
8 *
9 * http://www.opensource.org/licenses/gpl-license.html
10 * http://www.gnu.org/copyleft/gpl.html
11 */
12
13/ {
14 memory {
15 reg = <0x10000000 0x80000000>;
16 };
17};
18
Huang Shijiefaacc292013-05-09 11:29:03 +080019&ecspi1 {
20 fsl,spi-num-chipselects = <1>;
21 cs-gpios = <&gpio3 19 0>;
22 pinctrl-names = "default";
Huang Shijie72eb4cc2013-05-28 14:20:08 +080023 pinctrl-0 = <&pinctrl_ecspi1_1 &pinctrl_ecspi1_sabreauto>;
Huang Shijiefaacc292013-05-09 11:29:03 +080024 status = "disabled"; /* pin conflict with WEIM NOR */
25
26 flash: m25p80@0 {
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "st,m25p32";
30 spi-max-frequency = <20000000>;
31 reg = <0>;
32 };
33};
34
Shawn Guo082d33d2013-04-02 13:15:16 +080035&fec {
36 pinctrl-names = "default";
37 pinctrl-0 = <&pinctrl_enet_2>;
38 phy-mode = "rgmii";
39 status = "okay";
40};
41
Huang Shijie82726932013-05-07 15:39:20 +080042&gpmi {
43 pinctrl-names = "default";
44 pinctrl-0 = <&pinctrl_gpmi_nand_1>;
45 status = "okay";
46};
47
Shawn Guoc56009b2f2013-07-11 13:58:36 +080048&iomuxc {
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_hog>;
51
52 hog {
53 pinctrl_hog: hoggrp {
54 fsl,pins = <
55 MX6QDL_PAD_NANDF_CS2__GPIO6_IO15 0x80000000
56 MX6QDL_PAD_SD2_DAT2__GPIO1_IO13 0x80000000
Dong Aisheng93e2ca02013-09-13 19:11:38 +080057 MX6QDL_PAD_GPIO_18__SD3_VSELECT 0x17059
Shawn Guoc56009b2f2013-07-11 13:58:36 +080058 >;
59 };
60 };
61
62 ecspi1 {
63 pinctrl_ecspi1_sabreauto: ecspi1-sabreauto {
64 fsl,pins = <
65 MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x80000000
66 >;
67 };
68 };
69};
70
Shawn Guo082d33d2013-04-02 13:15:16 +080071&uart4 {
72 pinctrl-names = "default";
73 pinctrl-0 = <&pinctrl_uart4_1>;
74 status = "okay";
75};
76
77&usdhc3 {
Dong Aisheng93e2ca02013-09-13 19:11:38 +080078 pinctrl-names = "default", "state_100mhz", "state_200mhz";
Shawn Guo082d33d2013-04-02 13:15:16 +080079 pinctrl-0 = <&pinctrl_usdhc3_1>;
Dong Aisheng93e2ca02013-09-13 19:11:38 +080080 pinctrl-1 = <&pinctrl_usdhc3_1_100mhz>;
81 pinctrl-2 = <&pinctrl_usdhc3_1_200mhz>;
Shawn Guo082d33d2013-04-02 13:15:16 +080082 cd-gpios = <&gpio6 15 0>;
83 wp-gpios = <&gpio1 13 0>;
84 status = "okay";
85};
Huang Shijie50fe0e92013-05-28 14:20:12 +080086
87&weim {
88 pinctrl-names = "default";
89 pinctrl-0 = <&pinctrl_weim_nor_1 &pinctrl_weim_cs0_1>;
90 #address-cells = <2>;
91 #size-cells = <1>;
92 ranges = <0 0 0x08000000 0x08000000>;
93 status = "disabled"; /* pin conflict with SPI NOR */
94
95 nor@0,0 {
96 compatible = "cfi-flash";
97 reg = <0 0 0x02000000>;
98 #address-cells = <1>;
99 #size-cells = <1>;
100 bank-width = <2>;
101 fsl,weim-cs-timing = <0x00620081 0x00000001 0x1c022000
102 0x0000c000 0x1404a38e 0x00000000>;
103 };
104};