Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Copyright 2012 Free Electrons
0004  */
0005 
0006 /*
0007  * The CFA-10049 is an expansion board for the CFA-10036 module, thus we
0008  * need to include the CFA-10036 DTS.
0009  */
0010 #include "imx28-cfa10036.dts"
0011 
0012 / {
0013         model = "Crystalfontz CFA-10037 Board";
0014         compatible = "crystalfontz,cfa10037", "crystalfontz,cfa10036", "fsl,imx28";
0015 
0016         apb@80000000 {
0017                 apbh@80000000 {
0018                         pinctrl@80018000 {
0019                                 usb_pins_cfa10037: usb-10037@0 {
0020                                         reg = <0>;
0021                                         fsl,pinmux-ids = <
0022                                                 MX28_PAD_GPMI_D07__GPIO_0_7
0023                                         >;
0024                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
0025                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
0026                                         fsl,pull-up = <MXS_PULL_DISABLE>;
0027                                 };
0028 
0029                                 mac0_pins_cfa10037: mac0-10037@0 {
0030                                         reg = <0>;
0031                                         fsl,pinmux-ids = <
0032                                                 MX28_PAD_SSP2_SS2__GPIO_2_21
0033                                         >;
0034                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
0035                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
0036                                         fsl,pull-up = <MXS_PULL_DISABLE>;
0037                                 };
0038                         };
0039                 };
0040 
0041                 apbx@80040000 {
0042                         usbphy1: usbphy@8007e000 {
0043                                 status = "okay";
0044                         };
0045                 };
0046         };
0047 
0048         ahb@80080000 {
0049                 usb1: usb@80090000 {
0050                         vbus-supply = <&reg_usb1_vbus>;
0051                         pinctrl-0 = <&usb1_pins_a>;
0052                         pinctrl-names = "default";
0053                         status = "okay";
0054                 };
0055 
0056                 mac0: ethernet@800f0000 {
0057                         phy-mode = "rmii";
0058                         pinctrl-names = "default";
0059                         pinctrl-0 = <&mac0_pins_a
0060                                 &mac0_pins_cfa10037>;
0061                         phy-reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
0062                         phy-reset-duration = <100>;
0063                         status = "okay";
0064                 };
0065         };
0066 
0067         regulators {
0068                 compatible = "simple-bus";
0069                 #address-cells = <1>;
0070                 #size-cells = <0>;
0071 
0072                 reg_usb1_vbus: regulator@0 {
0073                         compatible = "regulator-fixed";
0074                         reg = <0>;
0075                         pinctrl-names = "default";
0076                         pinctrl-0 = <&usb_pins_cfa10037>;
0077                         regulator-name = "usb1_vbus";
0078                         regulator-min-microvolt = <5000000>;
0079                         regulator-max-microvolt = <5000000>;
0080                         gpio = <&gpio0 7 1>;
0081                 };
0082         };
0083 };