[PATCH v3 5/7] dt-bindings: mfd: Add synology,microp device
From: Markus Probst via B4 Relay
Date: Fri Mar 13 2026 - 15:06:02 EST
From: Markus Probst <markus.probst@xxxxxxxxx>
Add the Synology Microp devicetree bindings. Those devices are
microcontrollers found on Synology NAS devices. They are connected to a
serial port on the host device.
Those devices are used to control certain LEDs, fan speeds, a beeper, to
handle buttons, fan failures and to properly shutdown and reboot the
device.
Signed-off-by: Markus Probst <markus.probst@xxxxxxxxx>
---
.../devicetree/bindings/leds/synology,microp.yaml | 40 +++++++++++++++++
.../devicetree/bindings/mfd/synology,microp.yaml | 51 ++++++++++++++++++++++
2 files changed, 91 insertions(+)
diff --git a/Documentation/devicetree/bindings/leds/synology,microp.yaml b/Documentation/devicetree/bindings/leds/synology,microp.yaml
new file mode 100644
index 000000000000..f7bf32c240f7
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/synology,microp.yaml
@@ -0,0 +1,40 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/leds/synology,microp.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Synology NAS on-board Microcontroller LEDs
+
+maintainers:
+ - Markus Probst <markus.probst@xxxxxxxxx>
+
+description: |
+ This is part of device tree bindings for Synology NAS on-board
+ Microcontroller.
+
+ This device can manage up to 4 leds in Synology NAS devices:
+ - Power
+ - Status
+ - Alert
+ - USB
+
+ The Power and Status LEDs are available on every Synology NAS model,
+ therefore the associated child nodes are mandatory. If the NAS also has
+ a alert or usb led, the associated child nodes need to be added.
+
+properties:
+ compatible:
+ const: synology,microp-leds
+
+patternProperties:
+ "^(power|status|alert|usb)-led$":
+ $ref: /schemas/leds/common.yaml
+ unevaluatedProperties: false
+
+required:
+ - compatible
+ - power-led
+ - status-led
+
+additionalProperties: false
diff --git a/Documentation/devicetree/bindings/mfd/synology,microp.yaml b/Documentation/devicetree/bindings/mfd/synology,microp.yaml
new file mode 100644
index 000000000000..57bb986d24f7
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/synology,microp.yaml
@@ -0,0 +1,51 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/synology,microp.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Synology NAS on-board Microcontroller
+
+maintainers:
+ - Markus Probst <markus.probst@xxxxxxxxx>
+
+description: |
+ Synology Microp is a microcontroller found in Synology NAS devices.
+ It is connected to a serial port on the host device.
+
+ It is a multifunction device with the following sub modules:
+ - LEDs
+
+properties:
+ compatible:
+ const: synology,microp
+
+ leds:
+ $ref: /schemas/leds/synology,microp.yaml
+
+required:
+ - compatible
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/leds/common.h>
+
+ mcu {
+ compatible = "synology,microp";
+
+ leds {
+ compatible = "synology,microp-leds";
+
+ power-led {
+ color = <LED_COLOR_ID_BLUE>;
+ function = LED_FUNCTION_POWER;
+ };
+
+ status-led {
+ color = <LED_COLOR_ID_MULTI>;
+ function = LED_FUNCTION_STATUS;
+ };
+ };
+ };
--
2.52.0