dec behavior question

Kumar Gala galak at kernel.crashing.org
Tue Oct 25 01:01:49 EST 2011


If I have something like:

---------------------------------------
spi.dtsi:

&spi0 {
        #address-cells = <1>;
        #size-cells = <0>;
        compatible = "fsl,mpc8536-espi";
        reg = <0x7000 0x1000>;
        interrupts = <59 0x2 0 0>;
};
---------------------------------------

foo.dts:

spi0: spi at f00bar {
	compatible = "FOOBAR";
};

/include/ "spi.dtsi"

---------------------------------------

What do you expect the resulting dtb to look like w/regards to the compatible node?

- k


More information about the devicetree-discuss mailing list