Skip to content

GPIO on RK3588: From Blinking an LED to Reading a Button

Rockchip’s GPIO naming (bank/group/pin) differs from Raspberry-Pi style. Decode it first.

The numbering scheme

  • Naming rule: GPIO1_C7 = bank 1 + group C + pin 7 → Linux number (1*32 + 2*8 + 7) = 55;
  • sysfs vs libgpiod: modern kernels use gpiod tools (gpioset/gpioget); sysfs is deprecated;
  • Read the docs: match the silkscreen pinout against the device tree before wiring.

Confirm whether the rail is 3.3 V or 1.8 V first — wrong-level wiring is the number-one board killer.

Related products: RP01A dev board, M-RK3588S SoM. Datasheets, firmware and SDKs are free at the Hugsun Documentation Center; for selection advice or volume pricing, talk to us.

Talk to an engineer

Need selection advice, samples or a volume quote?

Tell us your scenario and target volume — you will get selection advice, lead time and pricing within one business day.

  • Free selection & feasibility review
  • Sample / evaluation board support
  • ODM / OEM customization