I'm using a BeagleBone Black (kernel 4.14.108-ti-r131), and I was able to successfully configure the MMC0 Dat0 and Dat1 pins to GPIO mode.
In am335x-bone-common.dtsi, I just modified the 2 entries related to pinmux_mmc1_pins and changed them to MUX_MODE_7: AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_OUTPUT_PULLUP, MUX_MODE7) AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_OUTPUT_PULLUP, MUX_MODE7) I then recompiled the .dtb files, installed them, rebooted my BeagleBone, and I was able to toggle those 2 pins as GPIO through sysfs. Now i want to change those 2 pins back to MMC0 mode. I wanted to be able to do that on the fly, but I was told that I wouldn't be able to do that and that I'd have to modify the device tree. Basically the note was that I'd have to go back to the .dtsi file and change those pins back to MUX_MODE0 (which makes the mmc0). Is there a way I can do that and modify the device tree without having to reboot the BeagleBone? Could I just modify the .dtsi file, compile the appropriate .dtb file, and if possible, issue some command that would load the updated device tree without rebooting? Thanks! -- *Your privacy is important to us. That is why we have taken appropriate measures to ensure the data you provide to us is kept secure. To learn more about how we process your personal information, how we comply with applicable data protection laws, and care for the security and privacy of your personal data, please review our Privacy Policy. If you have any questions related to data protection and compliance with applicable laws, please contact us at our Security Operations Center at 1-800-674-4357.* -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/023451c4-04a7-40eb-83eb-c0b367dd95b0%40googlegroups.com.