Hi,
I am using a imx6 sabrelite board from boundary device. its device tree has the blow:
&ecspi1 {
fsl,spi-num-chipselects = <1>;
cs-gpios = <&gpio3 19 0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ecspi1_1>;
status = "okay";
flash: m25p80@0 {
compatible = "sst,sst25vf016b";
spi-max-frequency = <20000000>;
reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
mtd0@00000000 {
label = "U-Boot";
reg = <0x0 0xC0000>;
};
mtd@000C0000 {
label = "env";
reg = <0xC0000 0x2000>;
};
mtd@000C2000 {
label = "splash";
reg = <0xC2000 0x13e000>;
};
};
can someone give me a tutorial on what does " flash: m25p80@0" really mean?
Cheers,
Damien
Hi Damien
seems this is node name and chip select number (SPINOR_CS0),
some description can be found in p.5 AN5125 Introduction to Device Trees
http://cache.nxp.com/files/32bit/doc/app_note/AN5125.pdf
and linux documentation in linux/Documentation/devicetree
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------