device tree

Discussion in 'UDOO NEO' started by modjo, Feb 16, 2016.

  1. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi i'm looking the device tree of neo because i would like to use ECSPI_2 or ECSPI_3 (A9 side). I saw on imx6sx-udoo-neo-externalpins.dtsi this :

    &ecspi2 {
    fsl,spi-num-chipselects = <1>;
    cs-gpios = <&gpio6 14 0>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_ecspi2>;
    status = "disabled";
    };


    I would like to enable it. How i can proceed ? Can i just modify uEnv.txt to enable the spi or do i need to recompile it with status enabled ?
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Have you checked this? It is about the device tree editor in UDOO NEO
     
    modjo likes this.
  3. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Thanks, i will take a look. Otherwise, on the device tree you make for neo, have you enabled ecspi2 or 3 ? If no, can you explain how to enable this on .dts(i) please ? Just for information, if i understand with uEnv.txt we can enable or disable device at boot time ?
     

Share This Page