Merge branch 'next' into for-linus
[linux-2.6-microblaze.git] / arch / arm / boot / dts / imx28-ts4600.dts
1 /*
2  * Copyright (C) 2016 Savoir-Faire Linux
3  * Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
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 /dts-v1/;
14 #include "imx28.dtsi"
15 #include "dt-bindings/gpio/gpio.h"
16
17 / {
18
19         model = "Technologic Systems i.MX28 TS-4600";
20         compatible = "technologic,imx28-ts4600", "fsl,imx28";
21
22         memory@40000000 {
23                 device_type = "memory";
24                 reg = <0x40000000 0x10000000>;   /* 256MB */
25         };
26
27         apb@80000000 {
28                 apbh@80000000 {
29                         ssp0: spi@80010000 {
30                                 compatible = "fsl,imx28-mmc";
31                                 pinctrl-names = "default";
32                                 pinctrl-0 = <&mmc0_4bit_pins_a
33                                              &mmc0_sck_cfg
34                                              &en_sd_pwr>;
35                                 broken-cd = <1>;
36                                 bus-width = <4>;
37                                 vmmc-supply = <&reg_vddio_sd0>;
38                                 status = "okay";
39                         };
40
41                         pinctrl@80018000 {
42
43                                 en_sd_pwr: en-sd-pwr@0 {
44                                         reg = <0>;
45                                         fsl,pinmux-ids = <
46                                                 MX28_PAD_PWM3__GPIO_3_28
47                                         >;
48                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
49                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
50                                         fsl,pull-up = <MXS_PULL_DISABLE>;
51                                 };
52
53                         };
54                 };
55
56                 apbx@80040000 {
57                         pwm: pwm@80064000 {
58                                 pinctrl-names = "default";
59                                 pinctrl-0 = <&pwm2_pins_a>;
60                                 status = "okay";
61                         };
62
63                         duart: serial@80074000 {
64                                 pinctrl-names = "default";
65                                 pinctrl-0 = <&duart_pins_a>;
66                                 status = "okay";
67                         };
68                 };
69         };
70
71         reg_vddio_sd0: regulator-vddio-sd0 {
72                 compatible = "regulator-fixed";
73                 regulator-name = "vddio-sd0";
74                 regulator-min-microvolt = <3300000>;
75                 regulator-max-microvolt = <3300000>;
76                 regulator-boot-on;
77                 gpio = <&gpio3 28 GPIO_ACTIVE_LOW>;
78         };
79
80 };