Merge tag 'v4.11-rc5' into next
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / mt2701-evb.dts
1 /*
2  * Copyright (c) 2015 MediaTek Inc.
3  * Author: Erin Lo <erin.lo@mediatek.com>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  */
14
15 /dts-v1/;
16 #include "mt2701.dtsi"
17
18 / {
19         model = "MediaTek MT2701 evaluation board";
20         compatible = "mediatek,mt2701-evb", "mediatek,mt2701";
21
22         memory {
23                 reg = <0 0x80000000 0 0x40000000>;
24         };
25 };
26
27 &auxadc {
28         status = "okay";
29 };
30
31 &pio {
32         spi_pins_a: spi0@0 {
33                 pins_spi {
34                         pinmux = <MT2701_PIN_53_SPI0_CSN__FUNC_SPI0_CS>,
35                                  <MT2701_PIN_54_SPI0_CK__FUNC_SPI0_CK>,
36                                  <MT2701_PIN_55_SPI0_MI__FUNC_SPI0_MI>,
37                                  <MT2701_PIN_56_SPI0_MO__FUNC_SPI0_MO>;
38                         bias-disable;
39                 };
40         };
41
42         spi_pins_b: spi1@0 {
43                 pins_spi {
44                         pinmux = <MT2701_PIN_7_SPI1_CSN__FUNC_SPI1_CS>,
45                                  <MT2701_PIN_8_SPI1_MI__FUNC_SPI1_MI>,
46                                  <MT2701_PIN_9_SPI1_MO__FUNC_SPI1_MO>,
47                                  <MT2701_PIN_199_SPI1_CLK__FUNC_SPI1_CK>;
48                         bias-disable;
49                 };
50         };
51
52         spi_pins_c: spi2@0 {
53                 pins_spi {
54                         pinmux = <MT2701_PIN_101_SPI2_CSN__FUNC_SPI2_CS>,
55                                  <MT2701_PIN_102_SPI2_MI__FUNC_SPI2_MI>,
56                                  <MT2701_PIN_103_SPI2_MO__FUNC_SPI2_MO>,
57                                  <MT2701_PIN_104_SPI2_CLK__FUNC_SPI2_CK>;
58                         bias-disable;
59                 };
60         };
61 };
62
63 &spi0 {
64         pinctrl-names = "default";
65         pinctrl-0 = <&spi_pins_a>;
66         status = "disabled";
67 };
68
69 &spi1 {
70         pinctrl-names = "default";
71         pinctrl-0 = <&spi_pins_b>;
72         status = "disabled";
73 };
74
75 &spi2 {
76         pinctrl-names = "default";
77         pinctrl-0 = <&spi_pins_c>;
78         status = "disabled";
79 };
80
81 &uart0 {
82         status = "okay";
83 };