Просмотр исходного кода

ramips: dts: drop memory nodes

mt7621 and mt7628 now have the ability to detect memory size
automatically.
Drop memory nodes and let kernel determine memory size.

Signed-off-by: Chuanhong Guo <[email protected]>
Chuanhong Guo 6 лет назад
Родитель
Сommit
a2c19f1d2f
88 измененных файлов с 0 добавлено и 441 удалено
  1. 0 5
      target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts
  2. 0 5
      target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts
  3. 0 5
      target/linux/ramips/dts/mt7621_afoundry_ew1200.dts
  4. 0 5
      target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts
  5. 0 5
      target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts
  6. 0 5
      target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts
  7. 0 5
      target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
  8. 0 5
      target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
  9. 0 5
      target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
  10. 0 5
      target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
  11. 0 5
      target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi
  12. 0 5
      target/linux/ramips/dts/mt7621_firefly_firewrt.dts
  13. 0 5
      target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
  14. 0 5
      target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
  15. 0 5
      target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
  16. 0 5
      target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts
  17. 0 5
      target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
  18. 0 5
      target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts
  19. 0 5
      target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
  20. 0 5
      target/linux/ramips/dts/mt7621_linksys_re6500.dts
  21. 0 5
      target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts
  22. 0 5
      target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts
  23. 0 5
      target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts
  24. 0 5
      target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts
  25. 0 5
      target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
  26. 0 5
      target/linux/ramips/dts/mt7621_mqmaker_witi-256m.dts
  27. 0 5
      target/linux/ramips/dts/mt7621_mqmaker_witi-512m.dts
  28. 0 5
      target/linux/ramips/dts/mt7621_mtc_wr1201.dts
  29. 0 5
      target/linux/ramips/dts/mt7621_netgear_ex6150.dts
  30. 0 5
      target/linux/ramips/dts/mt7621_netgear_r6220.dtsi
  31. 0 5
      target/linux/ramips/dts/mt7621_netgear_r6350.dts
  32. 0 5
      target/linux/ramips/dts/mt7621_netis_wf-2881.dts
  33. 0 5
      target/linux/ramips/dts/mt7621_phicomm_k2p.dts
  34. 0 5
      target/linux/ramips/dts/mt7621_planex_vr500.dts
  35. 0 5
      target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts
  36. 0 5
      target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts
  37. 0 5
      target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
  38. 0 5
      target/linux/ramips/dts/mt7621_thunder_timecloud.dts
  39. 0 5
      target/linux/ramips/dts/mt7621_totolink_a7000r.dts
  40. 0 5
      target/linux/ramips/dts/mt7621_tplink_re350-v1.dts
  41. 0 5
      target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi
  42. 0 5
      target/linux/ramips/dts/mt7621_unielec_u7621-06-256m-16m.dts
  43. 0 5
      target/linux/ramips/dts/mt7621_unielec_u7621-06-512m-64m.dts
  44. 0 5
      target/linux/ramips/dts/mt7621_wevo_11acnas.dts
  45. 0 5
      target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts
  46. 0 5
      target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts
  47. 0 5
      target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts
  48. 0 6
      target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts
  49. 0 5
      target/linux/ramips/dts/mt7621_youhua_wr1200js.dts
  50. 0 5
      target/linux/ramips/dts/mt7621_youku_yk-l2.dts
  51. 0 5
      target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts
  52. 0 5
      target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts
  53. 0 5
      target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
  54. 0 5
      target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi
  55. 0 5
      target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts
  56. 0 5
      target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts
  57. 0 5
      target/linux/ramips/dts/mt7628an_duzun_dm06.dts
  58. 0 5
      target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts
  59. 0 5
      target/linux/ramips/dts/mt7628an_glinet_vixmini.dts
  60. 0 5
      target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts
  61. 0 5
      target/linux/ramips/dts/mt7628an_hiwifi_hc5661a.dts
  62. 0 5
      target/linux/ramips/dts/mt7628an_hiwifi_hc5861b.dts
  63. 0 5
      target/linux/ramips/dts/mt7628an_mediatek_linkit-smart-7688.dts
  64. 0 5
      target/linux/ramips/dts/mt7628an_mediatek_mt7628an-eval-board.dts
  65. 0 5
      target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
  66. 0 5
      target/linux/ramips/dts/mt7628an_netgear_r6120.dts
  67. 0 5
      target/linux/ramips/dts/mt7628an_onion_omega2.dts
  68. 0 5
      target/linux/ramips/dts/mt7628an_onion_omega2p.dts
  69. 0 5
      target/linux/ramips/dts/mt7628an_rakwireless_rak633.dts
  70. 0 5
      target/linux/ramips/dts/mt7628an_skylab_skw92a.dts
  71. 0 5
      target/linux/ramips/dts/mt7628an_tama_w06.dts
  72. 0 5
      target/linux/ramips/dts/mt7628an_totolink_lr1200.dts
  73. 0 5
      target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
  74. 0 5
      target/linux/ramips/dts/mt7628an_tplink_8m.dtsi
  75. 0 5
      target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts
  76. 0 5
      target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts
  77. 0 5
      target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts
  78. 0 5
      target/linux/ramips/dts/mt7628an_unielec_u7628-01-128m-16m.dts
  79. 0 5
      target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts
  80. 0 5
      target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
  81. 0 5
      target/linux/ramips/dts/mt7628an_widora_neo.dtsi
  82. 0 5
      target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts
  83. 0 5
      target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts
  84. 0 5
      target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts
  85. 0 5
      target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts
  86. 0 5
      target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts
  87. 0 5
      target/linux/ramips/dts/rt5350_hilink_hlk-rm04.dts
  88. 0 5
      target/linux/ramips/dts/rt5350_nexx_wt1520.dtsi

