I need to modify the default configuration of pinmuxing on the BBB. To do so i'm trying to modify the am335x-boneblack.dts before recompiling the kernel. But that file is very awkward. I've only found information about overlay, but i need this to be default not overlay.
This is for example the pinmuxing I use to define TOR I/O with an overlay DT:
pinctrl_test: pinctrl_test_0_pins {
pinctrl-single,pins = <
0x078 0x07 /* P9_12 OUTPUT | MODE7 | PULLDOWN */
0x048 0x07 /* P9_14 OUTPUT | MODE7 | PULLDOWN */
0x040 0x07 /* P9_15 OUTPUT | MODE7 | PULLDOWN */
0x04c 0x07 /* P9_16 OUTPUT | MODE7 | PULLDOWN */
0x15c 0x07 /* P9_17 OUTPUT | MODE7 | PULLDOWN */
0x158 0x07 /* P9_18 OUTPUT | MODE7 | PULLDOWN */
0x044 0x07 /* P9_23 OUTPUT | MODE7 | PULLDOWN */
0x1ac 0x07 /* P9_25 OUTPUT | MODE7 | PULLDOWN */
0x030 0x27 /* P8_12 INPUT | MODE7 | PULLDOWN */
0x024 0x27 /* P8_13 INPUT | MODE7 | PULLDOWN */
0x028 0x27 /* P8_14 INPUT | MODE7 | PULLDOWN */
0x03c 0x27 /* P8_15 INPUT | MODE7 | PULLDOWN */
0x038 0x27 /* P8_16 INPUT | MODE7 | PULLDOWN */
0x02c 0x27 /* P8_17 INPUT | MODE7 | PULLDOWN */
0x08c 0x27 /* P8_18 INPUT | MODE7 | PULLDOWN */
0x020 0x27 /* P8_19 INPUT | MODE7 | PULLDOWN */
>;
};
What's the correct syntax to edit the main DT and register pin for TOR I/O, ANA... The aim after that, is to develop driver to be able to read/write at high speed (using register) on the different input/output.
Thanks.