i.MX8M Plus LPDDR4 EVK Device Tree

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8M Plus LPDDR4 EVK Device Tree

Jump to solution
508 Views
Jimmychea
Contributor III

In imx8mp-evk.dts, what is below node for ? Because i can't find the "rohm,dh2228fv" SPI device in schematic.

 

&ecspi2 {
    #address-cells = <1>;
    #size-cells = <0
    fsl,spi-num-chipselects = <1>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>;
    cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
    status = "okay";

    spidev1: spi@0 {
        reg = <0>;
       compatible = "rohm,dh2228fv";
       spi-max-frequency = <500000>;
    };
};

0 Kudos
1 Solution
486 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the link as below:

https://stackoverflow.com/questions/53634892/linux-spidev-why-it-shouldnt-be-directly-in-devicetree#...

spidev is a detail of how Linux controls a device rather than a description of the hardware in the system, any SPI device could be a spidev

 

View solution in original post

0 Kudos
3 Replies
495 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
491 Views
Jimmychea
Contributor III

Thanks for the information provided. But i want to know does this driver needed ? Because i can't find any dh2228fv hardware component in i.MX8M Plus LPDDR4 EVK schematic.

0 Kudos
487 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the link as below:

https://stackoverflow.com/questions/53634892/linux-spidev-why-it-shouldnt-be-directly-in-devicetree#...

spidev is a detail of how Linux controls a device rather than a description of the hardware in the system, any SPI device could be a spidev

 

0 Kudos