Commit | Line | Data |
---|---|---|
160d5f27 MV |
1 | /* |
2 | * Copyright (C) 2012 Marek Vasut <marex@denx.de> | |
3 | * | |
4 | * The code contained herein is licensed under the GNU General Public | |
5 | * License. You may obtain a copy of the GNU General Public License | |
6 | * Version 2 or later at the following locations: | |
7 | * | |
8 | * http://www.opensource.org/licenses/gpl-license.html | |
9 | * http://www.gnu.org/copyleft/gpl.html | |
10 | */ | |
11 | ||
12 | /dts-v1/; | |
bc3875f1 | 13 | #include "imx28.dtsi" |
160d5f27 MV |
14 | |
15 | / { | |
16 | model = "SchulerControl GmbH, SC SPS 1"; | |
17 | compatible = "schulercontrol,imx28-sps1", "fsl,imx28"; | |
18 | ||
19 | memory { | |
20 | reg = <0x40000000 0x08000000>; | |
21 | }; | |
22 | ||
23 | apb@80000000 { | |
24 | apbh@80000000 { | |
25 | pinctrl@80018000 { | |
26 | pinctrl-names = "default"; | |
27 | pinctrl-0 = <&hog_pins_a>; | |
28 | ||
29 | hog_pins_a: hog-gpios@0 { | |
30 | reg = <0>; | |
31 | fsl,pinmux-ids = < | |
bc3875f1 LW |
32 | MX28_PAD_GPMI_D00__GPIO_0_0 |
33 | MX28_PAD_GPMI_D03__GPIO_0_3 | |
34 | MX28_PAD_GPMI_D06__GPIO_0_6 | |
160d5f27 | 35 | >; |
4191c340 LW |
36 | fsl,drive-strength = <MXS_DRIVE_4mA>; |
37 | fsl,voltage = <MXS_VOLTAGE_HIGH>; | |
38 | fsl,pull-up = <MXS_PULL_DISABLE>; | |
160d5f27 MV |
39 | }; |
40 | ||
41 | }; | |
42 | ||
43 | ssp0: ssp@80010000 { | |
44 | compatible = "fsl,imx28-mmc"; | |
45 | pinctrl-names = "default"; | |
46 | pinctrl-0 = <&mmc0_4bit_pins_a>; | |
47 | bus-width = <4>; | |
48 | status = "okay"; | |
49 | }; | |
50 | ||
51 | ssp2: ssp@80014000 { | |
52 | #address-cells = <1>; | |
53 | #size-cells = <0>; | |
54 | compatible = "fsl,imx28-spi"; | |
55 | pinctrl-names = "default"; | |
56 | pinctrl-0 = <&spi2_pins_a>; | |
57 | status = "okay"; | |
58 | ||
59 | flash: m25p80@0 { | |
60 | #address-cells = <1>; | |
61 | #size-cells = <1>; | |
62 | compatible = "everspin,mr25h256", "mr25h256"; | |
63 | spi-max-frequency = <40000000>; | |
64 | reg = <0>; | |
65 | }; | |
66 | }; | |
67 | }; | |
68 | ||
69 | apbx@80040000 { | |
70 | i2c0: i2c@80058000 { | |
71 | pinctrl-names = "default"; | |
72 | pinctrl-0 = <&i2c0_pins_a>; | |
160d5f27 MV |
73 | status = "okay"; |
74 | ||
75 | rtc: rtc@51 { | |
76 | compatible = "nxp,pcf8563"; | |
77 | reg = <0x51>; | |
78 | }; | |
79 | ||
80 | eeprom: eeprom@52 { | |
81 | compatible = "atmel,24c64"; | |
82 | reg = <0x52>; | |
83 | pagesize = <32>; | |
84 | }; | |
85 | }; | |
86 | ||
87 | duart: serial@80074000 { | |
88 | pinctrl-names = "default"; | |
89 | pinctrl-0 = <&duart_pins_a>; | |
90 | status = "okay"; | |
91 | }; | |
92 | ||
93 | usbphy0: usbphy@8007c000 { | |
94 | status = "okay"; | |
95 | }; | |
96 | ||
97 | auart0: serial@8006a000 { | |
98 | pinctrl-names = "default"; | |
99 | pinctrl-0 = <&auart0_pins_a>; | |
100 | status = "okay"; | |
101 | }; | |
102 | }; | |
103 | }; | |
104 | ||
105 | ahb@80080000 { | |
106 | usb0: usb@80080000 { | |
107 | vbus-supply = <®_usb0_vbus>; | |
108 | pinctrl-names = "default"; | |
c8e42bc9 | 109 | pinctrl-0 = <&usb0_pins_b>; |
160d5f27 MV |
110 | status = "okay"; |
111 | }; | |
112 | ||
113 | mac0: ethernet@800f0000 { | |
114 | phy-mode = "rmii"; | |
115 | pinctrl-names = "default"; | |
116 | pinctrl-0 = <&mac0_pins_a>; | |
117 | status = "okay"; | |
118 | }; | |
119 | ||
120 | mac1: ethernet@800f4000 { | |
121 | phy-mode = "rmii"; | |
122 | pinctrl-names = "default"; | |
123 | pinctrl-0 = <&mac1_pins_a>; | |
124 | status = "okay"; | |
125 | }; | |
126 | }; | |
127 | ||
128 | regulators { | |
129 | compatible = "simple-bus"; | |
352d318c SG |
130 | #address-cells = <1>; |
131 | #size-cells = <0>; | |
160d5f27 | 132 | |
352d318c | 133 | reg_usb0_vbus: regulator@0 { |
160d5f27 | 134 | compatible = "regulator-fixed"; |
352d318c | 135 | reg = <0>; |
160d5f27 MV |
136 | regulator-name = "usb0_vbus"; |
137 | regulator-min-microvolt = <5000000>; | |
138 | regulator-max-microvolt = <5000000>; | |
139 | gpio = <&gpio3 9 0>; | |
140 | }; | |
141 | }; | |
142 | ||
143 | leds { | |
144 | #address-cells = <1>; | |
145 | #size-cells = <0>; | |
146 | compatible = "gpio-leds"; | |
147 | status = "okay"; | |
148 | ||
149 | led@1 { | |
150 | label = "sps1-1:yellow:user"; | |
151 | gpios = <&gpio0 6 0>; | |
152 | linux,default-trigger = "heartbeat"; | |
153 | reg = <0>; | |
154 | }; | |
155 | ||
156 | led@2 { | |
157 | label = "sps1-2:red:user"; | |
158 | gpios = <&gpio0 3 0>; | |
159 | linux,default-trigger = "heartbeat"; | |
160 | reg = <1>; | |
161 | }; | |
162 | ||
163 | led@3 { | |
164 | label = "sps1-3:red:user"; | |
165 | gpios = <&gpio0 0 0>; | |
166 | default-trigger = "heartbeat"; | |
167 | reg = <2>; | |
168 | }; | |
169 | ||
170 | }; | |
171 | }; |