Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Copyright 2012 Freescale Semiconductor, Inc.
0004  */
0005 
0006 /dts-v1/;
0007 #include "imx23.dtsi"
0008 
0009 / {
0010         model = "Freescale STMP378x Development Board";
0011         compatible = "fsl,stmp378x-devb", "fsl,imx23";
0012 
0013         memory@40000000 {
0014                 device_type = "memory";
0015                 reg = <0x40000000 0x04000000>;
0016         };
0017 
0018         apb@80000000 {
0019                 apbh@80000000 {
0020                         ssp0: spi@80010000 {
0021                                 compatible = "fsl,imx23-mmc";
0022                                 pinctrl-names = "default";
0023                                 pinctrl-0 = <&mmc0_4bit_pins_a &mmc0_pins_fixup>;
0024                                 bus-width = <4>;
0025                                 wp-gpios = <&gpio1 30 0>;
0026                                 vmmc-supply = <&reg_vddio_sd0>;
0027                                 status = "okay";
0028                         };
0029 
0030                         pinctrl@80018000 {
0031                                 pinctrl-names = "default";
0032                                 pinctrl-0 = <&hog_pins_a>;
0033 
0034                                 hog_pins_a: hog@0 {
0035                                         reg = <0>;
0036                                         fsl,pinmux-ids = <
0037                                                 MX23_PAD_PWM3__GPIO_1_29
0038                                                 MX23_PAD_PWM4__GPIO_1_30
0039                                         >;
0040                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
0041                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
0042                                         fsl,pull-up = <MXS_PULL_DISABLE>;
0043                                 };
0044                         };
0045                 };
0046 
0047                 apbx@80040000 {
0048                         auart0: serial@8006c000 {
0049                                 pinctrl-names = "default";
0050                                 pinctrl-0 = <&auart0_pins_a>;
0051                                 status = "okay";
0052                         };
0053 
0054                         duart: serial@80070000 {
0055                                 pinctrl-names = "default";
0056                                 pinctrl-0 = <&duart_pins_a>;
0057                                 status = "okay";
0058                         };
0059                 };
0060         };
0061 
0062         regulators {
0063                 compatible = "simple-bus";
0064                 #address-cells = <1>;
0065                 #size-cells = <0>;
0066 
0067                 reg_vddio_sd0: regulator@0 {
0068                         compatible = "regulator-fixed";
0069                         reg = <0>;
0070                         regulator-name = "vddio-sd0";
0071                         regulator-min-microvolt = <3300000>;
0072                         regulator-max-microvolt = <3300000>;
0073                         gpio = <&gpio1 29 0>;
0074                 };
0075         };
0076 };