]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
Merge tag 'omap-for-v5.1/dt-cpsw-phy' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / boot / dts / socfpga_cyclone5_socrates.dts
CommitLineData
e793b284 1// SPDX-License-Identifier: GPL-2.0+
ca94287c 2/*
e793b284 3 * Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de>
ca94287c
ST
4 */
5
7da9b436 6#include "socfpga_cyclone5.dtsi"
ca94287c
ST
7
8/ {
9 model = "EBV SOCrates";
10 compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga";
11
2a44d651
DN
12 aliases {
13 ethernet0 = &gmac1;
14 };
15
ca94287c 16 chosen {
f20193f7
SG
17 bootargs = "earlyprintk";
18 stdout-path = "serial0:115200n8";
ca94287c
ST
19 };
20
332ddfab 21 memory@0 {
ca94287c
ST
22 name = "memory";
23 device_type = "memory";
24 reg = <0x0 0x40000000>; /* 1GB */
25 };
e0e6f748
ST
26
27 leds: gpio-leds {
28 };
ca94287c
ST
29};
30
31&gmac1 {
702744ce 32 phy-mode = "rgmii";
ca94287c
ST
33 status = "okay";
34};
35
81638f1b
ST
36&gpio0 {
37 status = "okay";
38};
39
40&gpio1 {
41 status = "okay";
42};
43
1a721677
ST
44&i2c0 {
45 status = "okay";
46
47 rtc: rtc@68 {
0a6f366a 48 compatible = "st,m41t82";
1a721677
ST
49 reg = <0x68>;
50 };
51};
52
e0e6f748
ST
53&leds {
54 compatible = "gpio-leds";
55
cfa6384a 56 led0 {
e0e6f748
ST
57 label = "led:green:heartbeat";
58 gpios = <&porta 28 1>;
59 linux,default-trigger = "heartbeat";
60 };
61
cfa6384a 62 led1 {
e0e6f748
ST
63 label = "led:green:D7";
64 gpios = <&portb 19 1>;
65 };
66
cfa6384a 67 led2 {
e0e6f748
ST
68 label = "led:green:D8";
69 gpios = <&portb 25 1>;
70 };
71};
72
ca94287c
ST
73&mmc {
74 status = "okay";
75};
c96f5919
ST
76
77&qspi {
78 status = "okay";
79
80 flash: flash@0 {
81 #address-cells = <1>;
82 #size-cells = <1>;
83 compatible = "n25q256a";
84 reg = <0>;
85 spi-max-frequency = <100000000>;
86 m25p,fast-read;
87 cdns,read-delay = <4>;
88 cdns,tshsl-ns = <50>;
89 cdns,tsd2d-ns = <50>;
90 cdns,tchsh-ns = <4>;
91 cdns,tslch-ns = <4>;
92 status = "okay";
93 };
94};