ls1021a-twr.dtsi 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /*
  2. * Freescale ls1021a TWR board common device tree source
  3. *
  4. * Copyright 2013-2015 Freescale Semiconductor, Inc.
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. */
  8. #include "ls1021a.dtsi"
  9. / {
  10. model = "LS1021A TWR Board";
  11. aliases {
  12. enet2_rgmii_phy = &rgmii_phy1;
  13. enet0_sgmii_phy = &sgmii_phy2;
  14. enet1_sgmii_phy = &sgmii_phy0;
  15. spi0 = &qspi;
  16. spi1 = &dspi1;
  17. };
  18. chosen {
  19. stdout-path = &uart0;
  20. };
  21. };
  22. &qspi {
  23. bus-num = <0>;
  24. status = "okay";
  25. qflash0: n25q128a13@0 {
  26. #address-cells = <1>;
  27. #size-cells = <1>;
  28. compatible = "spi-flash";
  29. spi-max-frequency = <20000000>;
  30. reg = <0>;
  31. };
  32. };
  33. &dspi1 {
  34. bus-num = <0>;
  35. status = "okay";
  36. dspiflash: at26df081a@0 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. compatible = "spi-flash";
  40. spi-max-frequency = <16000000>;
  41. spi-cpol;
  42. spi-cpha;
  43. reg = <0>;
  44. };
  45. };
  46. &i2c0 {
  47. status = "okay";
  48. };
  49. &i2c1 {
  50. status = "okay";
  51. };
  52. &ifc {
  53. #address-cells = <2>;
  54. #size-cells = <1>;
  55. /* NOR Flash on board */
  56. ranges = <0x0 0x0 0x60000000 0x08000000>;
  57. status = "okay";
  58. nor@0,0 {
  59. #address-cells = <1>;
  60. #size-cells = <1>;
  61. compatible = "cfi-flash";
  62. reg = <0x0 0x0 0x8000000>;
  63. bank-width = <2>;
  64. device-width = <1>;
  65. };
  66. };
  67. &lpuart0 {
  68. status = "okay";
  69. };
  70. &mdio0 {
  71. sgmii_phy0: ethernet-phy@0 {
  72. reg = <0x0>;
  73. };
  74. rgmii_phy1: ethernet-phy@1 {
  75. reg = <0x1>;
  76. };
  77. sgmii_phy2: ethernet-phy@2 {
  78. reg = <0x2>;
  79. };
  80. tbi1: tbi-phy@1f {
  81. reg = <0x1f>;
  82. device_type = "tbi-phy";
  83. };
  84. };
  85. &uart0 {
  86. status = "okay";
  87. };
  88. &uart1 {
  89. status = "okay";
  90. };