From 413512f94805a66c6104293aad5eb5715bfda5dc Mon Sep 17 00:00:00 2001 From: Jianxiong Pan Date: Tue, 19 Feb 2019 14:57:21 +0800 Subject: [PATCH] dts: fix the warnings when compiling the g12a device tree. [1/1] PD#SWPL-4967 Problem: warning when compiling the g12a device tree. Solution: fix the warning. Verify: locall. Change-Id: I1f93c788d1914441e48305c04330701bfd718b87 Signed-off-by: Jianxiong Pan --- arch/arm/boot/dts/amlogic/mesong12a.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/mesong12a.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/amlogic/mesong12a.dtsi b/arch/arm/boot/dts/amlogic/mesong12a.dtsi index d1c9c2f..c311ec4 100644 --- a/arch/arm/boot/dts/amlogic/mesong12a.dtsi +++ b/arch/arm/boot/dts/amlogic/mesong12a.dtsi @@ -1025,9 +1025,9 @@ interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &gic GIC_SPI 223 IRQ_TYPE_EDGE_RISING>; device_type = "pci"; - ranges = <0x81000000 0 0 0 0xfc600000 0x0 0x100000 + ranges = <0x81000000 0 0 0xfc600000 0x0 0x100000 /* downstream I/O */ - 0x82000000 0 0xfc700000 0x0 0xfc700000 0 0x1900000>; + 0x82000000 0xfc700000 0x0 0xfc700000 0 0x1900000>; /* non-prefetchable memory */ num-lanes = <1>; pcie-num = <1>; diff --git a/arch/arm64/boot/dts/amlogic/mesong12a.dtsi b/arch/arm64/boot/dts/amlogic/mesong12a.dtsi index cab5027..243c9f0 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12a.dtsi @@ -157,10 +157,10 @@ }; arm_pmu { - compatible = "arm,cortex-a15-pmu"; + compatible = "arm,armv8-pmuv3"; /* clusterb-enabled; */ interrupts = ; - reg = <0xff634680 0x4>; + reg = <0x0 0xff634680 0x0 0x4>; cpumasks = <0xf>; /* default 10ms */ relax-timer-ns = <10000000>; -- 2.7.4