socfpga_cyclone5_socdk.dts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /*
  2. * Copyright (C) 2012 Altera Corporation <www.altera.com>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #include "socfpga_cyclone5.dtsi"
  7. / {
  8. model = "Altera SOCFPGA Cyclone V SoC Development Kit";
  9. compatible = "altr,socfpga-cyclone5", "altr,socfpga";
  10. chosen {
  11. bootargs = "console=ttyS0,115200";
  12. };
  13. memory {
  14. name = "memory";
  15. device_type = "memory";
  16. reg = <0x0 0x40000000>; /* 1GB */
  17. };
  18. aliases {
  19. /* this allow the ethaddr uboot environment variable contents
  20. * to be added to the gmac1 device tree blob.
  21. */
  22. ethernet0 = &gmac1;
  23. udc0 = &usb1;
  24. };
  25. regulator_3_3v: 3-3-v-regulator {
  26. compatible = "regulator-fixed";
  27. regulator-name = "3.3V";
  28. regulator-min-microvolt = <3300000>;
  29. regulator-max-microvolt = <3300000>;
  30. };
  31. soc {
  32. u-boot,dm-pre-reloc;
  33. };
  34. };
  35. &gmac1 {
  36. status = "okay";
  37. phy-mode = "rgmii";
  38. rxd0-skew-ps = <0>;
  39. rxd1-skew-ps = <0>;
  40. rxd2-skew-ps = <0>;
  41. rxd3-skew-ps = <0>;
  42. txen-skew-ps = <0>;
  43. txc-skew-ps = <2600>;
  44. rxdv-skew-ps = <0>;
  45. rxc-skew-ps = <2000>;
  46. };
  47. &gpio0 {
  48. status = "okay";
  49. };
  50. &gpio1 {
  51. status = "okay";
  52. };
  53. &gpio2 {
  54. status = "okay";
  55. };
  56. &i2c0 {
  57. status = "okay";
  58. eeprom@51 {
  59. compatible = "atmel,24c32";
  60. reg = <0x51>;
  61. pagesize = <32>;
  62. };
  63. rtc@68 {
  64. compatible = "dallas,ds1339";
  65. reg = <0x68>;
  66. };
  67. };
  68. &mmc0 {
  69. status = "okay";
  70. u-boot,dm-pre-reloc;
  71. cd-gpios = <&portb 18 0>;
  72. vmmc-supply = <&regulator_3_3v>;
  73. vqmmc-supply = <&regulator_3_3v>;
  74. };
  75. &qspi {
  76. status = "okay";
  77. u-boot,dm-pre-reloc;
  78. flash0: n25q00@0 {
  79. u-boot,dm-pre-reloc;
  80. #address-cells = <1>;
  81. #size-cells = <1>;
  82. compatible = "n25q00";
  83. reg = <0>; /* chip select */
  84. spi-max-frequency = <100000000>;
  85. m25p,fast-read;
  86. page-size = <256>;
  87. block-size = <16>; /* 2^16, 64KB */
  88. read-delay = <4>; /* delay value in read data capture register */
  89. tshsl-ns = <50>;
  90. tsd2d-ns = <50>;
  91. tchsh-ns = <4>;
  92. tslch-ns = <4>;
  93. };
  94. };
  95. &usb1 {
  96. status = "okay";
  97. };