keystone-k2g-ice.dts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /*
  2. * Copyright 2017 Texas Instruments, Inc.
  3. *
  4. * K2G Industrial Communication Engine EVM device tree
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. /dts-v1/;
  11. #include "keystone-k2g.dtsi"
  12. #include <dt-bindings/net/ti-dp83867.h>
  13. / {
  14. compatible = "ti,k2g-ice", "ti,k2g", "ti,keystone";
  15. model = "Texas Instruments K2G Industrial Communication EVM";
  16. chosen {
  17. stdout-path = &uart0;
  18. };
  19. };
  20. &mmc1 {
  21. status = "okay";
  22. };
  23. &qspi {
  24. status = "okay";
  25. flash0: m25p80@0 {
  26. compatible = "s25fl256s1","spi-flash";
  27. reg = <0>;
  28. spi-tx-bus-width = <1>;
  29. spi-rx-bus-width = <4>;
  30. spi-max-frequency = <96000000>;
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. tshsl-ns = <392>;
  34. tsd2d-ns = <392>;
  35. tchsh-ns = <100>;
  36. tslch-ns = <100>;
  37. block-size = <16>;
  38. partition@0 {
  39. label = "QSPI.u-boot";
  40. reg = <0x00000000 0x00100000>;
  41. };
  42. partition@1 {
  43. label = "QSPI.u-boot-env";
  44. reg = <0x00100000 0x00040000>;
  45. };
  46. partition@2 {
  47. label = "QSPI.skern";
  48. reg = <0x00140000 0x0040000>;
  49. };
  50. partition@3 {
  51. label = "QSPI.pmmc-firmware";
  52. reg = <0x00180000 0x0040000>;
  53. };
  54. partition@4 {
  55. label = "QSPI.kernel";
  56. reg = <0x001c0000 0x0800000>;
  57. };
  58. partition@5 {
  59. label = "QSPI.u-boot-spl-os";
  60. reg = <0x009c0000 0x0040000>;
  61. };
  62. partition@6 {
  63. label = "QSPI.file-system";
  64. reg = <0x00a00000 0x1600000>;
  65. };
  66. };
  67. };
  68. &netcp {
  69. status = "okay";
  70. };
  71. &mdio {
  72. status = "okay";
  73. ethphy0: ethernet-phy@0 {
  74. reg = <0>;
  75. ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_25_NS>;
  76. ti,tx-internal-delay = <DP83867_RGMIIDCTL_250_PS>;
  77. ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_8_B_NIB>;
  78. ti,min-output-impedance;
  79. ti,dp83867-rxctrl-strap-quirk;
  80. };
  81. };
  82. &gbe0 {
  83. phy-handle = <&ethphy0>;
  84. phy-mode = "rgmii-id";
  85. };