socfpga_cyclone5_socdk.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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 environmnet variable contents
  20. * to be added to the gmac1 device tree blob.
  21. */
  22. ethernet0 = &gmac1;
  23. spi0 = "/spi@ff705000"; /* QSPI */
  24. spi1 = "/spi@fff00000";
  25. spi2 = "/spi@fff01000";
  26. };
  27. regulator_3_3v: 3-3-v-regulator {
  28. compatible = "regulator-fixed";
  29. regulator-name = "3.3V";
  30. regulator-min-microvolt = <3300000>;
  31. regulator-max-microvolt = <3300000>;
  32. };
  33. };
  34. &gmac1 {
  35. status = "okay";
  36. phy-mode = "rgmii";
  37. rxd0-skew-ps = <0>;
  38. rxd1-skew-ps = <0>;
  39. rxd2-skew-ps = <0>;
  40. rxd3-skew-ps = <0>;
  41. txen-skew-ps = <0>;
  42. txc-skew-ps = <2600>;
  43. rxdv-skew-ps = <0>;
  44. rxc-skew-ps = <2000>;
  45. };
  46. &gpio1 {
  47. status = "okay";
  48. };
  49. &i2c0 {
  50. status = "okay";
  51. eeprom@51 {
  52. compatible = "atmel,24c32";
  53. reg = <0x51>;
  54. pagesize = <32>;
  55. };
  56. rtc@68 {
  57. compatible = "dallas,ds1339";
  58. reg = <0x68>;
  59. };
  60. };
  61. &mmc0 {
  62. cd-gpios = <&portb 18 0>;
  63. vmmc-supply = <&regulator_3_3v>;
  64. vqmmc-supply = <&regulator_3_3v>;
  65. };
  66. &usb1 {
  67. status = "okay";
  68. };
  69. &qspi {
  70. status = "okay";
  71. flash0: n25q00@0 {
  72. #address-cells = <1>;
  73. #size-cells = <1>;
  74. compatible = "n25q00";
  75. reg = <0>; /* chip select */
  76. spi-max-frequency = <50000000>;
  77. m25p,fast-read;
  78. page-size = <256>;
  79. block-size = <16>; /* 2^16, 64KB */
  80. read-delay = <4>; /* delay value in read data capture register */
  81. tshsl-ns = <50>;
  82. tsd2d-ns = <50>;
  83. tchsh-ns = <4>;
  84. tslch-ns = <4>;
  85. };
  86. };