From: Chuanhong Guo Date: Wed, 10 Jul 2019 05:53:59 +0000 (+0800) Subject: ramips: dts: drop memory nodes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a2c19f1d2f658367e6d62a6bdcfc72f12f23e43e;p=openwrt%2Fstaging%2Fxback.git 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 --- diff --git a/target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts b/target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts index 14c851a3a8..05acdf5750 100644 --- a/target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts b/target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts index ea837c4d34..6b10238af9 100644 --- a/target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts b/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts index def47d5199..ad6ed7fc43 100644 --- a/target/linux/ramips/dts/mt7621_afoundry_ew1200.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts b/target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts index eaf8da8edc..2e1479d0c6 100644 --- a/target/linux/ramips/dts/mt7621_asiarf_ap7621-001.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts index ff033c41e4..232c0c3f18 100644 --- a/target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts index 0cdd79cdda..6e7066d66c 100644 --- a/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts index 31fc42cde2..d51eb29600 100644 --- a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts b/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts index e89a7ef93f..3eb0fac46e 100644 --- a/target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts b/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts index c212e05a20..5ddb6302cb 100644 --- a/target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts b/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts index 9587b3769d..3a6eb7cec8 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi b/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi index 40f16adb84..9ab8df6631 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_firefly_firewrt.dts b/target/linux/ramips/dts/mt7621_firefly_firewrt.dts index 2abc01b2af..09b6fc5bf5 100644 --- a/target/linux/ramips/dts/mt7621_firefly_firewrt.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts b/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts index 59640a179c..12becc2b1d 100644 --- a/target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts index e09e9f75a9..0d951e98c4 100644 --- a/target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts b/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts index dff1b3d5f7..a5fe411d0e 100644 --- a/target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts b/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts index 817b571d2a..598d33035f 100644 --- a/target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts index cc7f7f240f..e5c00abb0b 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts index 5399a49399..999cb06fe7 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts b/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts index 2c180585c9..e681e1a0c9 100644 --- a/target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_linksys_re6500.dts b/target/linux/ramips/dts/mt7621_linksys_re6500.dts index de5c310608..c7705bdb5e 100644 --- a/target/linux/ramips/dts/mt7621_linksys_re6500.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts b/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts index b613c9c371..15a4d71c1b 100644 --- a/target/linux/ramips/dts/mt7621_mediatek_ap-mt7621a-v60.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts b/target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts index 290083a855..177154b8d9 100644 --- a/target/linux/ramips/dts/mt7621_mediatek_mt7621-eval-board.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts b/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts index 4a303edddb..0b39fa240a 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts index ce8d7208f1..66ce61db3d 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts b/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts index f40c4f733f..8abc08e200 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_mqmaker_witi-256m.dts b/target/linux/ramips/dts/mt7621_mqmaker_witi-256m.dts index c15d4f0a33..7d08368749 100644 --- a/target/linux/ramips/dts/mt7621_mqmaker_witi-256m.dts +++ b/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>; - }; }; diff --git a/target/linux/ramips/dts/mt7621_mqmaker_witi-512m.dts b/target/linux/ramips/dts/mt7621_mqmaker_witi-512m.dts index 8fb7bf3977..5391c32131 100644 --- a/target/linux/ramips/dts/mt7621_mqmaker_witi-512m.dts +++ b/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>; - }; }; diff --git a/target/linux/ramips/dts/mt7621_mtc_wr1201.dts b/target/linux/ramips/dts/mt7621_mtc_wr1201.dts index 08c9b2c18f..7c2db6d308 100644 --- a/target/linux/ramips/dts/mt7621_mtc_wr1201.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_netgear_ex6150.dts b/target/linux/ramips/dts/mt7621_netgear_ex6150.dts index a5827f270d..4798a99c61 100644 --- a/target/linux/ramips/dts/mt7621_netgear_ex6150.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_netgear_r6220.dtsi b/target/linux/ramips/dts/mt7621_netgear_r6220.dtsi index 98a2078ecc..1874850111 100644 --- a/target/linux/ramips/dts/mt7621_netgear_r6220.dtsi +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_netgear_r6350.dts b/target/linux/ramips/dts/mt7621_netgear_r6350.dts index e49a5decde..403fc91d54 100644 --- a/target/linux/ramips/dts/mt7621_netgear_r6350.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_netis_wf-2881.dts b/target/linux/ramips/dts/mt7621_netis_wf-2881.dts index bc9d6d7229..487d92d9c6 100644 --- a/target/linux/ramips/dts/mt7621_netis_wf-2881.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts b/target/linux/ramips/dts/mt7621_phicomm_k2p.dts index 0b330aa20e..a71e5f63b8 100644 --- a/target/linux/ramips/dts/mt7621_phicomm_k2p.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_planex_vr500.dts b/target/linux/ramips/dts/mt7621_planex_vr500.dts index 4d74f2c9ce..46980c4136 100644 --- a/target/linux/ramips/dts/mt7621_planex_vr500.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts b/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts index 9511432e15..0319f05351 100644 --- a/target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts b/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts index d1d6a534b6..38ae614ed1 100644 --- a/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts index 33fc1810a2..abba2ea8b1 100644 --- a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts +++ b/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 { diff --git a/target/linux/ramips/dts/mt7621_thunder_timecloud.dts b/target/linux/ramips/dts/mt7621_thunder_timecloud.dts index 1b8aa9d85d..23f972406d 100644 --- a/target/linux/ramips/dts/mt7621_thunder_timecloud.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_totolink_a7000r.dts b/target/linux/ramips/dts/mt7621_totolink_a7000r.dts index 4791862a6f..68bc8afa19 100644 --- a/target/linux/ramips/dts/mt7621_totolink_a7000r.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_tplink_re350-v1.dts b/target/linux/ramips/dts/mt7621_tplink_re350-v1.dts index 5414fe147a..54ba203170 100644 --- a/target/linux/ramips/dts/mt7621_tplink_re350-v1.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi b/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi index 1d54713fe6..2aaca83261 100644 --- a/target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-06-256m-16m.dts b/target/linux/ramips/dts/mt7621_unielec_u7621-06-256m-16m.dts index 157ac13081..78bccbf12d 100644 --- a/target/linux/ramips/dts/mt7621_unielec_u7621-06-256m-16m.dts +++ b/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 { diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-06-512m-64m.dts b/target/linux/ramips/dts/mt7621_unielec_u7621-06-512m-64m.dts index 83e4db5e9c..16baf70600 100644 --- a/target/linux/ramips/dts/mt7621_unielec_u7621-06-512m-64m.dts +++ b/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 { diff --git a/target/linux/ramips/dts/mt7621_wevo_11acnas.dts b/target/linux/ramips/dts/mt7621_wevo_11acnas.dts index d993f6689e..ec31542632 100644 --- a/target/linux/ramips/dts/mt7621_wevo_11acnas.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts b/target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts index adc987d3b9..816f6b1c0f 100644 --- a/target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts b/target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts index b0b63f8085..59b4e51313 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts b/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts index cd929e5e33..09a6881581 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts b/target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts index 06cec3b027..73bfd6a4f0 100644 --- a/target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts b/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts index 6fd087ca09..af397490a1 100644 --- a/target/linux/ramips/dts/mt7621_youhua_wr1200js.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_youku_yk-l2.dts b/target/linux/ramips/dts/mt7621_youku_yk-l2.dts index 55fdf2f224..dc5599302a 100644 --- a/target/linux/ramips/dts/mt7621_youku_yk-l2.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts index 0bb8b91be9..2f6f94f3ff 100644 --- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts +++ b/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>; diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts index 30c941c9c8..7973626fad 100644 --- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts index 4ceee9bd6f..ca2044f73e 100644 --- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi b/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi index 0cf94d57d2..87999b1e46 100644 --- a/target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts b/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts index 4e5ce1cc7b..c03f060b2d 100644 --- a/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts +++ b/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 { diff --git a/target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts b/target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts index 6d98a4492f..6b3855ff09 100644 --- a/target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_duzun_dm06.dts b/target/linux/ramips/dts/mt7628an_duzun_dm06.dts index 7325e2c699..1060f857bf 100644 --- a/target/linux/ramips/dts/mt7628an_duzun_dm06.dts +++ b/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>; diff --git a/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts b/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts index e4220736d2..6222cfe345 100644 --- a/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_glinet_vixmini.dts b/target/linux/ramips/dts/mt7628an_glinet_vixmini.dts index 5a52fe2a1b..1d2ba8b7b0 100644 --- a/target/linux/ramips/dts/mt7628an_glinet_vixmini.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts b/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts index 71c6b60ac2..77e9abacb9 100644 --- a/target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/mt7628an_hiwifi_hc5661a.dts b/target/linux/ramips/dts/mt7628an_hiwifi_hc5661a.dts index 25f1ff1a02..df239e1fb8 100644 --- a/target/linux/ramips/dts/mt7628an_hiwifi_hc5661a.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_hiwifi_hc5861b.dts b/target/linux/ramips/dts/mt7628an_hiwifi_hc5861b.dts index 5cc2634dcc..5107dd03df 100644 --- a/target/linux/ramips/dts/mt7628an_hiwifi_hc5861b.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_mediatek_linkit-smart-7688.dts b/target/linux/ramips/dts/mt7628an_mediatek_linkit-smart-7688.dts index eaa75f407d..b29a815529 100644 --- a/target/linux/ramips/dts/mt7628an_mediatek_linkit-smart-7688.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_mediatek_mt7628an-eval-board.dts b/target/linux/ramips/dts/mt7628an_mediatek_mt7628an-eval-board.dts index b4afc8ce96..6b9c3e4af7 100644 --- a/target/linux/ramips/dts/mt7628an_mediatek_mt7628an-eval-board.dts +++ b/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 { diff --git a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts index 7d13621135..82adae13db 100644 --- a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts +++ b/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 { diff --git a/target/linux/ramips/dts/mt7628an_netgear_r6120.dts b/target/linux/ramips/dts/mt7628an_netgear_r6120.dts index d263c7824b..e6d8ea478b 100644 --- a/target/linux/ramips/dts/mt7628an_netgear_r6120.dts +++ b/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>; diff --git a/target/linux/ramips/dts/mt7628an_onion_omega2.dts b/target/linux/ramips/dts/mt7628an_onion_omega2.dts index 00eff076b2..e75abbc1fe 100644 --- a/target/linux/ramips/dts/mt7628an_onion_omega2.dts +++ b/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 { diff --git a/target/linux/ramips/dts/mt7628an_onion_omega2p.dts b/target/linux/ramips/dts/mt7628an_onion_omega2p.dts index da500df77a..be753372f7 100644 --- a/target/linux/ramips/dts/mt7628an_onion_omega2p.dts +++ b/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 { diff --git a/target/linux/ramips/dts/mt7628an_rakwireless_rak633.dts b/target/linux/ramips/dts/mt7628an_rakwireless_rak633.dts index ac7218510f..1316a290d7 100644 --- a/target/linux/ramips/dts/mt7628an_rakwireless_rak633.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_skylab_skw92a.dts b/target/linux/ramips/dts/mt7628an_skylab_skw92a.dts index dddb794a8f..41fd5f2135 100644 --- a/target/linux/ramips/dts/mt7628an_skylab_skw92a.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_tama_w06.dts b/target/linux/ramips/dts/mt7628an_tama_w06.dts index 55b117c194..b4d5595a69 100644 --- a/target/linux/ramips/dts/mt7628an_tama_w06.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts b/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts index 81aa8db915..c2aac3edf4 100644 --- a/target/linux/ramips/dts/mt7628an_totolink_lr1200.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi b/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi index c62079ee56..04c6062e16 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi +++ b/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 { diff --git a/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi b/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi index 9f7f7ccd6c..9e3db9971a 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_8m.dtsi +++ b/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 { diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts index 7a9ef41446..d1b5dd49dc 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts +++ b/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>; diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts index 773839098b..eb00d11273 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts +++ b/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>; diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts index 6e12361ec9..c19db91620 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts +++ b/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>; diff --git a/target/linux/ramips/dts/mt7628an_unielec_u7628-01-128m-16m.dts b/target/linux/ramips/dts/mt7628an_unielec_u7628-01-128m-16m.dts index 75a1bd5404..c5eaf6d5d0 100644 --- a/target/linux/ramips/dts/mt7628an_unielec_u7628-01-128m-16m.dts +++ b/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 { diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts index a07490b853..21659644d1 100644 --- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts +++ b/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>; diff --git a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts b/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts index 76923d5cf6..7a71740bcc 100644 --- a/target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts +++ b/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>; diff --git a/target/linux/ramips/dts/mt7628an_widora_neo.dtsi b/target/linux/ramips/dts/mt7628an_widora_neo.dtsi index af3a1b1a1e..eabb5c69b4 100644 --- a/target/linux/ramips/dts/mt7628an_widora_neo.dtsi +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts b/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts index 13c8f68f15..13475fe324 100644 --- a/target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts +++ b/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; diff --git a/target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts b/target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts index 8a33745f7f..bdca8d95ad 100644 --- a/target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts +++ b/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; diff --git a/target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts b/target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts index bad37e21f1..89a12edb7e 100644 --- a/target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts +++ b/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"; diff --git a/target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts b/target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts index aace0042e4..cd7a33e7b5 100644 --- a/target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts +++ b/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>; diff --git a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts b/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts index 56912a786e..1d083ed8bb 100644 --- a/target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/rt5350_hilink_hlk-rm04.dts b/target/linux/ramips/dts/rt5350_hilink_hlk-rm04.dts index 7b2791fa62..cf586bf598 100644 --- a/target/linux/ramips/dts/rt5350_hilink_hlk-rm04.dts +++ b/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"; }; diff --git a/target/linux/ramips/dts/rt5350_nexx_wt1520.dtsi b/target/linux/ramips/dts/rt5350_nexx_wt1520.dtsi index 28d498bc87..a66b0096a7 100644 --- a/target/linux/ramips/dts/rt5350_nexx_wt1520.dtsi +++ b/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>;