blob: e3fd4112e64223ad5a1ea112a90ae4df74cc4c1e [file] [log] [blame]
Sebastien Bourdelin477f1682017-12-07 12:11:18 -05001/*
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
Marco Franchiad00e082018-01-24 11:22:14 -020022 memory@40000000 {
Fabio Estevam32018d12018-11-26 10:08:56 -020023 device_type = "memory";
Sebastien Bourdelin477f1682017-12-07 12:11:18 -050024 reg = <0x40000000 0x10000000>; /* 256MB */
25 };
26
27 apb@80000000 {
28 apbh@80000000 {
Rob Herring5a2ecf02018-09-13 13:12:29 -050029 ssp0: spi@80010000 {
Sebastien Bourdelin477f1682017-12-07 12:11:18 -050030 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};