I am using an AM335x and I want to use GPIO_2_21/22 as gpios. They are multiplexed with the RMII interface. I think should be a simple change in the .dts file, but I don't have enough knowledge of .dts sintax to do it.
Someone could help me ?
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am using an AM335x and I want to use GPIO_2_21/22 as gpios. They are multiplexed with the RMII interface. I think should be a simple change in the .dts file, but I don't have enough knowledge of .dts sintax to do it.
Someone could help me ?
Thanks
Hi Nicola,
I will forward this to the SW team.
Hi,
if you use am335x-evm.dtb device tree:
1. Generate devicetree.txt for RMII1 (it uses gpio_2), using TI PinMux tool: http://processors.wiki.ti.com/index.php/TI_PinMux_Tool
2. Copy my_rmii_2_pins_default (and ,if need, my_rmii_2_pins_sleep) nodes from devicetree.txt to am33xx_pinmux: pinmux@44e10800 node in am335x-evm.dts (linux/arch/arm/boot/dts);
3. rebuild am335x-evm.dtb
If you use your own dtb, edit it accordingly.
BR,
Georgi