new file mode 100644
@@ -0,0 +1,28 @@
+Nokia Cellular Modem (CMT) bindings
+
+Required properties:
+- compatible: Should include "nokia,cmt".
+- interrupts: Interrupt specifier for the cmt reset irq.
+- gpio-names: Contains the values "cmt_apeslpx", "cmt_rst_rq",
+ "cmt_en", "cmt_rst" and "cmt_bsi".
+- gpios: Contains gpio information for each entry in gpio-names.
+
+Example for Nokia N900:
+
+cmt: nokia-cmt {
+ compatible = "nokia,cmt";
+
+ interrupt-parent = <&gpio3>;
+ interrupts = <8 IRQ_TYPE_EDGE_FALLING>; /* gpio line 72 */
+
+ gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>, /* 70 */
+ <&gpio3 9 GPIO_ACTIVE_HIGH>, /* 73 */
+ <&gpio3 10 GPIO_ACTIVE_HIGH>, /* 74 */
+ <&gpio3 11 GPIO_ACTIVE_HIGH>, /* 75 */
+ <&gpio5 29 GPIO_ACTIVE_HIGH>; /* 157 */
+ gpio-names = "cmt_apeslpx",
+ "cmt_rst_rq",
+ "cmt_en",
+ "cmt_rst",
+ "cmt_bsi";
+};
Create device tree binding documentation for Nokia cellular modem GPIO handling. Signed-off-by: Sebastian Reichel <sre@debian.org> --- .../devicetree/bindings/misc/nokia-cmt.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/nokia-cmt.txt