]>
Commit | Line | Data |
---|---|---|
dd852aa5 SG |
1 | /* |
2 | * Copyright 2012 Freescale Semiconductor, Inc. | |
3 | * | |
4 | * The code contained herein is licensed under the GNU General Public | |
5 | * License. You may obtain a copy of the GNU General Public License | |
6 | * Version 2 or later at the following locations: | |
7 | * | |
8 | * http://www.opensource.org/licenses/gpl-license.html | |
9 | * http://www.gnu.org/copyleft/gpl.html | |
10 | */ | |
11 | ||
12 | /dts-v1/; | |
bc3875f1 | 13 | #include "imx23.dtsi" |
dd852aa5 SG |
14 | |
15 | / { | |
16 | model = "Freescale STMP378x Development Board"; | |
17 | compatible = "fsl,stmp378x-devb", "fsl,imx23"; | |
18 | ||
ad00e080 | 19 | memory@40000000 { |
b629e835 | 20 | device_type = "memory"; |
dd852aa5 SG |
21 | reg = <0x40000000 0x04000000>; |
22 | }; | |
23 | ||
24 | apb@80000000 { | |
25 | apbh@80000000 { | |
5a2ecf0d | 26 | ssp0: spi@80010000 { |
dd852aa5 SG |
27 | compatible = "fsl,imx23-mmc"; |
28 | pinctrl-names = "default"; | |
29 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; | |
30 | bus-width = <4>; | |
31 | wp-gpios = <&gpio1 30 0>; | |
32 | vmmc-supply = <®_vddio_sd0>; | |
33 | status = "okay"; | |
34 | }; | |
35 | ||
36 | pinctrl@80018000 { | |
37 | pinctrl-names = "default"; | |
38 | pinctrl-0 = <&hog_pins_a>; | |
39 | ||
e0e35b48 | 40 | hog_pins_a: hog@0 { |
dd852aa5 SG |
41 | reg = <0>; |
42 | fsl,pinmux-ids = < | |
bc3875f1 LW |
43 | MX23_PAD_PWM3__GPIO_1_29 |
44 | MX23_PAD_PWM4__GPIO_1_30 | |
dd852aa5 | 45 | >; |
4191c340 LW |
46 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
47 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | |
48 | fsl,pull-up = <MXS_PULL_DISABLE>; | |
dd852aa5 SG |
49 | }; |
50 | }; | |
51 | }; | |
52 | ||
53 | apbx@80040000 { | |
54 | auart0: serial@8006c000 { | |
55 | pinctrl-names = "default"; | |
56 | pinctrl-0 = <&auart0_pins_a>; | |
57 | status = "okay"; | |
58 | }; | |
59 | ||
60 | duart: serial@80070000 { | |
61 | pinctrl-names = "default"; | |
62 | pinctrl-0 = <&duart_pins_a>; | |
63 | status = "okay"; | |
64 | }; | |
65 | }; | |
66 | }; | |
67 | ||
68 | regulators { | |
69 | compatible = "simple-bus"; | |
352d318c SG |
70 | #address-cells = <1>; |
71 | #size-cells = <0>; | |
dd852aa5 | 72 | |
352d318c | 73 | reg_vddio_sd0: regulator@0 { |
dd852aa5 | 74 | compatible = "regulator-fixed"; |
352d318c | 75 | reg = <0>; |
dd852aa5 SG |
76 | regulator-name = "vddio-sd0"; |
77 | regulator-min-microvolt = <3300000>; | |
78 | regulator-max-microvolt = <3300000>; | |
79 | gpio = <&gpio1 29 0>; | |
80 | }; | |
81 | }; | |
82 | }; |