Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: firmware: Convert cznic,turris-mox-rwtm to DT schema

Convert the CZ.NIC Turris Mox rWTM firmware binding to DT schema format.
Add the "marvell,armada-3700-rwtm-firmware" compatible which was not
documented.

Link: https://patch.msgid.link/20251215212545.3318816-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

+41 -20
-19
Documentation/devicetree/bindings/firmware/cznic,turris-mox-rwtm.txt
··· 1 - Turris Mox rWTM firmware driver 2 - 3 - Required properties: 4 - - compatible : Should be "cznic,turris-mox-rwtm" 5 - - mboxes : Must contain a reference to associated mailbox 6 - 7 - This device tree node should be used on Turris Mox, or potentially another A3700 8 - compatible device running the Mox's rWTM firmware in the secure processor (for 9 - example it is possible to flash this firmware into EspressoBin). 10 - 11 - Example: 12 - 13 - firmware { 14 - turris-mox-rwtm { 15 - compatible = "cznic,turris-mox-rwtm"; 16 - mboxes = <&rwtm 0>; 17 - status = "okay"; 18 - }; 19 - };
+40
Documentation/devicetree/bindings/firmware/cznic,turris-mox-rwtm.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/firmware/cznic,turris-mox-rwtm.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: CZ.NIC Turris Mox rWTM firmware 8 + 9 + maintainers: 10 + - Marek Behún <kabel@kernel.org> 11 + 12 + description: 13 + This device tree node should be used on Turris Mox, or potentially another 14 + A3700 compatible device running the Mox's rWTM firmware in the secure 15 + processor (for example it is possible to flash this firmware into 16 + EspressoBin). 17 + 18 + properties: 19 + compatible: 20 + oneOf: 21 + - items: 22 + - const: marvell,armada-3700-rwtm-firmware 23 + - const: cznic,turris-mox-rwtm 24 + - const: marvell,armada-3700-rwtm-firmware 25 + 26 + mboxes: 27 + maxItems: 1 28 + 29 + required: 30 + - compatible 31 + - mboxes 32 + 33 + additionalProperties: false 34 + 35 + examples: 36 + - | 37 + turris-mox-rwtm { 38 + compatible = "marvell,armada-3700-rwtm-firmware", "cznic,turris-mox-rwtm"; 39 + mboxes = <&rwtm 0>; 40 + };
+1 -1
MAINTAINERS
··· 2711 2711 F: Documentation/ABI/testing/sysfs-bus-moxtet-devices 2712 2712 F: Documentation/ABI/testing/sysfs-firmware-turris-mox-rwtm 2713 2713 F: Documentation/devicetree/bindings/bus/cznic,moxtet.yaml 2714 - F: Documentation/devicetree/bindings/firmware/cznic,turris-mox-rwtm.txt 2714 + F: Documentation/devicetree/bindings/firmware/cznic,turris-mox-rwtm.yaml 2715 2715 F: Documentation/devicetree/bindings/firmware/cznic,turris-omnia-mcu.yaml 2716 2716 F: Documentation/devicetree/bindings/interrupt-controller/marvell,mpic.yaml 2717 2717 F: Documentation/devicetree/bindings/leds/cznic,turris-omnia-leds.yaml