Skip to contentSkip to conversation

powerpc/85xx: Add Cyrus board power-off and reset nodes

PATCH New Darren Stevens 1 participant 1 message Feb 9, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/85xx: Add Cyrus board power-off and reset nodes

The Cyrus board from Varisys has power-off and reset functions attached to gpio pins. Add the required device-tree bindings.

---

arch/powerpc/boot/dts/fsl/cyrus_p5020.dts +11 -0
index c603390..15e8440 100644
@@ -71,6 +71,17 @@
                reg = <0x6f>;
            };
        };
+
+       gpio-poweroff {
+           compatible = "gpio-poweroff";
+           gpios = <&gpio0 3 1>;
+       };
+
+       gpio-restart {
+           compatible = "gpio-restart";
+           gpios = <&gpio0 2 1>;
+       };
+
    };
 
    rio: rapidio@ffe0c0000 {