Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.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 {
23                 reg = <0x40000000 0x10000000>;   /* 256MB */
24         };
25
26         apb@80000000 {
27                 apbh@80000000 {
28                         ssp0: ssp@80010000 {
29                                 compatible = "fsl,imx28-mmc";
30                                 pinctrl-names = "default";
31                                 pinctrl-0 = <&mmc0_4bit_pins_a
32                                              &mmc0_sck_cfg
33                                              &en_sd_pwr>;
34                                 broken-cd = <1>;
35                                 bus-width = <4>;
36                                 vmmc-supply = <&reg_vddio_sd0>;
37                                 status = "okay";
38                         };
39
40                         pinctrl@80018000 {
41
42                                 en_sd_pwr: en-sd-pwr@0 {
43                                         reg = <0>;
44                                         fsl,pinmux-ids = <
45                                                 MX28_PAD_PWM3__GPIO_3_28
46                                         >;
47                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
48                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
49                                         fsl,pull-up = <MXS_PULL_DISABLE>;
50                                 };
51
52                         };
53                 };
54
55                 apbx@80040000 {
56                         pwm: pwm@80064000 {
57                                 pinctrl-names = "default";
58                                 pinctrl-0 = <&pwm2_pins_a>;
59                                 status = "okay";
60                         };
61
62                         duart: serial@80074000 {
63                                 pinctrl-names = "default";
64                                 pinctrl-0 = <&duart_pins_a>;
65                                 status = "okay";
66                         };
67                 };
68         };
69
70         reg_vddio_sd0: regulator-vddio-sd0 {
71                 compatible = "regulator-fixed";
72                 regulator-name = "vddio-sd0";
73                 regulator-min-microvolt = <3300000>;
74                 regulator-max-microvolt = <3300000>;
75                 regulator-boot-on;
76                 gpio = <&gpio3 28 GPIO_ACTIVE_LOW>;
77         };
78
79 };