Hi,
The following configuration is correct:
&fec2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet2
&pinctrl_enet2_mdio
&pinctrl_enet1_int_and_reset>;
phy-mode = "rmii";
phy-handle = <ðphy0>;
phy-reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
phy-reset-duration = <5>;
status = "okay";
......
But firstly you should confirm if the SNVS_TAMPER9 can be configured GPIO, we can know that by read fuse value.

you can operate fuse like below:
------------------------------------------------
To view or modify eFuse in the uboot phase, the syntax is as follows.
=> fuse read <bank> <word> [<cnt>]
//Read the value of eFuse from the shadow register
=> fuse sense <bank> <word> [<cnt>]
Reads the eFuse value directly from the fusebox.
=> fuse prog [-y] <bank> <word> <hexval>
//Write eFuse value to fusebox, this operation is irreversible, wrong operation may damage the chip
=> fuse override <bank> <word> <hexval> [<hexval>…]
//Only overwrite the value of the shadow register, this operation does not affect the physical fusebox. If the system is reset, this value will be cleared.
//This command is especially useful in testing.
So what are bank and word in the command line and how to calculate it?
In i.mx6ul and 6ull, a word is 32 bits, and 8 words form a bank. The bit number of word is from 0 to 31, and the word number of bank is from 0 to 7. So taking MAC as an example, you can calculate:
The base address of eFuse is: 21B_C000h base + 400h offset = 21B_C400h
The MAC address is: 21B_C000h base + 620h offset = 21B_C620h
(620h-400h) / 0x10 = 22h = 34d, here is the total number of words calculated, the address of the word is in steps of 0x10 (0x400, 0x410, 0x420...), so it must be divided by 0x10.
22h / 08h = 04h = 4d, because 8 words are a bank, so divide by 8 here, and finally get bank=4.
22h% 08h = 02h = 2d, after calculating the remainder, the second word of the fourth bank is obtained.
Read shadow register example
=> fuse read 4 2
Reading bank 4:
Word 0x00000002: 00000000
//00000000 is a hexadecimal number
---------------------------------------------------------------
If TAMPER_PIN_DISABLE[1:0]=01 or 11, it means SNVS_TAMPER9 pin can be used GPIO.
Try it, please!
Have a nice day!
B.R,
weidong