Немного про RaspberryPi (у меня модель B 2011.12)

   1 # uname -a
   2 FreeBSD r-pi.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r286991: Fri Aug 21 20:10:29 MSK 2015     root@des.local:/usr/obj/arm.armv6/usr/src/sys/RPI-B  arm

   1 root@r-pi:~ # devinfo
   2 nexus0
   3   ofwbus0
   4     cpulist0
   5       cpu0
   6         bcm2835_cpufreq0
   7         cpufreq0
   8     simplebus0
   9       intc0
  10       systimer0
  11       bcmwd0
  12       gpio0
  13         gpiobus0
  14           gpioled0
  15         gpioc0
  16       iichb0
  17         iicbus0
  18           iic0
  19       iichb1
  20         iicbus1
  21           iic1
  22       spi0
  23         spibus0
  24       bcm_dma0
  25       mbox0
  26       sdhci_bcm0
  27         mmc0
  28           mmcsd0
  29       uart0
  30       vchiq0
  31         pcm0
  32       bcm283x_dwcotg0
  33         usbus0
  34           uhub0
  35             uhub1
  36               smsc0
  37                 miibus0
  38                   ukphy0
  39     fb0
  40       fbd0
  41   cryptosoft0

   1 root@r-pi:~ # ofwdump -a
   2 Node 0x38: 
   3   Node 0xf4: cpus
   4     Node 0x120: cpu@0
   5   Node 0x180: axi
   6     Node 0x1ec: vc_mem
   7     Node 0x210: interrupt-controller
   8     Node 0x2c4: timer
   9     Node 0x36c: armtimer
  10     Node 0x3e4: watchdog0
  11     Node 0x444: gpio
  12       Node 0x570: bsc0_a
  13       Node 0x5a8: bsc0_b
  14       Node 0x5e0: bsc0_c
  15       Node 0x618: bsc1_a
  16       Node 0x650: bsc1_b
  17       Node 0x688: gpclk0_a
  18       Node 0x6c0: gpclk0_b
  19       Node 0x6f8: gpclk0_c
  20       Node 0x730: gpclk0_d
  21       Node 0x768: gpclk1_a
  22       Node 0x7a0: gpclk1_b
  23       Node 0x7d8: gpclk1_c
  24       Node 0x810: gpclk1_d
  25       Node 0x848: gpclk2_a
  26       Node 0x880: gpclk2_b
  27       Node 0x8b8: spi0_a
  28       Node 0x8fc: spi0_b
  29       Node 0x940: pwm0_a
  30       Node 0x974: pwm0_b
  31       Node 0x9a8: pwm0_c
  32       Node 0x9dc: pwm1_a
  33       Node 0xa10: pwm1_b
  34       Node 0xa44: pwm1_c
  35       Node 0xa78: pwm1_d
  36       Node 0xaac: uart0_a
  37       Node 0xae4: uart0_b
  38       Node 0xb1c: uart0_c
  39       Node 0xb54: uart0_fc_a
  40       Node 0xb90: uart0_fc_b
  41       Node 0xbcc: uart0_fc_c
  42       Node 0xc08: pcm_a
  43       Node 0xc48: pcm_b
  44       Node 0xc88: sm_addr_a
  45       Node 0xcd4: sm_addr_b
  46       Node 0xd20: sm_ctl_a
  47       Node 0xd5c: sm_ctl_b
  48       Node 0xd98: sm_data_8bit_a
  49       Node 0xdf0: sm_data_8bit_b
  50       Node 0xe48: sm_data_16bit
  51       Node 0xea0: sm_data_18bit
  52       Node 0xee0: bscsl
  53       Node 0xf18: spisl
  54       Node 0xf58: spi1
  55       Node 0xfa0: uart1_a
  56       Node 0xfd8: uart1_b
  57       Node 0x1010: uart1_c
  58       Node 0x1048: uart1_fc_a
  59       Node 0x1084: uart1_fc_b
  60       Node 0x10c0: uart1_fc_c
  61       Node 0x10fc: spi2
  62       Node 0x1144: arm_jtag_trst
  63       Node 0x1180: arm_jtag_a
  64       Node 0x11c8: arm_jtag_b
  65       Node 0x1210: reserved
  66     Node 0x1280: bsc0
  67     Node 0x131c: bsc1
  68     Node 0x13b8: spi0
  69     Node 0x1434: dma
  70     Node 0x14f4: mbox
  71     Node 0x1590: sdhci
  72     Node 0x1620: uart0
  73     Node 0x16d4: vchiq
  74     Node 0x173c: usb
  75       Node 0x17ec: hub
  76         Node 0x1844: ethernet
  77   Node 0x18ac: memory
  78   Node 0x18e4: system
  79   Node 0x193c: display
  80   Node 0x19d0: leds
  81     Node 0x19f4: ok
  82   Node 0x1a58: regulator
  83     Node 0x1b60: regulator@0
  84     Node 0x1c0c: regulator@3
  85   Node 0x1cbc: aliases
  86   Node 0x1ce4: chosen

