WMDR-143N.dts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /dts-v1/;
  2. #include "rt3883.dtsi"
  3. / {
  4. compatible = "loewe,wmdr-143n", "ralink,rt3883-soc";
  5. model = "Loewe WMDR-143N";
  6. };
  7. &spi0 {
  8. status = "okay";
  9. m25p80@0 {
  10. compatible = "jedec,spi-nor";
  11. reg = <0>;
  12. spi-max-frequency = <25000000>;
  13. partitions {
  14. compatible = "fixed-partitions";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. partition@0 {
  18. label = "u-boot";
  19. reg = <0x0 0x30000>;
  20. read-only;
  21. };
  22. partition@30000 {
  23. label = "u-boot-env";
  24. reg = <0x30000 0x00010000>;
  25. read-only;
  26. };
  27. factory: partition@40000 {
  28. label = "factory";
  29. reg = <0x40000 0x10000>;
  30. read-only;
  31. };
  32. partition@50000 {
  33. compatible = "denx,uimage";
  34. label = "firmware";
  35. reg = <0x50000 0x7b0000>;
  36. };
  37. };
  38. };
  39. };
  40. &ethernet {
  41. port@0 {
  42. phy-handle = <&phy0>;
  43. phy-mode = "mii";
  44. };
  45. mdio-bus {
  46. status = "okay";
  47. phy0: ethernet-phy@0 {
  48. reg = <0>;
  49. phy-mode = "mii";
  50. };
  51. };
  52. };
  53. &wmac {
  54. status = "okay";
  55. ralink,mtd-eeprom = <&factory 0>;
  56. mtd-mac-address = <&factory 0x4>;
  57. };