1
0

WMDR-143N.dts 1002 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. label = "firmware";
  34. reg = <0x50000 0x7b0000>;
  35. };
  36. };
  37. };
  38. };
  39. &ethernet {
  40. port@0 {
  41. phy-handle = <&phy0>;
  42. phy-mode = "mii";
  43. };
  44. mdio-bus {
  45. status = "okay";
  46. phy0: ethernet-phy@0 {
  47. reg = <0>;
  48. phy-mode = "mii";
  49. };
  50. };
  51. };
  52. &wmac {
  53. status = "okay";
  54. ralink,mtd-eeprom = <&factory 0>;
  55. mtd-mac-address = <&factory 0x4>;
  56. };