ls1021a-iot.dtsi 1.4 KB

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