User led pin number?

According to BBB user manual p61 and BBB schematic:
led user0 is connected on PIN GPIO1_21, so his pin number should be 1*32+21=53.

But in arch/arm/mach-omap2/board-omap3beagle.c his number is 150, and led user1 pin number is 149;

static struct gpio_led gpio_leds[] = {
{
.name = “beagleboard::usr0″,
.default_trigger = “heartbeat”,
.gpio = 150,
},
{
.name = “beagleboard::usr1″,
.default_trigger = “mmc0″,
.gpio = 149,
},
[…]
};

Do you have any explanation?

What’is the exact user led pin number?

Thanks

BeagleBone Black != "omap3 BeagleBoard"

gpio1_21 is right here:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/am335x-bone-common.dtsi#n169

Regards,

Hum, so where is the C file for BBB init?

Could you confirm me that user led0 pin number is 1*32+21 so 53?

thanks for your answer

Best!

Hum, so where is the C file for BBB init?

Its dead Jim… Everything going forward is device trees… That file I previously linked it is the c board file replacement.