+ 0 - 5
target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts

@@ -17,11 +17,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts

@@ -17,11 +17,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7621_afoundry_ew1200.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_run;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts

@@ -10,11 +10,6 @@
 	compatible = "asiarf,ap7621-001", "mediatek,mt7621-soc";
 	model = "AsiaRF AP7621-001";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power_blue;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_sys;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power_green;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power_green;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi

@@ -14,11 +14,6 @@
 		led-upgrade = &led_power_green;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_firefly_firewrt.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts

@@ -10,11 +10,6 @@
 	compatible = "gehua,ghl-r-001", "mediatek,mt7621-soc";
 	model = "GeHua GHL-R-001";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_status;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_status;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_status;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_blue;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_linksys_re6500.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts

@@ -6,11 +6,6 @@
 	compatible = "mediatek,ap-mt7621a-v60", "mediatek,mt7621-soc";
 	model = "Mediatek AP-MT7621A-V60 EVB";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts

@@ -6,11 +6,6 @@
 	compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
 	model = "Mediatek MT7621 evaluation board";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x2000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts

@@ -17,11 +17,6 @@
 		led-upgrade = &led_usr;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_usr;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_usr;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_mqmaker_witi-256m.dts

@@ -5,9 +5,4 @@
 / {
 	compatible = "mqmaker,witi-256m", "mqmaker,witi", "mediatek,mt7621-soc";
 	model = "MQmaker WiTi (256MB RAM)";
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
 };

+ 0 - 5
target/linux/ramips/dts/mt7621_mqmaker_witi-512m.dts

@@ -5,9 +5,4 @@
 / {
 	compatible = "mqmaker,witi-512m", "mqmaker,witi", "mediatek,mt7621-soc";
 	model = "MQmaker WiTi (512MB RAM)";
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
 };

+ 0 - 5
target/linux/ramips/dts/mt7621_mtc_wr1201.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_netgear_ex6150.dts

@@ -17,11 +17,6 @@
 		led-upgrade = &power_amber;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_netgear_r6220.dtsi

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_netgear_r6350.dts

@@ -17,11 +17,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_netis_wf-2881.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_wps;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_phicomm_k2p.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_blue;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_planex_vr500.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts

@@ -15,11 +15,6 @@
 		led-upgrade = &led_wps;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts

@@ -9,11 +9,6 @@
 	compatible = "storylink,sap-g3200u3", "mediatek,mt7621-soc";
 	model = "STORYLiNK SAP-G3200U3";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_telco-electronics_x1.dts

