0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Copyright 2022 Google LLC
0004 */
0005
0006 #include "socfpga_arria10.dtsi"
0007
0008 / {
0009
0010 model = "Enclustra Mercury AA1";
0011 compatible = "enclustra,mercury-aa1", "altr,socfpga-arria10", "altr,socfpga";
0012
0013 aliases {
0014 ethernet0 = &gmac0;
0015 serial1 = &uart1;
0016 };
0017
0018 memory@0 {
0019 name = "memory";
0020 device_type = "memory";
0021 reg = <0x0 0x80000000>; /* 2GB */
0022 };
0023
0024 chosen {
0025 stdout-path = "serial1:115200n8";
0026 };
0027 };
0028
0029 &gmac0 {
0030 phy-mode = "rgmii";
0031 phy-addr = <0xffffffff>; /* probe for phy addr */
0032
0033 max-frame-size = <3800>;
0034
0035 phy-handle = <&phy3>;
0036
0037 mdio {
0038 #address-cells = <1>;
0039 #size-cells = <0>;
0040 compatible = "snps,dwmac-mdio";
0041 phy3: ethernet-phy@3 {
0042 txd0-skew-ps = <0>; /* -420ps */
0043 txd1-skew-ps = <0>; /* -420ps */
0044 txd2-skew-ps = <0>; /* -420ps */
0045 txd3-skew-ps = <0>; /* -420ps */
0046 rxd0-skew-ps = <420>; /* 0ps */
0047 rxd1-skew-ps = <420>; /* 0ps */
0048 rxd2-skew-ps = <420>; /* 0ps */
0049 rxd3-skew-ps = <420>; /* 0ps */
0050 txen-skew-ps = <0>; /* -420ps */
0051 txc-skew-ps = <1860>; /* 960ps */
0052 rxdv-skew-ps = <420>; /* 0ps */
0053 rxc-skew-ps = <1680>; /* 780ps */
0054 reg = <3>;
0055 };
0056 };
0057 };
0058
0059 &i2c1 {
0060 atsha204a: crypto@64 {
0061 compatible = "atmel,atsha204a";
0062 reg = <0x64>;
0063 };
0064
0065 isl12022: isl12022@6f {
0066 compatible = "isil,isl12022";
0067 reg = <0x6f>;
0068 };
0069 };
0070
0071 /* Following mappings are taken from arria10 socdk dts */
0072 &mmc {
0073 cap-sd-highspeed;
0074 broken-cd;
0075 bus-width = <4>;
0076 };
0077
0078 &osc1 {
0079 clock-frequency = <33330000>;
0080 };