Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * Copyright (C) 2012 Marek Vasut <marex@denx.de>
0004  */
0005 
0006 /dts-v1/;
0007 #include "imx28.dtsi"
0008 
0009 / {
0010         model = "SchulerControl GmbH, SC SPS 1";
0011         compatible = "schulercontrol,imx28-sps1", "fsl,imx28";
0012 
0013         memory@40000000 {
0014                 device_type = "memory";
0015                 reg = <0x40000000 0x08000000>;
0016         };
0017 
0018         apb@80000000 {
0019                 apbh@80000000 {
0020                         pinctrl@80018000 {
0021                                 pinctrl-names = "default";
0022                                 pinctrl-0 = <&hog_pins_a>;
0023 
0024                                 hog_pins_a: hog-gpios@0 {
0025                                         reg = <0>;
0026                                         fsl,pinmux-ids = <
0027                                                 MX28_PAD_GPMI_D00__GPIO_0_0
0028                                                 MX28_PAD_GPMI_D03__GPIO_0_3
0029                                                 MX28_PAD_GPMI_D06__GPIO_0_6
0030                                         >;
0031                                         fsl,drive-strength = <MXS_DRIVE_4mA>;
0032                                         fsl,voltage = <MXS_VOLTAGE_HIGH>;
0033                                         fsl,pull-up = <MXS_PULL_DISABLE>;
0034                                 };
0035 
0036                         };
0037 
0038                         ssp0: spi@80010000 {
0039                                 compatible = "fsl,imx28-mmc";
0040                                 pinctrl-names = "default";
0041                                 pinctrl-0 = <&mmc0_4bit_pins_a>;
0042                                 bus-width = <4>;
0043                                 status = "okay";
0044                         };
0045 
0046                         ssp2: spi@80014000 {
0047                                 #address-cells = <1>;
0048                                 #size-cells = <0>;
0049                                 compatible = "fsl,imx28-spi";
0050                                 pinctrl-names = "default";
0051                                 pinctrl-0 = <&spi2_pins_a>;
0052                                 status = "okay";
0053 
0054                                 flash: flash@0 {
0055                                         #address-cells = <1>;
0056                                         #size-cells = <1>;
0057                                         compatible = "everspin,mr25h256", "mr25h256";
0058                                         spi-max-frequency = <40000000>;
0059                                         reg = <0>;
0060                                 };
0061                         };
0062                 };
0063 
0064                 apbx@80040000 {
0065                         i2c0: i2c@80058000 {
0066                                 pinctrl-names = "default";
0067                                 pinctrl-0 = <&i2c0_pins_a>;
0068                                 status = "okay";
0069 
0070                                 rtc: rtc@51 {
0071                                         compatible = "nxp,pcf8563";
0072                                         reg = <0x51>;
0073                                 };
0074 
0075                                 eeprom: eeprom@52 {
0076                                         compatible = "atmel,24c64";
0077                                         reg = <0x52>;
0078                                         pagesize = <32>;
0079                                 };
0080                         };
0081 
0082                         duart: serial@80074000 {
0083                                 pinctrl-names = "default";
0084                                 pinctrl-0 = <&duart_pins_a>;
0085                                 status = "okay";
0086                         };
0087 
0088                         usbphy0: usbphy@8007c000 {
0089                                 status = "okay";
0090                         };
0091 
0092                         auart0: serial@8006a000 {
0093                                 pinctrl-names = "default";
0094                                 pinctrl-0 = <&auart0_pins_a>;
0095                                 status = "okay";
0096                         };
0097                 };
0098         };
0099 
0100         ahb@80080000 {
0101                 usb0: usb@80080000 {
0102                         vbus-supply = <&reg_usb0_vbus>;
0103                         pinctrl-names = "default";
0104                         pinctrl-0 = <&usb0_pins_b>;
0105                         status = "okay";
0106                 };
0107 
0108                 mac0: ethernet@800f0000 {
0109                         phy-mode = "rmii";
0110                         pinctrl-names = "default";
0111                         pinctrl-0 = <&mac0_pins_a>;
0112                         status = "okay";
0113                 };
0114 
0115                 mac1: ethernet@800f4000 {
0116                         phy-mode = "rmii";
0117                         pinctrl-names = "default";
0118                         pinctrl-0 = <&mac1_pins_a>;
0119                         status = "okay";
0120                 };
0121         };
0122 
0123         regulators {
0124                 compatible = "simple-bus";
0125                 #address-cells = <1>;
0126                 #size-cells = <0>;
0127 
0128                 reg_usb0_vbus: regulator@0 {
0129                         compatible = "regulator-fixed";
0130                         reg = <0>;
0131                         regulator-name = "usb0_vbus";
0132                         regulator-min-microvolt = <5000000>;
0133                         regulator-max-microvolt = <5000000>;
0134                         gpio = <&gpio3 9 0>;
0135                 };
0136         };
0137 
0138         leds {
0139                 #address-cells = <1>;
0140                 #size-cells = <0>;
0141                 compatible = "gpio-leds";
0142                 status = "okay";
0143 
0144                 led@1 {
0145                         label = "sps1-1:yellow:user";
0146                         gpios = <&gpio0 6 0>;
0147                         linux,default-trigger = "heartbeat";
0148                         reg = <0>;
0149                 };
0150 
0151                 led@2 {
0152                         label = "sps1-2:red:user";
0153                         gpios = <&gpio0 3 0>;
0154                         linux,default-trigger = "heartbeat";
0155                         reg = <1>;
0156                 };
0157 
0158                 led@3 {
0159                         label = "sps1-3:red:user";
0160                         gpios = <&gpio0 0 0>;
0161                         default-trigger = "heartbeat";
0162                         reg = <2>;
0163                 };
0164 
0165         };
0166 };