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 <gch981213@gmail.com>
v19.07.3_mercusys_ac12_duma
Chuanhong Guo 6 years ago committed by Mathias Kresin
parent a570933999
commit c463320812

@ -18,11 +18,6 @@
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
extosc: ref { extosc: ref {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;

@ -14,11 +14,6 @@
led-status = &led_power; led-status = &led_power;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;

@ -14,11 +14,6 @@
led-status = &led_system; led-status = &led_system;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;

@ -14,11 +14,6 @@
led-status = &dome_green; led-status = &dome_green;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
extosc: ref { extosc: ref {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;

@ -9,11 +9,6 @@
compatible = "ubnt,xm", "qca,ar7241"; compatible = "ubnt,xm", "qca,ar7241";
model = "Ubiquiti Networks XM (rev 1.0) board"; model = "Ubiquiti Networks XM (rev 1.0) board";
memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};
/* extosc: ref { /* extosc: ref {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;

@ -14,11 +14,6 @@
led-status = &power; led-status = &power;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
gpio-keys { gpio-keys {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;

@ -10,11 +10,6 @@
compatible = "buffalo,wzr-hp-g450h", "qca,ar7242"; compatible = "buffalo,wzr-hp-g450h", "qca,ar7242";
model = "Buffalo WZR-HP-G450H"; model = "Buffalo WZR-HP-G450H";
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
keys { keys {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;

@ -18,11 +18,6 @@
bootargs = "console=ttyS0,115200n8"; bootargs = "console=ttyS0,115200n8";
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
extosc: ref { extosc: ref {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;

@ -14,11 +14,6 @@
led-status = &system; led-status = &system;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};
extosc: ref { extosc: ref {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;

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

@ -14,11 +14,6 @@
serial0 = &uart; serial0 = &uart;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -14,11 +14,6 @@
serial0 = &uart; serial0 = &uart;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -15,11 +15,6 @@
serial0 = &uart; serial0 = &uart;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -14,11 +14,6 @@
serial0 = &uart; serial0 = &uart;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
keys { keys {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;

@ -14,11 +14,6 @@
serial0 = &uart; serial0 = &uart;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -15,11 +15,6 @@
led-status = &system; led-status = &system;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -12,11 +12,6 @@
led-status = &led_system; led-status = &led_system;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;

@ -13,11 +13,6 @@
led-status = &system; led-status = &system;
}; };
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -9,11 +9,6 @@
compatible = "glinet,ar300m", "qca,qca9533"; compatible = "glinet,ar300m", "qca,qca9533";
model = "GL.iNet GL-AR300M"; model = "GL.iNet GL-AR300M";
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
extosc: ref { extosc: ref {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;

@ -10,11 +10,6 @@
compatible = "openmesh,om5p-ac-v2", "qca,qca9557"; compatible = "openmesh,om5p-ac-v2", "qca,qca9557";
model = "OpenMesh OM5P-AC V2"; model = "OpenMesh OM5P-AC V2";
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
extosc: ref { extosc: ref {
compatible = "fixed-clock"; compatible = "fixed-clock";
#clock-cells = <0>; #clock-cells = <0>;

@ -7,11 +7,6 @@
#include "qca9557.dtsi" #include "qca9557.dtsi"
/ { / {
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
chosen { chosen {
bootargs = "console=ttyS0,115200n8"; bootargs = "console=ttyS0,115200n8";
}; };

@ -7,11 +7,6 @@
#include "qca9557.dtsi" #include "qca9557.dtsi"
/ { / {
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
chosen { chosen {
bootargs = "console=ttyS0,115200n8"; bootargs = "console=ttyS0,115200n8";
}; };

@ -7,11 +7,6 @@
#include "qca956x.dtsi" #include "qca956x.dtsi"
/ { / {
memory@0 {
device_type = "memory";
reg = <0x0 0x4000000>;
};
chosen { chosen {
bootargs = "console=ttyS0,115200n8"; bootargs = "console=ttyS0,115200n8";
}; };

@ -10,11 +10,6 @@
compatible = "ubnt,ubnt-unifiac-lite", "qca,qca9563"; compatible = "ubnt,ubnt-unifiac-lite", "qca,qca9563";
model = "Ubiquiti UniFi-AC-LITE/MESH/LR"; model = "Ubiquiti UniFi-AC-LITE/MESH/LR";
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
chosen { chosen {
bootargs = "console=ttyS0,115200n8"; bootargs = "console=ttyS0,115200n8";
}; };

Loading…
Cancel
Save