socfpga_arria5_socdk.dts 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /*
  2. * Copyright (C) 2013 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_arria5.dtsi"
  18. / {
  19. model = "Altera SOCFPGA Arria V SoC Development Kit";
  20. compatible = "altr,socfpga-arria5", "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: 3-3-v-regulator {
  36. compatible = "regulator-fixed";
  37. regulator-name = "3.3V";
  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. &i2c0 {
  55. status = "okay";
  56. eeprom@51 {
  57. compatible = "atmel,24c32";
  58. reg = <0x51>;
  59. pagesize = <32>;
  60. };
  61. rtc@68 {
  62. compatible = "dallas,ds1339";
  63. reg = <0x68>;
  64. };
  65. };
  66. &mmc0 {
  67. vmmc-supply = <&regulator_3_3v>;
  68. vqmmc-supply = <&regulator_3_3v>;
  69. };
  70. &usb1 {
  71. status = "okay";
  72. };