I am trying to define a few GPIO in the device tree. Somehow it seems not 
to work. 
I added the following to the &am33xx_pinmux node:

    status_pins: status_pins {
        pinctrl-single,pins = <
            0x044 (PIN_OUTPUT_PULLUP  | MUX_MODE7) /* Run LED/gpio1_17/sys 
49 */
            0x180 (PIN_OUTPUT_PULLUP  | MUX_MODE7) /* Error 
LED/gpio0_14/sys 14  */
            0x184 (PIN_OUTPUT_PULLUP  | MUX_MODE7) /* LAN LED/gpio0_15/sys 
15  */
        >;
    };



Created a custom node as follows: 

status {

  compatible = "bone-pinmux-helper";

    pinctrl-names = "default";
    pinctrl-0 = <&status_pins>;
    status = "okay";
};

After exporting gpio49 and checking the direction it is defined as input, 
while I expect output. 

Also tried to add &status_pins to the pinctrl of uart2 but it seems to have 
no effect. 

What am I overlooking here ?

Thanks for any help


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to