Re: [PATCH v3 01/16] dt: davinci: use proper address after @

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hello.

On 03/25/2016 06:13 PM, Rob Herring wrote:

TI has been using the physical address in DT after the @ in device nodes.
The device tree convention is to use the same address that is used for
the reg property. This updates all davinci DT files to use the proper
convention.

Signed-off-by: David Lechner <david@xxxxxxxxxxxxxx>

[...]

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 226cda7..4294849 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -15,7 +15,7 @@
                 #address-cells = <1>;
                 #size-cells = <1>;
                 ranges;
-               intc: interrupt-controller {
+               intc: interrupt-controller@fffee000 {
                         compatible = "ti,cp-intc";
                         interrupt-controller;
                         #interrupt-cells = <1>;
@@ -23,7 +23,7 @@
                         reg = <0xfffee000 0x2000>;
                 };
         };
-       soc {
+       soc@1c00000 {


    This node doesn't have the "reg" prop.

But probably has a ranges property which is correct.

   Yes, it does. Didn't know that "ranges" can be used that way, thanks...

Rob

MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux