blob: fee1fc39bb2b6f820bf5af95cbc5023764440815 [file] [log] [blame]
Paweł Anikiele18c7002022-06-17 12:47:16 +02001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright 2022 Google LLC
4 */
5#include "socfpga_arria10.dtsi"
6
7/ {
8 aliases {
9 ethernet0 = &gmac0;
10 serial1 = &uart1;
11 };
12
13 chosen {
14 stdout-path = "serial1:115200n8";
15 };
16
17 memory@0 {
18 name = "memory";
19 device_type = "memory";
20 reg = <0x0 0x80000000>; /* 2GB */
21 };
22};
23
24&gmac0 {
25 phy-mode = "rgmii";
26 phy-handle = <&phy3>;
27
28 max-frame-size = <3800>;
29
30 mdio {
31 #address-cells = <1>;
32 #size-cells = <0>;
33 compatible = "snps,dwmac-mdio";
34 phy3: ethernet-phy@3 {
35 reg = <3>;
36 txd0-skew-ps = <0>; /* -420ps */
37 txd1-skew-ps = <0>; /* -420ps */
38 txd2-skew-ps = <0>; /* -420ps */
39 txd3-skew-ps = <0>; /* -420ps */
40 rxd0-skew-ps = <420>; /* 0ps */
41 rxd1-skew-ps = <420>; /* 0ps */
42 rxd2-skew-ps = <420>; /* 0ps */
43 rxd3-skew-ps = <420>; /* 0ps */
44 txen-skew-ps = <0>; /* -420ps */
45 txc-skew-ps = <1860>; /* 960ps */
46 rxdv-skew-ps = <420>; /* 0ps */
47 rxc-skew-ps = <1680>; /* 780ps */
48 };
49 };
50};
51
52&i2c1 {
53 atsha204a: atsha204a@64 {
54 compatible = "atmel,atsha204a";
55 reg = <0x64>;
56 };
57
58 isl12022: isl12022@6f {
59 compatible = "isil,isl12022";
60 reg = <0x6f>;
61 };
62};
63
64&mmc {
65 cap-sd-highspeed;
66 broken-cd;
67 bus-width = <4>;
68};
69
70&osc1 {
71 clock-frequency = <33330000>;
72};