GNU Linux-libre 4.19.207-gnu1
[releases.git] / arch / arm / boot / dts / imx23-stmp378x_devb.dts
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/;
13 #include "imx23.dtsi"
14
15 / {
16         model = "Freescale STMP378x Development Board";
17         compatible = "fsl,stmp378x-devb", "fsl,imx23";
18
19         memory@40000000 {
20                 device_type = "memory";
21                 reg = <0x40000000 0x04000000>;
22         };
23
24         apb@80000000 {
25                 apbh@80000000 {
26                         ssp0: ssp@80010000 {
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 = <&reg_vddio_sd0>;
33                                 status = "okay";
34                         };
35
36                         pinctrl@80018000 {
37                                 pinctrl-names = "default";
38                                 pinctrl-0 = <&hog_pins_a>;
39
40                                 hog_pins_a: hog@0 {
41                                         reg = <0>;
42                                         fsl,pinmux-ids = <
43                                                 MX23_PAD_PWM3__GPIO_1_29
44                                                 MX23_PAD_PWM4__GPIO_1_30
45                                         >;
46                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
47                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
48                                         fsl,pull-up = <MXS_PULL_DISABLE>;
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";
70                 #address-cells = <1>;
71                 #size-cells = <0>;
72
73                 reg_vddio_sd0: regulator@0 {
74                         compatible = "regulator-fixed";
75                         reg = <0>;
76                         regulator-name = "vddio-sd0";
77                         regulator-min-microvolt = <3300000>;
78                         regulator-max-microvolt = <3300000>;
79                         gpio = <&gpio1 29 0>;
80                 };
81         };
82 };