Hi Experts,
Is there any automated tool like pinmux utility to generate the .dts file based on the GUI configuration ?
Or Pinmux utility itself is capable of doing so ?
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.
Nope.
We don't have such a tool.
Hi lyf,
The pin mux utility is available to do the mux configuration of your system and to warn or resolve if there are any pin conflicts while choosing different combinations of peripherals. But it will not generate the DTS file.
Regards,
Shankari
-------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.
--------------------------------------------------------------------------------------------------------
Actually ....after posting my comment I noticed the web based pinmux tool DOES output DTS.
Web based pinmux tool looks very cool and will save a lot of time.
In my case I'm having some trouble with i2c1 and i2c2 so I used the tool to generate these for testing:
my_i2c_2_pins_default: my_i2c_2_pins_default {
pinctrl-single,pins = <
0x110 ( PIN_INPUT | MUX_MODE3 ) /* (J15) gmii1_rxer.I2C1_SCL */
0x10c ( PIN_INPUT | MUX_MODE3 ) /* (H17) gmii1_crs.I2C1_SDA */
>;
};
my_i2c_3_pins_default: my_i2c_3_pins_default {
pinctrl-single,pins = <
0x17c ( PIN_INPUT | MUX_MODE3 ) /* (D17) uart1_rtsn.I2C2_SCL */
0x178 ( PIN_INPUT | MUX_MODE3 ) /* (D18) uart1_ctsn.I2C2_SDA */
>;
};
Bruce