| 1 |
// SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
/* |
| 3 |
* Copyright (C) 2016 Savoir-Faire Linux |
| 4 |
* Author: Sebastien Bourdelin <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
/dts-v1/; |
| 8 |
#include "imx28.dtsi" |
| 9 |
#include "dt-bindings/gpio/gpio.h" |
| 10 |
|
| 11 |
/ { |
| 12 |
|
| 13 |
model = "Technologic Systems i.MX28 TS-4600"; |
| 14 |
compatible = "technologic,imx28-ts4600", "fsl,imx28"; |
| 15 |
|
| 16 |
memory@40000000 { |
| 17 |
device_type = "memory"; |
| 18 |
reg = <0x40000000 0x10000000>; /* 256MB */ |
| 19 |
}; |
| 20 |
|
| 21 |
reg_vddio_sd0: regulator-vddio-sd0 { |
| 22 |
compatible = "regulator-fixed"; |
| 23 |
regulator-name = "vddio-sd0"; |
| 24 |
regulator-min-microvolt = <3300000>; |
| 25 |
regulator-max-microvolt = <3300000>; |
| 26 |
regulator-boot-on; |
| 27 |
gpio = <&gpio3 28 GPIO_ACTIVE_LOW>; |
| 28 |
}; |
| 29 |
|
| 30 |
}; |
| 31 |
|
| 32 |
&duart { |
| 33 |
pinctrl-names = "default"; |
| 34 |
pinctrl-0 = <&duart_pins_a>; |
| 35 |
status = "okay"; |
| 36 |
}; |
| 37 |
|
| 38 |
&pinctrl { |
| 39 |
en_sd_pwr: en-sd-pwr@0 { |
| 40 |
reg = <0>; |
| 41 |
fsl,pinmux-ids = < |
| 42 |
MX28_PAD_PWM3__GPIO_3_28 |
| 43 |
>; |
| 44 |
fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 45 |
fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 46 |
fsl,pull-up = <MXS_PULL_DISABLE>; |
| 47 |
}; |
| 48 |
}; |
| 49 |
|
| 50 |
&pwm { |
| 51 |
pinctrl-names = "default"; |
| 52 |
pinctrl-0 = <&pwm2_pins_a>; |
| 53 |
status = "okay"; |
| 54 |
}; |
| 55 |
|
| 56 |
&ssp0 { |
| 57 |
compatible = "fsl,imx28-mmc"; |
| 58 |
pinctrl-names = "default"; |
| 59 |
pinctrl-0 = <&mmc0_4bit_pins_a |
| 60 |
&mmc0_sck_cfg |
| 61 |
&en_sd_pwr>; |
| 62 |
broken-cd; |
| 63 |
bus-width = <4>; |
| 64 |
vmmc-supply = <®_vddio_sd0>; |
| 65 |
status = "okay"; |
| 66 |
}; |