> +     weim: weim at 021b8000 {
> +             compatible = "fsl,imx6q-weim";
> +             reg = <0x021b8000 0x4000>;
> +             interrupts = <0 14 0x04>;
> +             clocks = <&clks 196>;
> +             #address-cells = <2>;
> +             #size-cells = <1>;
> +             ranges = <0 0 0x08000000 0x08000000>;
> +
> +             nor at 0,0 {
> +                     compatible = "cfi-flash";

Why not use 

compatible = "micron,M29W256G", "cfi-flash";

since that's what's on the SABRE-AI board?

> diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
> index b05ecab..0f997af 100644
> --- a/drivers/bus/Kconfig
> +++ b/drivers/bus/Kconfig
> @@ -4,6 +4,15 @@
>  
>  menu "Bus devices"
>  
> +config IMX_WEIM
> +     tristate "Freescale EIM DRIVER"
> +     depends on ARCH_MXC && MTD_PHYSMAP_OF

Shawn Guo:
I do not see how this driver depends on MTD_PHYSMAP_OF.

physmap_of is the module that provides the mapping driver for the cfi-flash 
that associates memory with the "reg" properties of the nor node.   However, 
since EIM can also attach Bluetooth module or GPS, the EIM driver itself 
certainly does not depend on the map module.

-- 
Alison Chaiken
[email protected]
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to