Improve the DTS files by removing all the leading "0x" and "0s" to fix
the following types of dtc warnings:

arch/arm/boot/dts/axm55xx.dtsi:87.24-92.4: Warning (unit_address_format): 
/ccn@0x2000000000: unit name should not have leading "0x"
arch/arm/boot/dts/axm55xx.dtsi:99.20-105.4: Warning (unit_address_format): 
/sm0@00220000: unit name should not have leading 0s

Signed-off-by: Liwei Song <liwei.s...@windriver.com>
---
 arch/arm/boot/dts/axm5516-amarillo.dts |  2 +-
 arch/arm/boot/dts/axm55xx.dtsi         | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/axm5516-amarillo.dts 
b/arch/arm/boot/dts/axm5516-amarillo.dts
index 8572efaace2c..5bbab36c0532 100644
--- a/arch/arm/boot/dts/axm5516-amarillo.dts
+++ b/arch/arm/boot/dts/axm5516-amarillo.dts
@@ -33,7 +33,7 @@ &mdio {
        axxia,mdio-clk-period = <0xf0>;
        max-speed = <10>;
 
-       phy0: ethernet-phy@0x1e {
+       phy0: ethernet-phy@1e {
                reg = <0x1e>;
        };
 };
diff --git a/arch/arm/boot/dts/axm55xx.dtsi b/arch/arm/boot/dts/axm55xx.dtsi
index b56b6cc9d45a..45761ff508ab 100644
--- a/arch/arm/boot/dts/axm55xx.dtsi
+++ b/arch/arm/boot/dts/axm55xx.dtsi
@@ -65,7 +65,7 @@ timer {
                             <1 10 0xf08>;
        };
 
-       edac: edac0@0x1000 {
+       edac: edac0@1000 {
                compatible = "axxia,edac";
                reg = <0 0x00220000 0 0x1000>,
                        <0 0x000f0000 0 0x1000>,
@@ -84,7 +84,7 @@ edac: edac0@0x1000 {
                status = "disabled";
        };
 
-       ccn: ccn@0x2000000000 {
+       ccn: ccn@2000000000 {
                compatible = "arm,ccn-504";
                reg = <0x20 0x00000000 0 0x1000000>;
                interrupts = <0 181 4>;
@@ -96,7 +96,7 @@ perf_platform: perf_platform {
                status = "disabled";
        };
 
-       sm0: sm0@00220000 {
+       sm0: sm0@220000 {
                compatible = "axxia,smmon";
                reg = <0 0x00220000 0 0x1000>,
                        <0x20 0x10030000 0 0001000>;
@@ -104,7 +104,7 @@ sm0: sm0@00220000 {
                status = "disabled";
        };
 
-       sm1: sm1@00220000 {
+       sm1: sm1@220000 {
                compatible = "axxia,smmon";
                reg = <0 0x000f0000 0 0x1000>,
                        <0x20 0x10030000 0 0001000>;
@@ -112,7 +112,7 @@ sm1: sm1@00220000 {
                status = "disabled";
        };
 
-       femac: femac@0x2010120000 {
+       femac: femac@2010120000 {
                compatible = "axxia,acp-femac";
                device_type = "network";
                reg = <0x20 0x10120000 0 0x1000>,
-- 
2.35.5

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13286): 
https://lists.yoctoproject.org/g/linux-yocto/message/13286
Mute This Topic: https://lists.yoctoproject.org/mt/102600907/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to