ARM: dts: rmobile: Add rudimentary R8A7790 Stout DT
[oweals/u-boot.git] / arch / arm / dts / socfpga_cyclone5_socrates.dts
index 7e2a565a78351c748f883659405afc433f49238f..bdd93248fb009a6b7b4adf6941977306651fb166 100644 (file)
                bootargs = "console=ttyS0,115200";
        };
 
-       aliases {
-               spi0 = "/spi@ff705000";         /* QSPI */
-       };
+       aliases {
+               /*
+                * This allows the ethaddr uboot environment variable
+                * contents to be added to the gmac1 device tree blob.
+                */
+               ethernet0 = &gmac1;
+               udc0 = &usb1;
+       };
 
        memory {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
        };
+
+       soc {
+               u-boot,dm-pre-reloc;
+       };
 };
 
 &gmac1 {
        status = "okay";
+       phy-mode = "rgmii";
+
+       rxd0-skew-ps = <0>;
+       rxd1-skew-ps = <0>;
+       rxd2-skew-ps = <0>;
+       rxd3-skew-ps = <0>;
+       txen-skew-ps = <0>;
+       txc-skew-ps = <2600>;
+       rxdv-skew-ps = <0>;
+       rxc-skew-ps = <2000>;
 };
 
 &i2c0 {
@@ -38,8 +57,9 @@
        };
 };
 
-&mmc {
+&mmc0 {
        status = "okay";
+       u-boot,dm-pre-reloc;
 };
 
 &qspi {
@@ -61,3 +81,8 @@
                tslch-ns = <4>;
        };
 };
+
+&usb1 {
+       disable-over-current;
+       status = "okay";
+};