the first number is a pin, pin12 and pin13 here, the 2nd number is some kind of mode, i forget what it doeswhat is the number after the GPIO pin in "switch-gpios = <&gpio 12 1>;" and "status-led-gpios = <&gpio 13 0>;"?
what are the possible function values of brcm,function?
Code:
enum BCM2708PinmuxSetting { kBCM2708PinmuxIn = 0, kBCM2708PinmuxOut = 1, kBCM2708Pinmux_ALT5 = 2, kBCM2708Pinmux_ALT4 = 3, kBCM2708Pinmux_ALT0 = 4, kBCM2708Pinmux_ALT1 = 5, kBCM2708Pinmux_ALT2 = 6, kBCM2708Pinmux_ALT3 = 7};Statistics: Posted by cleverca22 — Thu Aug 28, 2025 5:59 pm