sf19a2890_evb.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /dts-v1/;
  2. #include <dt-bindings/input/input.h>
  3. #include <dt-bindings/leds/common.h>
  4. #include "sf19a2890.dtsi"
  5. / {
  6. model = "Siflower SF19A2890 Evaluation Board";
  7. compatible = "siflower,sf19a2890-evb", "siflower,sf19a2890";
  8. aliases {
  9. led-boot = &led_wlan;
  10. led-failsafe = &led_wlan;
  11. led-running = &led_wlan;
  12. led-upgrade = &led_wlan;
  13. };
  14. chosen {
  15. stdout-path = "serial0:115200n8";
  16. };
  17. memory@0 {
  18. device_type = "memory";
  19. reg = <0x0 0x8000000>;
  20. };
  21. leds {
  22. compatible = "gpio-leds";
  23. led_wlan: wlan {
  24. function = LED_FUNCTION_WLAN;
  25. color = <LED_COLOR_ID_RED>;
  26. gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
  27. };
  28. };
  29. keys {
  30. compatible = "gpio-keys";
  31. reset {
  32. label = "reset";
  33. gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
  34. linux,code = <KEY_RESTART>;
  35. };
  36. };
  37. rtl8367rb {
  38. compatible = "realtek,rtl8367b";
  39. realtek,extif = <6 0 0 1 1 1 1 1 1 2>;
  40. mii-bus = <&mdio>;
  41. phy-id = <0>;
  42. };
  43. };
  44. &gmac {
  45. status = "okay";
  46. phy-mode = "rgmii-id";
  47. snps,ps-speed = <1000>;
  48. nvmem-cells = <&macaddr_factory_0>, <&rgmii_delay_factory_b2>;
  49. nvmem-cell-names = "mac-address", "rgmii-delay";
  50. fixed-link {
  51. speed = <1000>;
  52. full-duplex;
  53. pause;
  54. };
  55. };
  56. &wlan_rf {
  57. status = "okay";
  58. };
  59. &uart0 {
  60. status = "okay";
  61. };
  62. &usb {
  63. status = "okay";
  64. };
  65. &usb_phy {
  66. status = "okay";
  67. };
  68. &spi {
  69. status = "okay";
  70. flash@0 {
  71. compatible = "jedec,spi-nor";
  72. reg = <0>;
  73. spi-max-frequency = <30000000>;
  74. #address-cells = <1>;
  75. #size-cells = <1>;
  76. partitions {
  77. compatible = "fixed-partitions";
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. partition@0 {
  81. label = "spl-loader";
  82. reg = <0x0 0x20000>; /* 128k */
  83. read-only;
  84. };
  85. partition@20000 {
  86. label = "u-boot";
  87. reg = <0x20000 0x60000>; /* 384k */
  88. };
  89. partition@80000 {
  90. label = "u-boot-env";
  91. reg = <0x80000 0x10000>; /* 64k */
  92. };
  93. factory:partition@90000 {
  94. label = "factory";
  95. reg = <0x90000 0x10000>; /* 64k */
  96. nvmem-layout {
  97. compatible = "fixed-layout";
  98. #address-cells = <1>;
  99. #size-cells = <1>;
  100. macaddr_factory_0: macaddr@0 {
  101. reg = <0x0 0x6>;
  102. };
  103. rgmii_delay_factory_b2: rgmii-delay@b2 {
  104. reg = <0xb2 0x4>;
  105. };
  106. };
  107. };
  108. partition@a0000 {
  109. compatible = "denx,uimage";
  110. label = "firmware";
  111. reg = <0xa0000 0x0>; /* 640k- */
  112. };
  113. };
  114. };
  115. };