socfpga_arria5_socdk.dts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. 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. &i2c0 {
  47. status = "okay";
  48. eeprom@51 {
  49. compatible = "atmel,24c32";
  50. reg = <0x51>;
  51. pagesize = <32>;
  52. };
  53. rtc@68 {
  54. compatible = "dallas,ds1339";
  55. reg = <0x68>;
  56. };
  57. };
  58. &mmc0 {
  59. vmmc-supply = <&regulator_3_3v>;
  60. vqmmc-supply = <&regulator_3_3v>;
  61. };
  62. &usb1 {
  63. status = "okay";
  64. };
  65. &qspi {
  66. status = "okay";
  67. flash0: n25q00@0 {
  68. #address-cells = <1>;
  69. #size-cells = <1>;
  70. compatible = "n25q00";
  71. reg = <0>; /* chip select */
  72. spi-max-frequency = <50000000>;
  73. m25p,fast-read;
  74. page-size = <256>;
  75. block-size = <16>; /* 2^16, 64KB */
  76. read-delay = <4>; /* delay value in read data capture register */
  77. tshsl-ns = <50>;
  78. tsd2d-ns = <50>;
  79. tchsh-ns = <4>;
  80. tslch-ns = <4>;
  81. };
  82. };