Re: [PATCH 2/2] arm64: dts: rockchip: Add devicetree for the FriendlyElec NanoPi R76S

From: Tianling Shen

Date: Sat Sep 27 2025 - 09:52:56 EST


Hi Dragan,

On 2025/9/27 21:47, Dragan Simic wrote:
Hello Diederik and Tianling,

On 2025-09-27 09:37, Diederik de Haas wrote:
On Sat Sep 27, 2025 at 3:19 AM CEST, Tianling Shen wrote:
On 2025/9/27 0:07, Diederik de Haas wrote:
It is recommended to use the labels in the schematics to define the
pinctl nodes (and thus their references). In quite a lot of cases that's
indeed the case, but not for gpio-keys (USER_BUT) or these gpio-leds
pinctls.

I cannot find any specific naming rules from the gpio-keys[1] and
gpio-leds[2] bindings, did I miss any update?

I think this naming matches the current practice at least in rockchip's
dt tree.

There is an unofficial rule/aim:
https://lore.kernel.org/linux-rockchip/5360173.ktpJ11cQ8Q@diego/
But granted, there is 'some' inconsistency.

And used in f.e.
https://lore.kernel.org/linux-rockchip/20250727144409.327740-4- jonas@xxxxxxxxx/

Where you can just copy the pinctrl labels from the dts[i] and paste
that in the schematic document and you're instantly at the right place.
Which is the exact purpose of that rule/aim.

Is the schematic actually publicly available?  I tried searching for
it, but found nothing, unfortunately.

The schematic for NanoPi R76S is available at https://wiki.friendlyelec.com/wiki/images/6/60/NanoPi_R76S_LP4X_2411_SCH.pdf

For more information please move to https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R76S.

Thanks,
Tianling.