Advertisement
Guest User

Untitled

a guest
Sep 9th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. #include "mt7620a_zbtlink_zbt-we826.dtsi"
  4.  
  5. / {
  6. compatible = "zbtlink,zbt-we826-16m", "zbtlink,zbt-we826", "ralink,mt7620a-soc";
  7. model = "ZBT-WE826 (16M)";
  8. };
  9.  
  10. &spi0 {
  11. status = "okay";
  12.  
  13. en25q128@0 {
  14. compatible = "jedec,spi-nor";
  15. reg = <0>;
  16. spi-max-frequency = <10000000>;
  17.  
  18. partitions {
  19. compatible = "fixed-partitions";
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22.  
  23. partition@0 {
  24. label = "u-boot";
  25. reg = <0x0 0x30000>;
  26. read-only;
  27. };
  28.  
  29. partition@30000 {
  30. label = "u-boot-env";
  31. reg = <0x30000 0x10000>;
  32. read-only;
  33. };
  34.  
  35. factory: partition@40000 {
  36. label = "factory";
  37. reg = <0x40000 0x10000>;
  38. read-only;
  39. };
  40.  
  41. firmware: partition@50000 {
  42. compatible = "denx,uimage";
  43. label = "firmware";
  44. reg = <0x50000 0xfb0000>;
  45. };
  46. };
  47. };
  48. };
  49.  
  50. &pcie0 {
  51. mt76@0,0 {
  52. reg = <0x0000 0 0 0 0>;
  53. mediatek,mtd-eeprom = <&factory 0x8000>;
  54. ieee80211-freq-limit = <5000000 6000000>;
  55. mtd-mac-address = <&factory 0x8004>;
  56. //mtd-mac-address-increment = <(-1)>;
  57. };
  58. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement