ath79: Remove all memory nodes defined in dts
authorChuanhong Guo <gch981213@gmail.com>
Fri, 22 Jun 2018 08:22:34 +0000 (16:22 +0800)
committerMathias Kresin <dev@kresin.me>
Thu, 28 Jun 2018 16:39:57 +0000 (18:39 +0200)
This target can automatically detect the correct memory size and we've
been using it for long in ar71xx.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
24 files changed:
target/linux/ath79/dts/ar7161_netgear_wndr3800.dts
target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi
target/linux/ath79/dts/ar7240_tl-wr740n-v2.dts
target/linux/ath79/dts/ar7241_ubnt_unifi.dts
target/linux/ath79/dts/ar7241_ubnt_xm.dtsi
target/linux/ath79/dts/ar7242_avm_fritz300e.dts
target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts
target/linux/ath79/dts/ar7242_tl-wr2543-v1.dts
target/linux/ath79/dts/ar9132_tl-wr1043nd-v1.dts
target/linux/ath79/dts/ar9330_glinet_ar150.dts
target/linux/ath79/dts/ar9331_dpt_module.dts
target/linux/ath79/dts/ar9331_dragino_ms14.dts
target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
target/linux/ath79/dts/ar9331_etactica-eg200.dts
target/linux/ath79/dts/ar9331_omega.dts
target/linux/ath79/dts/ar9331_tl-mr3020-v1.dts
target/linux/ath79/dts/ar9331_tl-wr703n_tl-mr10u.dtsi
target/linux/ath79/dts/ar9344_tl-wdr4300.dtsi
target/linux/ath79/dts/qca9533_glinet_ar300m.dtsi
target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts
target/linux/ath79/dts/qca9558_tl-archer-c7.dtsi
target/linux/ath79/dts/qca9558_tl-wr1043nd.dtsi
target/linux/ath79/dts/qca9563_tl-wr1043n.dtsi
target/linux/ath79/dts/qca9563_ubnt-unifiac-lite.dts

index 7a7279bdf50d4f456fcae983671894fb58e657eb..59b868480aae19c529df4d5f819fed36e0afde59 100644 (file)
                bootargs = "console=ttyS0,115200";
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x8000000>;
-       };
-
        extosc: ref {
                compatible = "fixed-clock";
                #clock-cells = <0>;
index c5ceb6e45f92ed4a63553fbe8be1f49b3857fa6b..1ae9896aa42c59bec422b9af430d97105c66fed8 100644 (file)
                led-status = &led_power;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x2000000>;
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
index f86cb50d47c4ef8629e63fa9967e6207afd4edd2..5bc78d7eeff94d2a054fe9ee7ad960fecd967a66 100644 (file)
                led-status = &led_system;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x2000000>;
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
index 923b3df77053a29ad07da954fd4340b80cb30f93..adcaf748bb7c6428d89f5b2bb0761d240f6daaa2 100644 (file)
                led-status = &dome_green;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        extosc: ref {
                compatible = "fixed-clock";
                #clock-cells = <0>;
index 4c46176f959893ffe72480a1e016660ad52edf8c..a08c9da846bb9d158af2d7ad80bd66360c2656ee 100644 (file)
@@ -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>;
index 07c1f637cb050935331df4a60439d617123167e0..15f1e321c8bdd47ecc413d29ea5a5f312c8ff7cb 100644 (file)
                led-status = &power;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        gpio-keys {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
index 4d7a545665fde2f033ac91979b7b9ec0ea42cbe0..10c26cd7dcaf4209499f3c8631a237f0d29d4f70 100644 (file)
        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>;
index 0934fe00890232f6ad21358a5c7e63c14dbb7164..d7bb406ab099dd8ed63e88ed33f139a4b8fc3bbe 100644 (file)
                bootargs = "console=ttyS0,115200n8";
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        extosc: ref {
                compatible = "fixed-clock";
                #clock-cells = <0>;
index 8d4cc7f4a61682839b9395ac7a99656ebe392a88..bb857c72b613c4ee19d07029b8cf75383c25e16f 100644 (file)
                led-status = &system;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x2000000>;
-       };
-
        extosc: ref {
                compatible = "fixed-clock";
                #clock-cells = <0>;
index 721cbe7da50458f0d91807a308f9190d24553fc0..2b2524fc516f3e183dfd6e77868c522dc8b29822 100644 (file)
                led-status = &wlan;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        leds {
                compatible = "gpio-leds";
 
index dc4df6b276503b30f38c0a5c188254d10072e593..fb01ce43c67d8c00b87344a711ac2fda4671233d 100644 (file)
                serial0 = &uart;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        leds {
                compatible = "gpio-leds";
 
index 9fb674eb2fe85c31e23ca1a95d1074b5f79640cd..23ecb1353ae5c77a1b902f9446358c2a0b7acc7d 100644 (file)
                serial0 = &uart;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        leds {
                compatible = "gpio-leds";
 
index 19ec733865423bc0d8948e3210e9011bea66855f..db4cd76bec10a1a4196f118622cebe85189b4fcf 100644 (file)
                serial0 = &uart;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        leds {
                compatible = "gpio-leds";
 
index c245fac7c710016fa0195d5e377698c28a2997b1..325576e7f3e2951f1c3404797d6f6152ed7318e3 100644 (file)
                 serial0 = &uart;
         };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        keys {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
index 32551427ea67362e4198bad6ca7a884ffc085b16..cc47f56e84301b28cdcf6032925a1ec524b78026 100644 (file)
                serial0 = &uart;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        leds {
                compatible = "gpio-leds";
 
index fc8101564d7071f6a19b573d7f576d15956f232e..531a637687aa8a3c73e90a7dd98c3eab2bc3ab76 100644 (file)
                led-status = &system;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x2000000>;
-       };
-
        leds {
                compatible = "gpio-leds";
 
index 8a82d80706ffa33248b1b9f8d5c5e5c054d76dab..f45572a7f7ab0a30a90b3c00ce300919dbc59d71 100644 (file)
                led-status = &led_system;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x2000000>;
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
index 84dd721224859d35b9dab80b9236930c4260417e..558a763747f8113664ca78fca06ce315aa047547 100644 (file)
                led-status = &system;
        };
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x8000000>;
-       };
-
        leds {
                compatible = "gpio-leds";
 
index 351d3134970b0b9efe98a4fc92503f6c58cd397e..7b4689d96c93a0586f1f04212f70984cfade16c6 100644 (file)
@@ -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>;
index 974b1c61f0d501cf6dc9c5a04db21b899f8e1255..caae78ecfe0cbd597c9518e8dbcebc1e8647a145 100644 (file)
        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>;
index 08bb510ea71f206c5a49ad98c247fbded22b0de0..36520898bfe7ed95dc728e2b8eeabf3d2e57f7c5 100644 (file)
@@ -7,11 +7,6 @@
 #include "qca9557.dtsi"
 
 / {
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x8000000>;
-       };
-
        chosen {
                bootargs = "console=ttyS0,115200n8";
        };
index 1abee23b50d027f9759c19ee2d127b4cb7017aa0..0bd17d86e28c13ea6b5dc7ffb57c412f69d7fae2 100644 (file)
@@ -7,11 +7,6 @@
 #include "qca9557.dtsi"
 
 / {
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        chosen {
                bootargs = "console=ttyS0,115200n8";
        };
index 136a6f8a76cffa697e0c0703238af11753860020..10bdfdf702f7a14d713aed540a5fb4eb8f4b6ed1 100644 (file)
@@ -7,11 +7,6 @@
 #include "qca956x.dtsi"
 
 / {
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
-       };
-
        chosen {
                bootargs = "console=ttyS0,115200n8";
        };
index 0bfda124219be54ec098f804a6016f43551fe97c..993f78bb19e4bd2f7f2880a67cdc78540186919b 100644 (file)
        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";
        };