socfpga_arria5_socdk.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*
  2. * Copyright (C) 2013 Altera Corporation <www.altera.com>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #include "socfpga_arria5.dtsi"
  7. / {
  8. model = "Altera SOCFPGA Arria V SoC Development Kit";
  9. compatible = "altr,socfpga-arria5", "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. 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. &i2c0 {
  48. status = "okay";
  49. eeprom@51 {
  50. compatible = "atmel,24c32";
  51. reg = <0x51>;
  52. pagesize = <32>;
  53. };
  54. rtc@68 {
  55. compatible = "dallas,ds1339";
  56. reg = <0x68>;
  57. };
  58. };
  59. &mmc0 {
  60. vmmc-supply = <&regulator_3_3v>;
  61. vqmmc-supply = <&regulator_3_3v>;
  62. bus-width = <4>;
  63. u-boot,dm-pre-reloc;
  64. };
  65. &usb1 {
  66. status = "okay";
  67. };
  68. &qspi {
  69. status = "okay";
  70. flash0: n25q00@0 {
  71. #address-cells = <1>;
  72. #size-cells = <1>;
  73. compatible = "n25q00";
  74. reg = <0>; /* chip select */
  75. spi-max-frequency = <50000000>;
  76. m25p,fast-read;
  77. page-size = <256>;
  78. block-size = <16>; /* 2^16, 64KB */
  79. read-delay = <4>; /* delay value in read data capture register */
  80. tshsl-ns = <50>;
  81. tsd2d-ns = <50>;
  82. tchsh-ns = <4>;
  83. tslch-ns = <4>;
  84. };
  85. };