xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/mxs/imx28-cfa10037.dts (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright 2012 Free Electrons
4f126890aSEmmanuel Vadot */
5f126890aSEmmanuel Vadot
6f126890aSEmmanuel Vadot/*
7f126890aSEmmanuel Vadot * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
8f126890aSEmmanuel Vadot * need to include the CFA-10036 DTS.
9f126890aSEmmanuel Vadot */
10f126890aSEmmanuel Vadot#include "imx28-cfa10036.dts"
11f126890aSEmmanuel Vadot
12f126890aSEmmanuel Vadot/ {
13f126890aSEmmanuel Vadot	model = "Crystalfontz CFA-10037 Board";
14f126890aSEmmanuel Vadot	compatible = "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28";
15f126890aSEmmanuel Vadot
16f126890aSEmmanuel Vadot	apb@80000000 {
17*b2d2a78aSEmmanuel Vadot		apbh-bus@80000000 {
18f126890aSEmmanuel Vadot			pinctrl@80018000 {
19f126890aSEmmanuel Vadot				usb_pins_cfa10037: usb-10037@0 {
20f126890aSEmmanuel Vadot					reg = <0>;
21f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
22f126890aSEmmanuel Vadot						MX28_PAD_GPMI_D07__GPIO_0_7
23f126890aSEmmanuel Vadot					>;
24f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_4mA>;
25f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
26f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
27f126890aSEmmanuel Vadot				};
28f126890aSEmmanuel Vadot
29f126890aSEmmanuel Vadot				mac0_pins_cfa10037: mac0-10037@0 {
30f126890aSEmmanuel Vadot					reg = <0>;
31f126890aSEmmanuel Vadot					fsl,pinmux-ids = <
32f126890aSEmmanuel Vadot						MX28_PAD_SSP2_SS2__GPIO_2_21
33f126890aSEmmanuel Vadot					>;
34f126890aSEmmanuel Vadot					fsl,drive-strength = <MXS_DRIVE_4mA>;
35f126890aSEmmanuel Vadot					fsl,voltage = <MXS_VOLTAGE_HIGH>;
36f126890aSEmmanuel Vadot					fsl,pull-up = <MXS_PULL_DISABLE>;
37f126890aSEmmanuel Vadot				};
38f126890aSEmmanuel Vadot			};
39f126890aSEmmanuel Vadot		};
40f126890aSEmmanuel Vadot
41*b2d2a78aSEmmanuel Vadot		apbx-bus@80040000 {
42f126890aSEmmanuel Vadot			usbphy1: usbphy@8007e000 {
43f126890aSEmmanuel Vadot				status = "okay";
44f126890aSEmmanuel Vadot			};
45f126890aSEmmanuel Vadot		};
46f126890aSEmmanuel Vadot	};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot	ahb@80080000 {
49f126890aSEmmanuel Vadot		usb1: usb@80090000 {
50f126890aSEmmanuel Vadot			vbus-supply = <&reg_usb1_vbus>;
51f126890aSEmmanuel Vadot			pinctrl-0 = <&usb1_pins_a>;
52f126890aSEmmanuel Vadot			pinctrl-names = "default";
53f126890aSEmmanuel Vadot			status = "okay";
54f126890aSEmmanuel Vadot		};
55f126890aSEmmanuel Vadot
56f126890aSEmmanuel Vadot		mac0: ethernet@800f0000 {
57f126890aSEmmanuel Vadot			phy-mode = "rmii";
58f126890aSEmmanuel Vadot			pinctrl-names = "default";
59f126890aSEmmanuel Vadot			pinctrl-0 = <&mac0_pins_a
60f126890aSEmmanuel Vadot				&mac0_pins_cfa10037>;
61f126890aSEmmanuel Vadot			phy-reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
62f126890aSEmmanuel Vadot			phy-reset-duration = <100>;
63f126890aSEmmanuel Vadot			status = "okay";
64f126890aSEmmanuel Vadot		};
65f126890aSEmmanuel Vadot	};
66f126890aSEmmanuel Vadot
67aa1a8ff2SEmmanuel Vadot	reg_usb1_vbus: regulator-0 {
68f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
69f126890aSEmmanuel Vadot		pinctrl-names = "default";
70f126890aSEmmanuel Vadot		pinctrl-0 = <&usb_pins_cfa10037>;
71f126890aSEmmanuel Vadot		regulator-name = "usb1_vbus";
72f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
73f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
74f126890aSEmmanuel Vadot		gpio = <&gpio0 7 1>;
75f126890aSEmmanuel Vadot	};
76f126890aSEmmanuel Vadot};
77