@@ -14,6 +14,13 @@ Required properties:
interrupt source.
- gpio-controller : Marks the device node as a gpio controller.
- #gpio-cells : Should be one. It is the pin number.
+- marvell,nr-gpios : Should be the number of total gpio pins.
+
+Optional properties:
+- marvell,gpio-ed-mask : It means that there's gpio edge mask register.
+ It only exists in mmp family SoC.
+- marvell,gpio-inverted : It means that some gpio pins are inverted.
+ It only exists in PXA26x SoC.
Example:
@@ -26,6 +33,8 @@ Example:
#gpio-cells = <1>;
interrupt-controller;
#interrupt-cells = <1>;
+ marvell,gpio-ed-mask;
+ marvell,nr-gpios = <128>;
};
* Marvell Orion GPIO Controller
Append new properties for mrvl gpio. They're in below. marvell,gpio-ed-mask marvell,gpio-inverted & marvell,nr_gpios. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> --- Documentation/devicetree/bindings/gpio/mrvl-gpio.txt | 9 +++++++++ 1 file changed, 9 insertions(+)