socfpga_cyclone5_sockit.dts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. * Copyright (C) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #include "socfpga_cyclone5.dtsi"
  18. / {
  19. model = "Terasic SoCkit";
  20. compatible = "altr,socfpga-cyclone5", "altr,socfpga";
  21. chosen {
  22. bootargs = "console=ttyS0,115200";
  23. };
  24. memory {
  25. name = "memory";
  26. device_type = "memory";
  27. reg = <0x0 0x40000000>; /* 1GB */
  28. };
  29. aliases {
  30. /* this allow the ethaddr uboot environmnet variable contents
  31. * to be added to the gmac1 device tree blob.
  32. */
  33. ethernet0 = &gmac1;
  34. };
  35. regulator_3_3v: vcc3p3-regulator {
  36. compatible = "regulator-fixed";
  37. regulator-name = "VCC3P3";
  38. regulator-min-microvolt = <3300000>;
  39. regulator-max-microvolt = <3300000>;
  40. };
  41. };
  42. &gmac1 {
  43. status = "okay";
  44. phy-mode = "rgmii";
  45. rxd0-skew-ps = <0>;
  46. rxd1-skew-ps = <0>;
  47. rxd2-skew-ps = <0>;
  48. rxd3-skew-ps = <0>;
  49. txen-skew-ps = <0>;
  50. txc-skew-ps = <2600>;
  51. rxdv-skew-ps = <0>;
  52. rxc-skew-ps = <2000>;
  53. };
  54. &mmc0 {
  55. vmmc-supply = <&regulator_3_3v>;
  56. vqmmc-supply = <&regulator_3_3v>;
  57. };
  58. &usb1 {
  59. status = "okay";
  60. };