in P1020RDB DTS there are "linux.phandle" and phandle
what is that mean ? i just know phande=&label sentence
but what is a number ?
thansk you
mdio@24000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "fsl,etsec2-mdio";
reg = <0x24000 0x1000 0xb0030 0x4>;
ethernet-phy@0 {
interrupts = <0x3 0x1 0x0 0x0>;
reg = <0x0>;
linux,phandle = <0x5>;
phandle = <0x5>;
};
ethernet-phy@1 {
interrupts = <0x2 0x1 0x0 0x0>;
reg = <0x1>;
linux,phandle = <0x8>;
phandle = <0x8>;
};
};
mdio@25000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "fsl,etsec2-tbi";
reg = <0x25000 0x1000 0xb1030 0x4>;
tbi-phy@11 {
reg = <0x11>;
device_type = "tbi-phy";
linux,phandle = <0x6>;
phandle = <0x6>;
};
};
Please refer to the "booting-without-of.txt" (Linux/Documentation/devicetree/booting-without-of.txt - Linux Cross Reference - Free Electrons):
"574 The "phandle" property is a 32-bit value that uniquely
575 identifies a node. You are free to use whatever values or system of
576 values, internal pointers, or whatever to generate these, the only
577 requirement is that every node for which you provide that property has
578 a unique value for it."