Document: DT: Add bindings for mediatek MT2701 SoC Platform
authorErin Lo <erin.lo@mediatek.com>
Tue, 20 Oct 2015 06:34:30 +0000 (14:34 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 20 Nov 2015 12:59:04 +0000 (13:59 +0100)
This adds a DT binding documentation for the MT2701 SoC from Mediatek.

Signed-off-by: Erin Lo <erin.lo@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Documentation/devicetree/bindings/arm/mediatek.txt
Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt
Documentation/devicetree/bindings/serial/mtk-uart.txt
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt

index 618a91994a18ecd8942b2ec9b32ccae2e71a9694..54f43bc2df443370ab0d4391a7ab6e6c713aa566 100644 (file)
@@ -6,6 +6,7 @@ following property:
 Required root node property:
 
 compatible: Must contain one of
+   "mediatek,mt2701"
    "mediatek,mt6580"
    "mediatek,mt6589"
    "mediatek,mt6592"
@@ -17,6 +18,9 @@ compatible: Must contain one of
 
 Supported boards:
 
+- Evaluation board for MT2701:
+    Required root node properties:
+      - compatible = "mediatek,mt2701-evb", "mediatek,mt2701";
 - Evaluation board for MT6580:
     Required root node properties:
       - compatible = "mediatek,mt6580-evbp1", "mediatek,mt6580";
index afef6a85ac51d46f0496954ea1d76a9144e7d247..b8e1674c7837c274c6b485cfa3bb3977bd97232d 100644 (file)
@@ -14,6 +14,7 @@ Required properties:
        "mediatek,mt6582-sysirq"
        "mediatek,mt6580-sysirq"
        "mediatek,mt6577-sysirq"
+       "mediatek,mt2701-sysirq"
 - interrupt-controller : Identifies the node as an interrupt controller
 - #interrupt-cells : Use the same format as specified by GIC in
   Documentation/devicetree/bindings/arm/gic.txt
index 2d47add34765ae6a5f5b7f9474409f05927e988e..a833a016f656783314a7c92d3f75f8a6a66f29ed 100644 (file)
@@ -2,15 +2,15 @@
 
 Required properties:
 - compatible should contain:
-  * "mediatek,mt8135-uart" for MT8135 compatible UARTS
+  * "mediatek,mt2701-uart" for MT2701 compatible UARTS
+  * "mediatek,mt6580-uart" for MT6580 compatible UARTS
+  * "mediatek,mt6582-uart" for MT6582 compatible UARTS
+  * "mediatek,mt6589-uart" for MT6589 compatible UARTS
+  * "mediatek,mt6795-uart" for MT6795 compatible UARTS
   * "mediatek,mt8127-uart" for MT8127 compatible UARTS
+  * "mediatek,mt8135-uart" for MT8135 compatible UARTS
   * "mediatek,mt8173-uart" for MT8173 compatible UARTS
-  * "mediatek,mt6795-uart" for MT6795 compatible UARTS
-  * "mediatek,mt6589-uart" for MT6589 compatible UARTS
-  * "mediatek,mt6582-uart" for MT6582 compatible UARTS
-  * "mediatek,mt6580-uart" for MT6580 compatible UARTS
-  * "mediatek,mt6577-uart" for all compatible UARTS (MT8173, MT6795,
-        MT6589, MT6582, MT6580, MT6577)
+  * "mediatek,mt6577-uart" for MT6577 and all of the above
 
 - reg: The base address of the UART register bank.
 
index 64083bc5633c136b0cee1424b93d115086609cc0..8ff54eb464dc6bf0f25f44bf4296c29371e44804 100644 (file)
@@ -3,6 +3,7 @@ Mediatek MT6577, MT6572 and MT6589 Timers
 
 Required properties:
 - compatible should contain:
+       * "mediatek,mt2701-timer" for MT2701 compatible timers
        * "mediatek,mt6580-timer" for MT6580 compatible timers
        * "mediatek,mt6589-timer" for MT6589 compatible timers
        * "mediatek,mt8127-timer" for MT8127 compatible timers
index af9eb5b8a2534ab965d8a7843c3ecc1895af888b..6a00939a059a1185c5e4ece5bbcd388131bb4987 100644 (file)
@@ -2,7 +2,11 @@ Mediatek SoCs Watchdog timer
 
 Required properties:
 
-- compatible : should be "mediatek,mt6589-wdt"
+- compatible should contain:
+       * "mediatek,mt2701-wdt" for MT2701 compatible watchdog timers
+       * "mediatek,mt6589-wdt" for all compatible watchdog timers (MT2701,
+               MT6589)
+
 - reg : Specifies base physical address and size of the registers.
 
 Example: