From c463320812ea9aad329289a950e83bb6c43a8d58 Mon Sep 17 00:00:00 2001 From: Chuanhong Guo Date: Fri, 22 Jun 2018 16:22:34 +0800 Subject: [PATCH] ath79: Remove all memory nodes defined in dts This target can automatically detect the correct memory size and we've been using it for long in ar71xx. Signed-off-by: Chuanhong Guo --- target/linux/ath79/dts/ar7161_netgear_wndr3800.dts | 5 ----- target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi | 5 ----- target/linux/ath79/dts/ar7240_tl-wr740n-v2.dts | 5 ----- target/linux/ath79/dts/ar7241_ubnt_unifi.dts | 5 ----- target/linux/ath79/dts/ar7241_ubnt_xm.dtsi | 5 ----- target/linux/ath79/dts/ar7242_avm_fritz300e.dts | 5 ----- target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts | 5 ----- target/linux/ath79/dts/ar7242_tl-wr2543-v1.dts | 5 ----- target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts | 5 ----- target/linux/ath79/dts/ar9330_glinet_ar150.dts | 5 ----- target/linux/ath79/dts/ar9331_dpt_module.dts | 5 ----- target/linux/ath79/dts/ar9331_dragino_ms14.dts | 5 ----- target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts | 5 ----- target/linux/ath79/dts/ar9331_etactica-eg200.dts | 5 ----- target/linux/ath79/dts/ar9331_omega.dts | 5 ----- target/linux/ath79/dts/ar9331_tl-mr3020-v1.dts | 5 ----- target/linux/ath79/dts/ar9331_tl-wr703n_tl-mr10u.dtsi | 5 ----- target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi | 5 ----- target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi | 5 ----- target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts | 5 ----- target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi | 5 ----- target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi | 5 ----- target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi | 5 ----- target/linux/ath79/dts/qca9563_ubnt-unifiac-lite.dts | 5 ----- 24 files changed, 120 deletions(-) diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts b/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts index 7a7279bdf50d..59b868480aae 100644 --- a/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts +++ b/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts @@ -18,11 +18,6 @@ bootargs = "console=ttyS0,115200"; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x8000000>; - }; - extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi b/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi index c5ceb6e45f92..1ae9896aa42c 100644 --- a/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi +++ b/target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi @@ -14,11 +14,6 @@ led-status = &led_power; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ath79/dts/ar7240_tl-wr740n-v2.dts b/target/linux/ath79/dts/ar7240_tl-wr740n-v2.dts index f86cb50d47c4..5bc78d7eeff9 100644 --- a/target/linux/ath79/dts/ar7240_tl-wr740n-v2.dts +++ b/target/linux/ath79/dts/ar7240_tl-wr740n-v2.dts @@ -14,11 +14,6 @@ led-status = &led_system; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts index 923b3df77053..adcaf748bb7c 100644 --- a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts +++ b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts @@ -14,11 +14,6 @@ led-status = &dome_green; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi b/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi index 4c46176f9598..a08c9da846bb 100644 --- a/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi +++ b/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi @@ -9,11 +9,6 @@ compatible = "ubnt,xm", "qca,ar7241"; model = "Ubiquiti Networks XM (rev 1.0) board"; - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - /* extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/ar7242_avm_fritz300e.dts b/target/linux/ath79/dts/ar7242_avm_fritz300e.dts index 07c1f637cb05..15f1e321c8bd 100644 --- a/target/linux/ath79/dts/ar7242_avm_fritz300e.dts +++ b/target/linux/ath79/dts/ar7242_avm_fritz300e.dts @@ -14,11 +14,6 @@ led-status = &power; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - gpio-keys { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts index 4d7a545665fd..10c26cd7dcaf 100644 --- a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts +++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts @@ -10,11 +10,6 @@ compatible = "buffalo,wzr-hp-g450h", "qca,ar7242"; model = "Buffalo WZR-HP-G450H"; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - keys { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ath79/dts/ar7242_tl-wr2543-v1.dts b/target/linux/ath79/dts/ar7242_tl-wr2543-v1.dts index 0934fe008902..d7bb406ab099 100644 --- a/target/linux/ath79/dts/ar7242_tl-wr2543-v1.dts +++ b/target/linux/ath79/dts/ar7242_tl-wr2543-v1.dts @@ -18,11 +18,6 @@ bootargs = "console=ttyS0,115200n8"; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts b/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts index 8d4cc7f4a616..bb857c72b613 100644 --- a/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts +++ b/target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts @@ -14,11 +14,6 @@ led-status = &system; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/ar9330_glinet_ar150.dts b/target/linux/ath79/dts/ar9330_glinet_ar150.dts index 721cbe7da504..2b2524fc516f 100644 --- a/target/linux/ath79/dts/ar9330_glinet_ar150.dts +++ b/target/linux/ath79/dts/ar9330_glinet_ar150.dts @@ -15,11 +15,6 @@ led-status = &wlan; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/ar9331_dpt_module.dts b/target/linux/ath79/dts/ar9331_dpt_module.dts index dc4df6b27650..fb01ce43c67d 100644 --- a/target/linux/ath79/dts/ar9331_dpt_module.dts +++ b/target/linux/ath79/dts/ar9331_dpt_module.dts @@ -14,11 +14,6 @@ serial0 = &uart; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/ar9331_dragino_ms14.dts b/target/linux/ath79/dts/ar9331_dragino_ms14.dts index 9fb674eb2fe8..23ecb1353ae5 100644 --- a/target/linux/ath79/dts/ar9331_dragino_ms14.dts +++ b/target/linux/ath79/dts/ar9331_dragino_ms14.dts @@ -14,11 +14,6 @@ serial0 = &uart; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts index 19ec73386542..db4cd76bec10 100644 --- a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts +++ b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts @@ -15,11 +15,6 @@ serial0 = &uart; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/ar9331_etactica-eg200.dts b/target/linux/ath79/dts/ar9331_etactica-eg200.dts index c245fac7c710..325576e7f3e2 100644 --- a/target/linux/ath79/dts/ar9331_etactica-eg200.dts +++ b/target/linux/ath79/dts/ar9331_etactica-eg200.dts @@ -14,11 +14,6 @@ serial0 = &uart; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - keys { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ath79/dts/ar9331_omega.dts b/target/linux/ath79/dts/ar9331_omega.dts index 32551427ea67..cc47f56e8430 100644 --- a/target/linux/ath79/dts/ar9331_omega.dts +++ b/target/linux/ath79/dts/ar9331_omega.dts @@ -14,11 +14,6 @@ serial0 = &uart; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/ar9331_tl-mr3020-v1.dts b/target/linux/ath79/dts/ar9331_tl-mr3020-v1.dts index fc8101564d70..531a637687aa 100644 --- a/target/linux/ath79/dts/ar9331_tl-mr3020-v1.dts +++ b/target/linux/ath79/dts/ar9331_tl-mr3020-v1.dts @@ -15,11 +15,6 @@ led-status = &system; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/ar9331_tl-wr703n_tl-mr10u.dtsi b/target/linux/ath79/dts/ar9331_tl-wr703n_tl-mr10u.dtsi index 8a82d80706ff..f45572a7f7ab 100644 --- a/target/linux/ath79/dts/ar9331_tl-wr703n_tl-mr10u.dtsi +++ b/target/linux/ath79/dts/ar9331_tl-wr703n_tl-mr10u.dtsi @@ -12,11 +12,6 @@ led-status = &led_system; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x2000000>; - }; - gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi b/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi index 84dd72122485..558a763747f8 100644 --- a/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi +++ b/target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi @@ -13,11 +13,6 @@ led-status = &system; }; - memory@0 { - device_type = "memory"; - reg = <0x0 0x8000000>; - }; - leds { compatible = "gpio-leds"; diff --git a/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi b/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi index 351d3134970b..7b4689d96c93 100644 --- a/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi +++ b/target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi @@ -9,11 +9,6 @@ compatible = "glinet,ar300m", "qca,qca9533"; model = "GL.iNet GL-AR300M"; - memory@0 { - device_type = "memory"; - reg = <0x0 0x8000000>; - }; - extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts index 974b1c61f0d5..caae78ecfe0c 100644 --- a/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts +++ b/target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts @@ -10,11 +10,6 @@ compatible = "openmesh,om5p-ac-v2", "qca,qca9557"; model = "OpenMesh OM5P-AC V2"; - memory@0 { - device_type = "memory"; - reg = <0x0 0x8000000>; - }; - extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; diff --git a/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi b/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi index 08bb510ea71f..36520898bfe7 100644 --- a/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi +++ b/target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi @@ -7,11 +7,6 @@ #include "qca9557.dtsi" / { - memory@0 { - device_type = "memory"; - reg = <0x0 0x8000000>; - }; - chosen { bootargs = "console=ttyS0,115200n8"; }; diff --git a/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi b/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi index 1abee23b50d0..0bd17d86e28c 100644 --- a/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi +++ b/target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi @@ -7,11 +7,6 @@ #include "qca9557.dtsi" / { - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - chosen { bootargs = "console=ttyS0,115200n8"; }; diff --git a/target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi b/target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi index 136a6f8a76cf..10bdfdf702f7 100644 --- a/target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi +++ b/target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi @@ -7,11 +7,6 @@ #include "qca956x.dtsi" / { - memory@0 { - device_type = "memory"; - reg = <0x0 0x4000000>; - }; - chosen { bootargs = "console=ttyS0,115200n8"; }; diff --git a/target/linux/ath79/dts/qca9563_ubnt-unifiac-lite.dts b/target/linux/ath79/dts/qca9563_ubnt-unifiac-lite.dts index 0bfda124219b..993f78bb19e4 100644 --- a/target/linux/ath79/dts/qca9563_ubnt-unifiac-lite.dts +++ b/target/linux/ath79/dts/qca9563_ubnt-unifiac-lite.dts @@ -10,11 +10,6 @@ compatible = "ubnt,ubnt-unifiac-lite", "qca,qca9563"; model = "Ubiquiti UniFi-AC-LITE/MESH/LR"; - memory@0 { - device_type = "memory"; - reg = <0x0 0x8000000>; - }; - chosen { bootargs = "console=ttyS0,115200n8"; }; -- 2.30.2