mediatek: add support for the new MT7623 Arm SoC
[openwrt.git] / target / linux / mediatek / patches / 0048-dt-bindings-mediatek-Modify-pinctrl-bindings-for-mt6.patch
1 From 69b78182d6d7777153323abe3cff8e533ca01143 Mon Sep 17 00:00:00 2001
2 From: Hongzhou Yang <hongzhou.yang@mediatek.com>
3 Date: Mon, 18 May 2015 23:11:12 -0700
4 Subject: [PATCH 48/76] dt-bindings: mediatek: Modify pinctrl bindings for
5  mt6397.
6
7 Since 6397 is no need to support interrupt controller,
8 moving interrupt controller relate property to optional list.
9 Also adding mt8173 and mt8127 to bindings.
10
11 Signed-off-by: Hongzhou Yang <hongzhou.yang@mediatek.com>
12 ---
13  Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt |    9 +++++++--
14  1 file changed, 7 insertions(+), 2 deletions(-)
15
16 diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt
17 index 5868a0f..0480bc3 100644
18 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt
19 +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-mt65xx.txt
20 @@ -3,9 +3,11 @@
21  The Mediatek's Pin controller is used to control SoC pins.
22  
23  Required properties:
24 -- compatible: value should be either of the following.
25 +- compatible: value should be one of the following.
26      (a) "mediatek,mt8135-pinctrl", compatible with mt8135 pinctrl.
27 -- mediatek,pctl-regmap: Should be a phandle of the syscfg node.
28 +    (b) "mediatek,mt8173-pinctrl", compatible with mt8173 pinctrl.
29 +    (c) "mediatek,mt6397-pinctrl", compatible with mt6397 pinctrl.
30 +    (d) "mediatek,mt8127-pinctrl", compatible with mt8127 pinctrl.
31  - pins-are-numbered: Specify the subnodes are using numbered pinmux to
32    specify pins.
33  - gpio-controller : Marks the device node as a gpio controller.
34 @@ -24,6 +26,9 @@ Required properties:
35              Only the following flags are supported:
36              0 - GPIO_ACTIVE_HIGH
37              1 - GPIO_ACTIVE_LOW
38 +
39 +Optional properties:
40 +- mediatek,pctl-regmap: Should be a phandle of the syscfg node.
41  - reg: physicall address base for EINT registers
42  - interrupt-controller: Marks the device node as an interrupt controller
43  - #interrupt-cells: Should be two.
44 -- 
45 1.7.10.4
46