Need for both of the fan tachometer and the SD card detection

Hi.
I need both of the fan tachometer and the SD card detection which are assigned to the same GPIO08 pin. Can I change the GPIO number from GPIO008 to other numbers for the one of the two functions? If yes, please tell me where should I modify. (Which portion in the device tree?)
Thanks.

hello tfuru2,

you might also refer to Topic 1063982 for Nano fan controls.
thanks

JerryChang,

Thank you for the information. I have read the thread you shown.
Whatever the fan control method is, I understand we need the tachometer signal.
Which is better, change the tachometer GPIO to another GPIO or change the SD card detection GPIO to another GPIO?

Hi @WayneWWW I have moved the FAN_TACH to Pin 228(GPIO13) on my own carrier board of NX,But i can’t get the speed value frome /sys/devices/generic_pwm_tachometer/hwmon/hwmon1/rpm it alwys 0, however the fan is running.

Correct my comment. For NX, since we need to use dedicated SFIO pin for FAN_TACH, you should use other gpio pin for SD card detection.