TPLINK-8M.dtsi 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. #include "mt7628an.dtsi"
  2. / {
  3. chosen {
  4. bootargs = "console=ttyS0,115200";
  5. };
  6. memory@0 {
  7. device_type = "memory";
  8. reg = <0x0 0x4000000>;
  9. };
  10. };
  11. &spi0 {
  12. status = "okay";
  13. m25p80@0 {
  14. compatible = "jedec,spi-nor";
  15. reg = <0>;
  16. spi-max-frequency = <10000000>;
  17. m25p,chunked-io = <32>;
  18. partitions {
  19. compatible = "fixed-partitions";
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. partition@0 {
  23. label = "boot";
  24. reg = <0x0 0x20000>;
  25. read-only;
  26. };
  27. partition@20000 {
  28. label = "firmware";
  29. reg = <0x20000 0x7a0000>;
  30. };
  31. partition@7c0000 {
  32. label = "config";
  33. reg = <0x7c0000 0x10000>;
  34. read-only;
  35. };
  36. factory: partition@7d0000 {
  37. label = "factory";
  38. reg = <0x7d0000 0x30000>;
  39. read-only;
  40. };
  41. };
  42. };
  43. };
  44. &ehci {
  45. status = "disabled";
  46. };
  47. &ohci {
  48. status = "disabled";
  49. };
  50. &wmac {
  51. status = "okay";
  52. mtd-mac-address = <&factory 0xf100>;
  53. mediatek,mtd-eeprom = <&factory 0x20000>;
  54. };
  55. &ethernet {
  56. mtd-mac-address = <&factory 0xf100>;
  57. mediatek,portmap = "llllw";
  58. };