@@ -81,11 +81,6 @@
 			gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
 		};
 	};
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
 };
 
 &spi0 {

+ 0 - 5
target/linux/ramips/dts/mt7621_thunder_timecloud.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_statuso;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_totolink_a7000r.dts

@@ -17,11 +17,6 @@
 		led-upgrade = &led_sys;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_tplink_re350-v1.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi

@@ -6,11 +6,6 @@
 / {
 	compatible = "ubiquiti,edgerouterx", "mediatek,mt7621-soc";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_unielec_u7621-06-256m-16m.dts

@@ -42,11 +42,6 @@
 / {
 	compatible = "unielec,u7621-06-256m-16m", "unielec,u7621-06", "mediatek,mt7621-soc";
 	model = "UniElec U7621-06 (256M RAM/16M flash)";
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
 };
 
 &spi0 {

+ 0 - 5
target/linux/ramips/dts/mt7621_unielec_u7621-06-512m-64m.dts

@@ -43,11 +43,6 @@
 / {
 	compatible = "unielec,u7621-06-512m-64m", "unielec,u7621-06", "mediatek,mt7621-soc";
 	model = "UniElec U7621-06 (512M RAM/64M flash)";
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
 };
 
 &spi0 {

+ 0 - 5
target/linux/ramips/dts/mt7621_wevo_11acnas.dts

@@ -6,11 +6,6 @@
 	compatible = "wevo,11acnas", "wevo,w2914ns-v2", "mediatek,mt7621-soc";
 	model = "WeVO 11AC NAS Router";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts

@@ -5,11 +5,6 @@
 / {
 	model = "WeVO W2914NS v2";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_status_yellow;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200n8";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts

@@ -17,11 +17,6 @@
 		led-upgrade = &led_status_yellow;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x04000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200n8";
 	};

+ 0 - 6
target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts

@@ -17,12 +17,6 @@
 		led-upgrade = &led_sys;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1C000000>,
-		      <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_youhua_wr1200js.dts

@@ -14,11 +14,6 @@
 		led-failsafe = &led_wps;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_youku_yk-l2.dts

@@ -17,11 +17,6 @@
 		led-upgrade = &led_wps;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x10000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts

@@ -13,11 +13,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <20>;

+ 0 - 5
target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts

@@ -9,11 +9,6 @@
 	compatible = "zbtlink,zbt-we3526", "mediatek,mt7621-soc";
 	model = "ZBT-WE3526";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_status;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi

@@ -13,11 +13,6 @@
 		led-upgrade = &led_status;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts

@@ -76,11 +76,6 @@
 			gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
 		};
 	};
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
 };
 
 &ehci {

+ 0 - 5
target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts

@@ -24,11 +24,6 @@
 		serial0 = &uart2;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_duzun_dm06.dts

@@ -9,11 +9,6 @@
 	compatible = "duzun,dm06", "mediatek,mt7628an-soc";
 	model = "DuZun DM06";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <100>;

+ 0 - 5
target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts

@@ -20,11 +20,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_glinet_vixmini.dts

@@ -21,11 +21,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts

@@ -10,11 +10,6 @@
 	compatible = "hilink,hlk-7628n", "mediatek,mt7628an-soc";
 	model = "HILINK HLK-7628N";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/mt7628an_hiwifi_hc5661a.dts

@@ -20,11 +20,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_hiwifi_hc5861b.dts

@@ -20,11 +20,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_mediatek_linkit-smart-7688.dts

@@ -24,11 +24,6 @@
 		serial0 = &uart2;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	bootstrap {
 		compatible = "mediatek,linkit";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_mediatek_mt7628an-eval-board.dts

@@ -5,11 +5,6 @@
 / {
 	compatible = "mediatek,mt7628an-eval-board", "mediatek,mt7628an-soc";
 	model = "Mediatek MT7628AN evaluation board";
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x2000000>;
-	};
 };
 
 &pinctrl {

+ 0 - 5
target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts

@@ -20,11 +20,6 @@
 		bootargs = "console=ttyS0,57600";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x2000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 		led_status: status {

+ 0 - 5
target/linux/ramips/dts/mt7628an_netgear_r6120.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <20>;

+ 0 - 5
target/linux/ramips/dts/mt7628an_onion_omega2.dts

@@ -5,11 +5,6 @@
 / {
 	compatible = "onion,omega2", "mediatek,mt7628an-soc";
 	model = "Onion Omega2";
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
 };
 
 &firmware {

+ 0 - 5
target/linux/ramips/dts/mt7628an_onion_omega2p.dts

@@ -5,11 +5,6 @@
 / {
 	compatible = "onion,omega2p", "onion,omega2", "mediatek,mt7628an-soc";
 	model = "Onion Omega2+";
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
 };
 
 &firmware {

+ 0 - 5
target/linux/ramips/dts/mt7628an_rakwireless_rak633.dts

@@ -10,11 +10,6 @@
 	compatible = "rakwireless,rak633", "mediatek,mt7628an-soc";
 	model = "Rakwireless RAK633";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_skylab_skw92a.dts

@@ -19,11 +19,6 @@
 		bootargs = "console=ttyS0,57600";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_tama_w06.dts

@@ -9,11 +9,6 @@
 	compatible = "tama,w06", "mediatek,mt7628an-soc";
 	model = "Tama W06";
 
-	memory@0{
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_totolink_lr1200.dts

@@ -17,11 +17,6 @@
 		led-upgrade = &led_sys;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi

@@ -5,11 +5,6 @@
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
 };
 
 &spi0 {

+ 0 - 5
target/linux/ramips/dts/mt7628an_tplink_8m.dtsi

@@ -4,11 +4,6 @@
 	chosen {
 		bootargs = "console=ttyS0,115200";
 	};
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
 };
 
 &spi0 {

+ 0 - 5
target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts

@@ -20,11 +20,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <20>;

+ 0 - 5
target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts

@@ -20,11 +20,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <20>;

+ 0 - 5
target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts

@@ -22,11 +22,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x2000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <20>;

+ 0 - 5
target/linux/ramips/dts/mt7628an_unielec_u7628-01-128m-16m.dts

@@ -39,11 +39,6 @@
 / {
 	compatible = "unielec,u7628-01-128m-16m", "unielec,u7628-01", "mediatek,mt7628an-soc";
 	model = "UniElec U7628-01 (128M RAM/16M flash)";
-
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
 };
 
 &spi0 {

+ 0 - 5
target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts

@@ -12,11 +12,6 @@
 		bootargs = "console=ttyS0,57600";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <20>;

+ 0 - 5
target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts

@@ -12,11 +12,6 @@
 		bootargs = "console=ttyS0,57600";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <20>;

+ 0 - 5
target/linux/ramips/dts/mt7628an_widora_neo.dtsi

@@ -17,11 +17,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts

@@ -14,11 +14,6 @@
 		bootargs = "console=ttyS1,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	aliases {
 		led-boot = &led_run;
 		led-failsafe = &led_run;

+ 0 - 5
target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts

@@ -14,11 +14,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	aliases {
 		led-boot = &power_yellow;
 		led-failsafe = &power_yellow;

+ 0 - 5
target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts

@@ -20,11 +20,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 

+ 0 - 5
target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts

@@ -19,11 +19,6 @@
 		bootargs = "console=ttyS0,115200";
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x4000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <20>;

+ 0 - 5
target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts

@@ -16,11 +16,6 @@
 		led-upgrade = &led_power;
 	};
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x8000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS0,57600n8";
 	};

+ 0 - 5
target/linux/ramips/dts/rt5350_hilink_hlk-rm04.dts

@@ -9,11 +9,6 @@
 	compatible = "hilink,hlk-rm04", "ralink,rt5350-soc";
 	model = "HILINK HLK-RM04";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x1000000>;
-	};
-
 	chosen {
 		bootargs = "console=ttyS1,57600";
 	};

+ 0 - 5
target/linux/ramips/dts/rt5350_nexx_wt1520.dtsi

@@ -6,11 +6,6 @@
 / {
 	compatible = "nexx,wt1520", "ralink,rt5350-soc";
 
-	memory@0 {
-		device_type = "memory";
-		reg = <0x0 0x2000000>;
-	};
-
 	keys {
 		compatible = "gpio-keys-polled";
 		poll-interval = <20>;