mt7621_buffalo_wsr-2533dhpls.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include "mt7621_buffalo_wsr-2533dhplx.dtsi"
  3. / {
  4. compatible = "buffalo,wsr-2533dhpls", "mediatek,mt7621-soc";
  5. model = "Buffalo WSR-2533DHPLS";
  6. chosen {
  7. bootargs = "console=ttyS0,115200n8 ubi.block=0,rootfs root=/dev/ubiblock0_0";
  8. };
  9. };
  10. &nand {
  11. status = "okay";
  12. mediatek,nmbm;
  13. /*
  14. * - u-boot - (kernel (6MiB, in "firmware"))
  15. * - Kernel2 - WTB
  16. */
  17. mediatek,bmt-remap-range = <0x0 0x780000>,
  18. <0x1980000 0x5b00000>;
  19. };
  20. &partitions {
  21. partition@100000 {
  22. label = "factory";
  23. reg = <0x100000 0x80000>;
  24. read-only;
  25. nvmem-layout {
  26. compatible = "fixed-layout";
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. eeprom_factory_0: eeprom@0 {
  30. reg = <0x0 0x4da8>;
  31. };
  32. eeprom_factory_8000: eeprom@8000 {
  33. reg = <0x8000 0x4da8>;
  34. };
  35. };
  36. };
  37. partition@180000 {
  38. compatible = "brcm,trx";
  39. brcm,trx-magic = <0x534c4844>;
  40. label = "firmware";
  41. reg = <0x180000 0x1800000>;
  42. };
  43. partition@1980000 {
  44. label = "Kernel2";
  45. reg = <0x1980000 0x1800000>;
  46. };
  47. partition@3180000 {
  48. label = "glbcfg";
  49. reg = <0x3180000 0x200000>;
  50. read-only;
  51. };
  52. partition@3380000 {
  53. label = "board_data";
  54. reg = <0x3380000 0x200000>;
  55. read-only;
  56. };
  57. partition@3580000 {
  58. label = "debug_log";
  59. reg = <0x3580000 0x900000>;
  60. read-only;
  61. };
  62. partition@3e80000 {
  63. label = "WTB";
  64. reg = <0x3e80000 0x3600000>;
  65. read-only;
  66. };
  67. };