1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Copyright 2022 Google LLC
4 */
5
6 #include "socfpga_arria10.dtsi"
7
8 / {
9
10 model = "Enclustra Mercury AA1";
11 compatible = "enclustra,mercury-aa1", "altr,socfpga-arria10", "altr,socfpga";
12
13 aliases {
14 ethernet0 = &gmac0;
15 serial1 = &uart1;
16 };
17
18 memory@0 {
19 name = "memory";
20 device_type = "memory";
21 reg = <0x0 0x80000000>; /* 2GB */
22 };
23
24 chosen {
25 stdout-path = "serial1:115200n8";
26 };
27 };
28
29 &gmac0 {
30 phy-mode = "rgmii";
31 phy-addr = <0xffffffff>; /* probe for phy addr */
32
33 max-frame-size = <3800>;
34
35 phy-handle = <&phy3>;
36
37 mdio {
38 #address-cells = <1>;
39 #size-cells = <0>;
40 compatible = "snps,dwmac-mdio";
41 phy3: ethernet-phy@3 {
42 txd0-skew-ps = <0>; /* -420ps */
43 txd1-skew-ps = <0>; /* -420ps */
44 txd2-skew-ps = <0>; /* -420ps */
45 txd3-skew-ps = <0>; /* -420ps */
46 rxd0-skew-ps = <420>; /* 0ps */
47 rxd1-skew-ps = <420>; /* 0ps */
48 rxd2-skew-ps = <420>; /* 0ps */
49 rxd3-skew-ps = <420>; /* 0ps */
50 txen-skew-ps = <0>; /* -420ps */
51 txc-skew-ps = <1860>; /* 960ps */
52 rxdv-skew-ps = <420>; /* 0ps */
53 rxc-skew-ps = <1680>; /* 780ps */
54 reg = <3>;
55 };
56 };
57 };
58
59 &i2c1 {
60 atsha204a: crypto@64 {
61 compatible = "atmel,atsha204a";
62 reg = <0x64>;
63 };
64
65 isl12022: isl12022@6f {
66 compatible = "isil,isl12022";
67 reg = <0x6f>;
68 };
69 };
70
71 /* Following mappings are taken from arria10 socdk dts */
72 &mmc {
73 cap-sd-highspeed;
74 broken-cd;
75 bus-width = <4>;
76 };
77
78 &osc1 {
79 clock-frequency = <33330000>;
80 };
Cache object: edd8b9968724c45a1c7ca7e771e8398f
|