Dear Meta-TI Team Member,

I want to use 4 GPIO pins of my beaglebone black,

Here's my dts code :

==========

 gpio0_pins: gpio0_pins {
                pinctrl-single,pins = <
AM33XX_IOPAD(0x840, PIN_INPUT_PULLUP | MUX_MODE7) /* gpmc_a0.gpio1_16 */ AM33XX_IOPAD(0x844, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a1.gpio1_17 */ AM33XX_IOPAD(0x878, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_be1n.gpio1_28 */ AM33XX_IOPAD(0x9A4, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* mcasp0_fsr.gpio3_19 */
                >;
};

// Added GPIO0 node, experiment by Riko Ho 7 July 2017
&gpio0 {
         status = "okay";
         pinctrl-names = "default";
         pinctrl-0 = <&gpio0_pins>;

};


=======

I can see it already, are they correct ?

root@beaglebone:/sys/kernel/debug/pinctrl/44e10800.pinmux# cat pinmux-pins | grep "gpio0" pin 16 (PIN16): 44e07000.gpio (GPIO UNCLAIMED) function gpio0_pins group gpio0_pins pin 17 (PIN17): 44e07000.gpio (GPIO UNCLAIMED) function gpio0_pins group gpio0_pins pin 30 (PIN30): 44e07000.gpio (GPIO UNCLAIMED) function gpio0_pins group gpio0_pins pin 105 (PIN105): 44e07000.gpio (GPIO UNCLAIMED) function gpio0_pins group gpio0_pins

==========

I got :

//omap_gpio 44e07000.gpio: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins, deferring probe,

When the board boots, is it ok ? Or I miss something, please advice, thanks.

--
*

/*******/
Sent by Ubuntu LTS 16.04,
Kind regards,
Riko Ho
/*******/

*
-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to