ARM: socfpga: dts: Enable MMC support at correct place in the DT
[deliverable/linux.git] / arch / arm / boot / dts / socfpga_cyclone5_de0_sockit.dts
1 /*
2 * Copyright Altera Corporation (C) 2015. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17 #include "socfpga_cyclone5.dtsi"
18
19 / {
20 model = "Terasic DE-0(Atlas)";
21 compatible = "altr,socfpga-cyclone5", "altr,socfpga";
22
23 chosen {
24 bootargs = "earlyprintk";
25 stdout-path = "serial0:115200n8";
26 };
27
28 memory {
29 name = "memory";
30 device_type = "memory";
31 reg = <0x0 0x40000000>; /* 1GB */
32 };
33
34 aliases {
35 ethernet0 = &gmac1;
36 };
37
38 regulator_3_3v: 3-3-v-regulator {
39 compatible = "regulator-fixed";
40 regulator-name = "3.3V";
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
43 };
44
45 leds {
46 compatible = "gpio-leds";
47 hps0 {
48 label = "hps_led0";
49 gpios = <&portb 24 0>;
50 linux,default-trigger = "heartbeat";
51 };
52 };
53 };
54
55 &gmac1 {
56 status = "okay";
57 phy-mode = "rgmii";
58
59 txd0-skew-ps = <0>; /* -420ps */
60 txd1-skew-ps = <0>; /* -420ps */
61 txd2-skew-ps = <0>; /* -420ps */
62 txd3-skew-ps = <0>; /* -420ps */
63 rxd0-skew-ps = <420>; /* 0ps */
64 rxd1-skew-ps = <420>; /* 0ps */
65 rxd2-skew-ps = <420>; /* 0ps */
66 rxd3-skew-ps = <420>; /* 0ps */
67 txen-skew-ps = <0>; /* -420ps */
68 txc-skew-ps = <1860>; /* 960ps */
69 rxdv-skew-ps = <420>; /* 0ps */
70 rxc-skew-ps = <1680>; /* 780ps */
71
72 max-frame-size = <3800>;
73 };
74
75 &gpio0 {
76 status = "okay";
77 };
78
79 &gpio1 {
80 status = "okay";
81 };
82
83 &gpio2 {
84 status = "okay";
85 };
86
87 &i2c0 {
88 status = "okay";
89 speed-mode = <0>;
90
91 adxl345: adxl345@0 {
92 compatible = "adi,adxl345";
93 reg = <0x53>;
94
95 interrupt-parent = <&portc>;
96 interrupts = <3 2>;
97 };
98 };
99
100 &mmc0 {
101 vmmc-supply = <&regulator_3_3v>;
102 vqmmc-supply = <&regulator_3_3v>;
103 status = "okay";
104 };
105
106 &uart0 {
107 status = "okay";
108 };
109
110 &usb1 {
111 status = "okay";
112 };
This page took 0.053698 seconds and 5 git commands to generate.