Доступна только 1 gpio шина

   1 root@r-pi:~ # gpioctl -f /dev/gpioc0 -l
   2 pin 00: 1       pin 0<>
   3 pin 01: 1       pin 1<>
   4 pin 02: 1       pin 2<>
   5 pin 03: 1       pin 3<>
   6 pin 04: 1       pin 4<IN>
   7 pin 05: 0       pin 5<OUT>
   8 pin 06: 1       pin 6<OUT>
   9 pin 07: 1       pin 7<>
  10 pin 08: 1       pin 8<>
  11 pin 09: 0       pin 9<>
  12 pin 10: 0       pin 10<>
  13 pin 11: 0       pin 11<>
  14 pin 12: 0       pin 12<IN>
  15 pin 13: 0       pin 13<IN>
  16 pin 14: 1       pin 14<>
  17 pin 15: 1       pin 15<>
  18 pin 16: 1       gpioled0<OUT>
  19 pin 17: 0       pin 17<IN>
  20 pin 18: 0       pin 18<IN>
  21 pin 19: 0       pin 19<IN>
  22 pin 20: 0       pin 20<IN>
  23 pin 21: 0       pin 21<OUT>
  24 pin 22: 0       pin 22<IN>
  25 pin 23: 0       pin 23<IN>
  26 pin 24: 0       pin 24<IN>
  27 pin 25: 0       pin 25<IN>
  28 pin 26: 0       pin 26<IN>
  29 pin 27: 0       pin 27<IN>
  30 pin 28: 0       pin 28<IN>
  31 pin 29: 0       pin 29<IN>
  32 pin 30: 0       pin 30<IN>
  33 pin 31: 0       pin 31<IN>
  34 pin 32: 0       pin 32<IN>
  35 pin 33: 0       pin 33<IN>
  36 pin 34: 1       pin 34<IN>
  37 pin 35: 1       pin 35<IN>
  38 pin 36: 1       pin 36<IN>
  39 pin 37: 0       pin 37<IN>
  40 pin 38: 0       pin 38<IN>
  41 pin 39: 0       pin 39<IN>
  42 pin 40: 0       pin 40<>
  43 pin 41: 0       pin 41<IN>
  44 pin 42: 0       pin 42<IN>
  45 pin 43: 0       pin 43<IN>
  46 pin 44: 0       pin 44<IN>
  47 pin 45: 0       pin 45<>
  48 pin 46: 0       pin 46<IN>
  49 pin 47: 0       pin 47<IN>
  50 pin 48: 0       pin 48<>
  51 pin 49: 1       pin 49<>
  52 pin 50: 1       pin 50<>
  53 pin 51: 1       pin 51<>
  54 pin 52: 1       pin 52<>
  55 pin 53: 1       pin 53<>

Как видно, для "помигать" доступен только 1 светодиод, остальные в .dts жестко привязаны к функционалу индикации сети и наличия питания

   1 root@r-pi:~ # gpioctl -f /dev/gpioc0 -t 16