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