1 From d949248dccef18f7257d8de0adfd67244955e7b7 Mon Sep 17 00:00:00 2001
2 From: Pankaj Bansal <pankaj.bansal@nxp.com>
3 Date: Mon, 22 Apr 2019 16:22:49 +0530
4 Subject: [PATCH] arm64: dts: fsl: layerscape: fix warnings when compiling dts
7 when compiling dts file using DTC_FLAG='-@', the device tree compiler
8 reports these warnings:
10 Warning (simple_bus_reg): /soc/mdio@0x8c0b000: simple-bus unit address
11 format error, expected "8c0b000"
12 Warning (unit_address_format): /pfe@04000000: unit name should not have
15 Fixed the node names to silence these warnings.
17 Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
19 arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 3 ++-
20 arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 14 +++++++-------
21 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 22 +++++++++++-----------
22 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 18 +++++++++---------
23 4 files changed, 29 insertions(+), 28 deletions(-)
25 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
26 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
28 * Device Tree Include file for Freescale Layerscape-1012A family SoC.
30 * Copyright 2016 Freescale Semiconductor, Inc.
31 + * Copyright 2019 NXP
41 compatible = "fsl,pfe";
42 reg = <0x0 0x04000000 0x0 0xc00000>, /* AXI 16M */
43 <0x0 0x83400000 0x0 0xc00000>; /* PFE DDR 12M */
44 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
45 +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
48 * Device Tree Include file for NXP Layerscape-1088A family SoC.
50 - * Copyright 2017 NXP
51 + * Copyright 2017-2019 NXP
53 * Harninder Rai <harninder.rai@nxp.com>
58 /* TODO: WRIOP (CCSR?) */
59 - emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000,
60 + emdio1: mdio@8B96000 { /* WRIOP0: 0x8B8_0000,
63 compatible = "fsl,fman-memac-mdio";
68 - emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000,
69 + emdio2: mdio@8B97000 { /* WRIOP0: 0x8B8_0000,
72 compatible = "fsl,fman-memac-mdio";
77 - pcs_mdio1: mdio@0x8c07000 {
78 + pcs_mdio1: mdio@8c07000 {
79 compatible = "fsl,fman-memac-mdio";
80 reg = <0x0 0x8c07000 0x0 0x1000>;
86 - pcs_mdio2: mdio@0x8c0b000 {
87 + pcs_mdio2: mdio@8c0b000 {
88 compatible = "fsl,fman-memac-mdio";
89 reg = <0x0 0x8c0b000 0x0 0x1000>;
95 - pcs_mdio3: mdio@0x8c0f000 {
96 + pcs_mdio3: mdio@8c0f000 {
97 compatible = "fsl,fman-memac-mdio";
98 reg = <0x0 0x8c0f000 0x0 0x1000>;
104 - pcs_mdio4: mdio@0x8c13000 {
105 + pcs_mdio4: mdio@8c13000 {
106 compatible = "fsl,fman-memac-mdio";
107 reg = <0x0 0x8c13000 0x0 0x1000>;
108 device_type = "mdio";
109 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
110 +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
112 * Device Tree Include file for Freescale Layerscape-2080A family SoC.
114 * Copyright 2016 Freescale Semiconductor, Inc.
115 - * Copyright 2017 NXP
116 + * Copyright 2017-2019 NXP
118 * Abhimanyu Saini <abhimanyu.saini@nxp.com>
123 /* TODO: WRIOP (CCSR?) */
124 - emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000,
125 + emdio1: mdio@8B96000 { /* WRIOP0: 0x8B8_0000,
128 compatible = "fsl,fman-memac-mdio";
133 - emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000,
134 + emdio2: mdio@8B97000 { /* WRIOP0: 0x8B8_0000,
137 compatible = "fsl,fman-memac-mdio";
142 - pcs_mdio1: mdio@0x8c07000 {
143 + pcs_mdio1: mdio@8c07000 {
144 compatible = "fsl,fman-memac-mdio";
145 reg = <0x0 0x8c07000 0x0 0x1000>;
146 device_type = "mdio";
151 - pcs_mdio2: mdio@0x8c0b000 {
152 + pcs_mdio2: mdio@8c0b000 {
153 compatible = "fsl,fman-memac-mdio";
154 reg = <0x0 0x8c0b000 0x0 0x1000>;
155 device_type = "mdio";
160 - pcs_mdio3: mdio@0x8c0f000 {
161 + pcs_mdio3: mdio@8c0f000 {
162 compatible = "fsl,fman-memac-mdio";
163 reg = <0x0 0x8c0f000 0x0 0x1000>;
164 device_type = "mdio";
169 - pcs_mdio4: mdio@0x8c13000 {
170 + pcs_mdio4: mdio@8c13000 {
171 compatible = "fsl,fman-memac-mdio";
172 reg = <0x0 0x8c13000 0x0 0x1000>;
173 device_type = "mdio";
178 - pcs_mdio5: mdio@0x8c17000 {
179 + pcs_mdio5: mdio@8c17000 {
181 compatible = "fsl,fman-memac-mdio";
182 reg = <0x0 0x8c17000 0x0 0x1000>;
187 - pcs_mdio6: mdio@0x8c1b000 {
188 + pcs_mdio6: mdio@8c1b000 {
190 compatible = "fsl,fman-memac-mdio";
191 reg = <0x0 0x8c1b000 0x0 0x1000>;
196 - pcs_mdio7: mdio@0x8c1f000 {
197 + pcs_mdio7: mdio@8c1f000 {
199 compatible = "fsl,fman-memac-mdio";
200 reg = <0x0 0x8c1f000 0x0 0x1000>;
205 - pcs_mdio8: mdio@0x8c23000 {
206 + pcs_mdio8: mdio@8c23000 {
208 compatible = "fsl,fman-memac-mdio";
209 reg = <0x0 0x8c23000 0x0 0x1000>;
210 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
211 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
214 // Device Tree Include file for Layerscape-LX2160A family SoC.
216 -// Copyright 2018 NXP
217 +// Copyright 2018-2019 NXP
219 #include <dt-bindings/gpio/gpio.h>
220 #include <dt-bindings/interrupt-controller/arm-gic.h>
225 - pcs_mdio1: mdio@0x8c07000 {
226 + pcs_mdio1: mdio@8c07000 {
227 compatible = "fsl,fman-memac-mdio";
228 reg = <0x0 0x8c07000 0x0 0x1000>;
229 device_type = "mdio";
234 - pcs_mdio2: mdio@0x8c0b000 {
235 + pcs_mdio2: mdio@8c0b000 {
236 compatible = "fsl,fman-memac-mdio";
237 reg = <0x0 0x8c0b000 0x0 0x1000>;
238 device_type = "mdio";
243 - pcs_mdio3: mdio@0x8c0f000 {
244 + pcs_mdio3: mdio@8c0f000 {
245 compatible = "fsl,fman-memac-mdio";
246 reg = <0x0 0x8c0f000 0x0 0x1000>;
247 device_type = "mdio";
252 - pcs_mdio4: mdio@0x8c13000 {
253 + pcs_mdio4: mdio@8c13000 {
254 compatible = "fsl,fman-memac-mdio";
255 reg = <0x0 0x8c13000 0x0 0x1000>;
256 device_type = "mdio";
261 - pcs_mdio5: mdio@0x8c17000 {
262 + pcs_mdio5: mdio@8c17000 {
263 compatible = "fsl,fman-memac-mdio";
264 reg = <0x0 0x8c17000 0x0 0x1000>;
265 device_type = "mdio";
270 - pcs_mdio6: mdio@0x8c1b000 {
271 + pcs_mdio6: mdio@8c1b000 {
272 compatible = "fsl,fman-memac-mdio";
273 reg = <0x0 0x8c1b000 0x0 0x1000>;
274 device_type = "mdio";
279 - pcs_mdio7: mdio@0x8c1f000 {
280 + pcs_mdio7: mdio@8c1f000 {
281 compatible = "fsl,fman-memac-mdio";
282 reg = <0x0 0x8c1f000 0x0 0x1000>;
283 device_type = "mdio";
288 - pcs_mdio8: mdio@0x8c23000 {
289 + pcs_mdio8: mdio@8c23000 {
290 compatible = "fsl,fman-memac-mdio";
291 reg = <0x0 0x8c23000 0x0 0x1000>;
292 device_type = "mdio";