socfpga_cyclone5_socdk.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. * Copyright (C) 2012 Altera Corporation <www.altera.com>
  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 = "Altera SOCFPGA Cyclone V SoC Development Kit";
  20. compatible = "altr,socfpga-cyclone5", "altr,socfpga";
  21. chosen {
  22. bootargs = "earlyprintk";
  23. stdout-path = "serial0:115200n8";
  24. };
  25. memory {
  26. name = "memory";
  27. device_type = "memory";
  28. reg = <0x0 0x40000000>; /* 1GB */
  29. };
  30. aliases {
  31. /* this allow the ethaddr uboot environmnet variable contents
  32. * to be added to the gmac1 device tree blob.
  33. */
  34. ethernet0 = &gmac1;
  35. };
  36. regulator_3_3v: 3-3-v-regulator {
  37. compatible = "regulator-fixed";
  38. regulator-name = "3.3V";
  39. regulator-min-microvolt = <3300000>;
  40. regulator-max-microvolt = <3300000>;
  41. };
  42. };
  43. &gmac1 {
  44. status = "okay";
  45. phy-mode = "rgmii";
  46. rxd0-skew-ps = <0>;
  47. rxd1-skew-ps = <0>;
  48. rxd2-skew-ps = <0>;
  49. rxd3-skew-ps = <0>;
  50. txen-skew-ps = <0>;
  51. txc-skew-ps = <2600>;
  52. rxdv-skew-ps = <0>;
  53. rxc-skew-ps = <2000>;
  54. };
  55. &gpio1 {
  56. status = "okay";
  57. };
  58. &i2c0 {
  59. status = "okay";
  60. eeprom@51 {
  61. compatible = "atmel,24c32";
  62. reg = <0x51>;
  63. pagesize = <32>;
  64. };
  65. rtc@68 {
  66. compatible = "dallas,ds1339";
  67. reg = <0x68>;
  68. };
  69. };
  70. &mmc0 {
  71. cd-gpios = <&portb 18 0>;
  72. vmmc-supply = <&regulator_3_3v>;
  73. vqmmc-supply = <&regulator_3_3v>;
  74. status = "okay";
  75. };
  76. &usb1 {
  77. status = "okay";
  78. };