xref: /openbmc/linux/arch/arm/boot/dts/nxp/mxs/imx28-cfa10037.dts (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2012 Free Electrons
4724ba675SRob Herring */
5724ba675SRob Herring
6724ba675SRob Herring/*
7724ba675SRob Herring * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
8724ba675SRob Herring * need to include the CFA-10036 DTS.
9724ba675SRob Herring */
10724ba675SRob Herring#include "imx28-cfa10036.dts"
11724ba675SRob Herring
12724ba675SRob Herring/ {
13724ba675SRob Herring	model = "Crystalfontz CFA-10037 Board";
14724ba675SRob Herring	compatible = "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28";
15724ba675SRob Herring
16724ba675SRob Herring	apb@80000000 {
17724ba675SRob Herring		apbh@80000000 {
18724ba675SRob Herring			pinctrl@80018000 {
19724ba675SRob Herring				usb_pins_cfa10037: usb-10037@0 {
20724ba675SRob Herring					reg = <0>;
21724ba675SRob Herring					fsl,pinmux-ids = <
22724ba675SRob Herring						MX28_PAD_GPMI_D07__GPIO_0_7
23724ba675SRob Herring					>;
24724ba675SRob Herring					fsl,drive-strength = <MXS_DRIVE_4mA>;
25724ba675SRob Herring					fsl,voltage = <MXS_VOLTAGE_HIGH>;
26724ba675SRob Herring					fsl,pull-up = <MXS_PULL_DISABLE>;
27724ba675SRob Herring				};
28724ba675SRob Herring
29724ba675SRob Herring				mac0_pins_cfa10037: mac0-10037@0 {
30724ba675SRob Herring					reg = <0>;
31724ba675SRob Herring					fsl,pinmux-ids = <
32724ba675SRob Herring						MX28_PAD_SSP2_SS2__GPIO_2_21
33724ba675SRob Herring					>;
34724ba675SRob Herring					fsl,drive-strength = <MXS_DRIVE_4mA>;
35724ba675SRob Herring					fsl,voltage = <MXS_VOLTAGE_HIGH>;
36724ba675SRob Herring					fsl,pull-up = <MXS_PULL_DISABLE>;
37724ba675SRob Herring				};
38724ba675SRob Herring			};
39724ba675SRob Herring		};
40724ba675SRob Herring
41724ba675SRob Herring		apbx@80040000 {
42724ba675SRob Herring			usbphy1: usbphy@8007e000 {
43724ba675SRob Herring				status = "okay";
44724ba675SRob Herring			};
45724ba675SRob Herring		};
46724ba675SRob Herring	};
47724ba675SRob Herring
48724ba675SRob Herring	ahb@80080000 {
49724ba675SRob Herring		usb1: usb@80090000 {
50724ba675SRob Herring			vbus-supply = <&reg_usb1_vbus>;
51724ba675SRob Herring			pinctrl-0 = <&usb1_pins_a>;
52724ba675SRob Herring			pinctrl-names = "default";
53724ba675SRob Herring			status = "okay";
54724ba675SRob Herring		};
55724ba675SRob Herring
56724ba675SRob Herring		mac0: ethernet@800f0000 {
57724ba675SRob Herring			phy-mode = "rmii";
58724ba675SRob Herring			pinctrl-names = "default";
59724ba675SRob Herring			pinctrl-0 = <&mac0_pins_a
60724ba675SRob Herring				&mac0_pins_cfa10037>;
61724ba675SRob Herring			phy-reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
62724ba675SRob Herring			phy-reset-duration = <100>;
63724ba675SRob Herring			status = "okay";
64724ba675SRob Herring		};
65724ba675SRob Herring	};
66724ba675SRob Herring
67*29e0e9b4SKrzysztof Kozlowski	reg_usb1_vbus: regulator-0 {
68724ba675SRob Herring		compatible = "regulator-fixed";
69724ba675SRob Herring		pinctrl-names = "default";
70724ba675SRob Herring		pinctrl-0 = <&usb_pins_cfa10037>;
71724ba675SRob Herring		regulator-name = "usb1_vbus";
72724ba675SRob Herring		regulator-min-microvolt = <5000000>;
73724ba675SRob Herring		regulator-max-microvolt = <5000000>;
74724ba675SRob Herring		gpio = <&gpio0 7 1>;
75724ba675SRob Herring	};
76724ba675SRob Herring};
77