genio-7.1: nio-12l: R/B LED support in extra DT

- I've sent https://lore.kernel.org/linux-mediatek/20260624-nio-12l-add-i2c-40-pin-v2-0-cf3707a6aaf1@pardini.net/
  which has the i2c3 also contained here
This commit is contained in:
Ricardo Pardini
2026-06-25 09:23:02 +02:00
committed by Igor
parent 8fe821bb76
commit cb9c34d32d
@@ -4,6 +4,8 @@
#include "mt8395-radxa-nio-12l.dts"
#include <dt-bindings/leds/common.h>
/ {
model = "Radxa NIO 12L with extra stuff 27:SCL3 28:SDA3";
// See https://docs.radxa.com/en/nio/nio12l/hardware-design/hardware-interface#40-pin-gpio-header
@@ -13,8 +15,16 @@
mmc1 = &mmc0; // emmc - not on UFS models
};
// label and make blue led heartbeat, red led pan
// label and make blue led heartbeat, red led panic
gpio-leds {
compatible = "gpio-leds";
pinctrl-0 = <&gpio_leds_pins>;
pinctrl-names = "default";
/*
* This board has a RGB LED, of which only R and B
* are controllable.
*/
led-0 {
color = <LED_COLOR_ID_BLUE>;
gpios = <&pio 6 GPIO_ACTIVE_HIGH>;
@@ -43,6 +53,15 @@
&pio {
// for leds
gpio_leds_pins: gpio-leds-pins {
pins {
pinmux = <PINMUX_GPIO6__FUNC_GPIO6>,
<PINMUX_GPIO7__FUNC_GPIO7>;
output-low;
};
};
i2c3_pins: i2c3-pins {
pins-bus {
pinmux = <PINMUX_GPIO14__FUNC_SDA3>,