Shawn Guo | dd852aa | 2012-07-09 13:33:02 +0800 | [diff] [blame] | 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/; |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 13 | #include "imx23.dtsi" |
Shawn Guo | dd852aa | 2012-07-09 13:33:02 +0800 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "Freescale STMP378x Development Board"; |
| 17 | compatible = "fsl,stmp378x-devb", "fsl,imx23"; |
| 18 | |
| 19 | memory { |
| 20 | reg = <0x40000000 0x04000000>; |
| 21 | }; |
| 22 | |
| 23 | apb@80000000 { |
| 24 | apbh@80000000 { |
| 25 | ssp0: ssp@80010000 { |
| 26 | compatible = "fsl,imx23-mmc"; |
| 27 | pinctrl-names = "default"; |
| 28 | pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>; |
| 29 | bus-width = <4>; |
| 30 | wp-gpios = <&gpio1 30 0>; |
| 31 | vmmc-supply = <®_vddio_sd0>; |
| 32 | status = "okay"; |
| 33 | }; |
| 34 | |
| 35 | pinctrl@80018000 { |
| 36 | pinctrl-names = "default"; |
| 37 | pinctrl-0 = <&hog_pins_a>; |
| 38 | |
Fabio Estevam | e0e35b4 | 2012-08-22 13:25:31 -0300 | [diff] [blame] | 39 | hog_pins_a: hog@0 { |
Shawn Guo | dd852aa | 2012-07-09 13:33:02 +0800 | [diff] [blame] | 40 | reg = <0>; |
| 41 | fsl,pinmux-ids = < |
Lothar Waßmann | bc3875f | 2013-09-19 08:59:48 +0200 | [diff] [blame] | 42 | MX23_PAD_PWM3__GPIO_1_29 |
| 43 | MX23_PAD_PWM4__GPIO_1_30 |
Shawn Guo | dd852aa | 2012-07-09 13:33:02 +0800 | [diff] [blame] | 44 | >; |
Lothar Waßmann | 4191c34 | 2013-09-22 14:02:59 +0800 | [diff] [blame] | 45 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
| 46 | fsl,voltage = <MXS_VOLTAGE_HIGH>; |
| 47 | fsl,pull-up = <MXS_PULL_DISABLE>; |
Shawn Guo | dd852aa | 2012-07-09 13:33:02 +0800 | [diff] [blame] | 48 | }; |
| 49 | }; |
| 50 | }; |
| 51 | |
| 52 | apbx@80040000 { |
| 53 | auart0: serial@8006c000 { |
| 54 | pinctrl-names = "default"; |
| 55 | pinctrl-0 = <&auart0_pins_a>; |
| 56 | status = "okay"; |
| 57 | }; |
| 58 | |
| 59 | duart: serial@80070000 { |
| 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&duart_pins_a>; |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | }; |
| 65 | }; |
| 66 | |
| 67 | regulators { |
| 68 | compatible = "simple-bus"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 69 | #address-cells = <1>; |
| 70 | #size-cells = <0>; |
Shawn Guo | dd852aa | 2012-07-09 13:33:02 +0800 | [diff] [blame] | 71 | |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 72 | reg_vddio_sd0: regulator@0 { |
Shawn Guo | dd852aa | 2012-07-09 13:33:02 +0800 | [diff] [blame] | 73 | compatible = "regulator-fixed"; |
Shawn Guo | 352d318 | 2014-02-07 23:18:30 +0800 | [diff] [blame] | 74 | reg = <0>; |
Shawn Guo | dd852aa | 2012-07-09 13:33:02 +0800 | [diff] [blame] | 75 | regulator-name = "vddio-sd0"; |
| 76 | regulator-min-microvolt = <3300000>; |
| 77 | regulator-max-microvolt = <3300000>; |
| 78 | gpio = <&gpio1 29 0>; |
| 79 | }; |
| 80 | }; |
| 81 | }; |