| 1 |
// SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
/* |
| 3 |
* Copyright 2012 Freescale Semiconductor, Inc. |
| 4 |
*/ |
| 5 |
|
| 6 |
/dts-v1/; |
| 7 |
#include "imx23.dtsi" |
| 8 |
|
| 9 |
/ { |
| 10 |
model = "Freescale STMP378x Development Board"; |
| 11 |
compatible = "fsl,stmp378x-devb", "fsl,imx23"; |
| 12 |
|
| 13 |
memory@40000000 { |
| 14 |
device_type = "memory"; |
| 15 |
reg = <0x40000000 0x04000000>; |
| 16 |
}; |
| 17 |
|
| 18 |
apb@80000000 { |
| 19 |
apbh-bus@80000000 { |
| 20 |
ssp0: spi@80010000 { |
| 21 |
compatible = "fsl,imx23-mmc"; |
| 22 |
pinctrl-names = "default"; |
| 23 |
pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; |
| 24 |
bus-width = <4>; |
| 25 |
wp-gpios = <&gpio1 30 0>; |
| 26 |
vmmc-supply = <®_vddio_sd0>; |
| 27 |
status = "okay"; |
| 28 |
}; |
| 29 |
|
| 30 |
pinctrl@80018000 { |
| 31 |
pinctrl-names = "default"; |
| 32 |
pinctrl-0 = <&hog_pins_a>; |
| 33 |
|
| 34 |
hog_pins_a: hog@0 { |
| 35 |
reg = <0>; |
| 36 |
fsl,pinmux-ids = < |
| 37 |
MX23_PAD_PWM3__GPIO_1_29 |
| 38 |
MX23_PAD_PWM4__GPIO_1_30 |
| 39 |
>; |
| 40 |
fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 41 |
fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 42 |
fsl,pull-up = <MXS_PULL_DISABLE>; |
| 43 |
}; |
| 44 |
}; |
| 45 |
}; |
| 46 |
|
| 47 |
apbx-bus@80040000 { |
| 48 |
auart0: serial@8006c000 { |
| 49 |
pinctrl-names = "default"; |
| 50 |
pinctrl-0 = <&auart0_pins_a>; |
| 51 |
status = "okay"; |
| 52 |
}; |
| 53 |
|
| 54 |
duart: serial@80070000 { |
| 55 |
pinctrl-names = "default"; |
| 56 |
pinctrl-0 = <&duart_pins_a>; |
| 57 |
status = "okay"; |
| 58 |
}; |
| 59 |
}; |
| 60 |
}; |
| 61 |
|
| 62 |
reg_vddio_sd0: regulator-0 { |
| 63 |
compatible = "regulator-fixed"; |
| 64 |
regulator-name = "vddio-sd0"; |
| 65 |
regulator-min-microvolt = <3300000>; |
| 66 |
regulator-max-microvolt = <3300000>; |
| 67 |
gpio = <&gpio1 29 0>; |
| 68 |
}; |
| 69 |
}; |