From: Chuanhong Guo Date: Fri, 22 Jun 2018 08:22:34 +0000 (+0800) Subject: ath79: Remove all memory nodes defined in dts X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c463320812ea9aad329289a950e83bb6c43a8d58;p=openwrt%2Fstaging%2Fneocturne.git 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 --- diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts b/target/linux/ath79/dts/ar7161_netgear_wndr3800.dts index 7a7279bdf5..59b868480a 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 c5ceb6e45f..1ae9896aa4 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 f86cb50d47..5bc78d7eef 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 923b3df770..adcaf748bb 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 4c46176f95..a08c9da846 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 07c1f637cb..15f1e321c8 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 4d7a545665..10c26cd7dc 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 0934fe0089..d7bb406ab0 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 8d4cc7f4a6..bb857c72b6 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 721cbe7da5..2b2524fc51 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 dc4df6b276..fb01ce43c6 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 9fb674eb2f..23ecb1353a 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 19ec733865..db4cd76bec 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 c245fac7c7..325576e7f3 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 32551427ea..cc47f56e84 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 fc8101564d..531a637687 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 8a82d80706..f45572a7f7 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 84dd721224..558a763747 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 351d313497..7b4689d96c 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 974b1c61f0..caae78ecfe 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 08bb510ea7..36520898bf 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 1abee23b50..0bd17d86e2 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 136a6f8a76..10bdfdf702 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 0bfda12421..993f78bb19 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"; };