^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Device Tree binding for LEDs on IBM Power Systems
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) -------------------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - compatible : Should be "ibm,opal-v3-led".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - led-mode : Should be "lightpath" or "guidinglight".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Each location code of FRU/Enclosure must be expressed in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) form of a sub-node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Required properties for the sub nodes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - led-types : Supported LED types (attention/identify/fault) provided
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) in the form of string array.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) leds {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) compatible = "ibm,opal-v3-led";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) led-mode = "lightpath";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) U78C9.001.RST0027-P1-C1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) led-types = "identify", "fault";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) };