Skip to content

Commit 86f085c

Browse files
committed
ARM: dts: sun6i: Remove skeleton and memory to avoid warnings
Using skeleton.dtsi will create a memory node that will generate a warning in DTC. However, that node will be created by the bootloader, so we can just remove it entirely in order to remove that warning. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
1 parent 1eb3927 commit 86f085c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

arch/arm/boot/dts/sun6i-a31.dtsi

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
* OTHER DEALINGS IN THE SOFTWARE.
4343
*/
4444

45-
#include "skeleton.dtsi"
46-
4745
#include <dt-bindings/interrupt-controller/arm-gic.h>
4846
#include <dt-bindings/thermal/thermal.h>
4947

@@ -52,6 +50,8 @@
5250

5351
/ {
5452
interrupt-parent = <&gic>;
53+
#address-cells = <1>;
54+
#size-cells = <1>;
5555

5656
aliases {
5757
ethernet0 = &gmac;
@@ -199,10 +199,6 @@
199199
};
200200
};
201201

202-
memory {
203-
reg = <0x40000000 0x80000000>;
204-
};
205-
206202
pmu {
207203
compatible = "arm,cortex-a7-pmu", "arm,cortex-a15-pmu";
208204
interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,

0 commit comments

Comments
 (0)