powerpc/qman: Change fsl,qman-channel-id to cell-index
authorScott Wood <scottwood@freescale.com>
Fri, 17 Apr 2015 22:53:06 +0000 (17:53 -0500)
committerScott Wood <scottwood@freescale.com>
Wed, 3 Jun 2015 02:37:24 +0000 (21:37 -0500)
It turns out that existing U-Boots will dereference NULL pointers
if the device tree does not have cell-index in the portal nodes.

No patch has yet been merged adding device tree nodes for this binding
(except a dtsi that has not yet been referenced), nor has any driver
yet been merged making use of the binding, so it's not too late to
change the binding in order to keep compatibility with existing
U-Boots.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Documentation/devicetree/bindings/soc/fsl/qman-portals.txt

index 48c4dae5d6f944a11c8170dcaa9400b25cfd2ec5..47e46ccbc170f27f7a53de4d49b1d583587dd7f0 100644 (file)
@@ -47,7 +47,7 @@ PROPERTIES
 
        For additional details about the PAMU/LIODN binding(s) see pamu.txt
 
-- fsl,qman-channel-id
+- cell-index
        Usage:          Required
        Value type:     <u32>
        Definition:     The hardware index of the channel. This can also be
@@ -136,7 +136,7 @@ The example below shows a (P4080) QMan portals container/bus node with two porta
                        reg = <0x4000 0x4000>, <0x101000 0x1000>;
                        interrupts = <106 2 0 0>;
                        fsl,liodn = <3 4>;
-                       fsl,qman-channel-id = <1>;
+                       cell-index = <1>;
 
                        fman0 {
                                fsl,liodn = <0x22>;