[PATCH] riscv: dts: starfive: jh7110-common: add status power led node

Conor Dooley conor at kernel.org
Wed Jul 16 08:28:48 PDT 2025


On Tue, Jul 15, 2025 at 09:04:54PM -0700, E Shattow wrote:
> Add status power led node for StarFive VisionFive2 and variant boards.
> 
> Signed-off-by: E Shattow <e at freeshell.de>

Again, I'll grab this too but it may be too late for 6.17.

> ---
>  arch/riscv/boot/dts/starfive/jh7110-common.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
> index 4baeb981d4df..2eaf01775ef5 100644
> --- a/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
> +++ b/arch/riscv/boot/dts/starfive/jh7110-common.dtsi
> @@ -8,6 +8,7 @@
>  #include "jh7110.dtsi"
>  #include "jh7110-pinfunc.h"
>  #include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/leds/common.h>
>  #include <dt-bindings/pinctrl/starfive,jh7110-pinctrl.h>
>  
>  / {
> @@ -38,6 +39,14 @@ gpio-restart {
>  		priority = <224>;
>  	};
>  
> +	leds {
> +		compatible = "gpio-leds";
> +
> +		led_status_power: led-0 {
> +			gpios = <&aongpio 3 GPIO_ACTIVE_HIGH>;
> +		};
> +	};
> +
>  	pwmdac_codec: audio-codec {
>  		compatible = "linux,spdif-dit";
>  		#sound-dai-cells = <0>;
> 
> base-commit: 155a3c003e555a7300d156a5252c004c392ec6b0
> -- 
> 2.50.0
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20250716/0c24609e/attachment.sig>


More information about the linux-riscv mailing list