Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Copyright (C) 2016 Savoir-Faire Linux
0004  * Author: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
0005  */
0006 
0007 /dts-v1/;
0008 #include "imx28.dtsi"
0009 #include "dt-bindings/gpio/gpio.h"
0010 
0011 / {
0012 
0013         model = "Technologic Systems i.MX28 TS-4600";
0014         compatible = "technologic,imx28-ts4600", "fsl,imx28";
0015 
0016         memory@40000000 {
0017                 device_type = "memory";
0018                 reg = <0x40000000 0x10000000>;   /* 256MB */
0019         };
0020 
0021         apb@80000000 {
0022                 apbh@80000000 {
0023                         ssp0: spi@80010000 {
0024                                 compatible = "fsl,imx28-mmc";
0025                                 pinctrl-names = "default";
0026                                 pinctrl-0 = <&mmc0_4bit_pins_a
0027                                              &mmc0_sck_cfg
0028                                              &en_sd_pwr>;
0029                                 broken-cd;
0030                                 bus-width = <4>;
0031                                 vmmc-supply = <&reg_vddio_sd0>;
0032                                 status = "okay";
0033                         };
0034 
0035                         pinctrl@80018000 {
0036 
0037                                 en_sd_pwr: en-sd-pwr@0 {
0038                                         reg = <0>;
0039                                         fsl,pinmux-ids = <
0040                                                 MX28_PAD_PWM3__GPIO_3_28
0041                                         >;
0042                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
0043                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
0044                                         fsl,pull-up = <MXS_PULL_DISABLE>;
0045                                 };
0046 
0047                         };
0048                 };
0049 
0050                 apbx@80040000 {
0051                         pwm: pwm@80064000 {
0052                                 pinctrl-names = "default";
0053                                 pinctrl-0 = <&pwm2_pins_a>;
0054                                 status = "okay";
0055                         };
0056 
0057                         duart: serial@80074000 {
0058                                 pinctrl-names = "default";
0059                                 pinctrl-0 = <&duart_pins_a>;
0060                                 status = "okay";
0061                         };
0062                 };
0063         };
0064 
0065         reg_vddio_sd0: regulator-vddio-sd0 {
0066                 compatible = "regulator-fixed";
0067                 regulator-name = "vddio-sd0";
0068                 regulator-min-microvolt = <3300000>;
0069                 regulator-max-microvolt = <3300000>;
0070                 regulator-boot-on;
0071                 gpio = <&gpio3 28 GPIO_ACTIVE_LOW>;
0072         };
0073 
0074 };