You need to sign in or sign up before continuing.
提交 93d39737 编写于 作者: R Rafał Miłecki 提交者: Linus Walleij

dt-bindings: pinctrl: bcm4708-pinmux: improve example binding

Broadcom SoC pins are controlled using CRU ("Clock and Reset Unit" or
"Central Resource Unit") registers. There are more CRU registers and
functions so CRU should be represented as a separated block in DT.

Moreover CRU is a sub-block of DMU ("Device Management Unit") so that
one should also get its own node.
Signed-off-by: NRafał Miłecki <rafal@milecki.pl>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 ce96a3a0
...@@ -30,13 +30,28 @@ For documentation of subnodes see: ...@@ -30,13 +30,28 @@ For documentation of subnodes see:
Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
Example: Example:
pinctrl@1800c1c0 { dmu@1800c000 {
compatible = "brcm,bcm4708-pinmux"; compatible = "simple-bus";
reg = <0x1800c1c0 0x24>; ranges = <0 0x1800c000 0x1000>;
reg-names = "cru_gpio_control"; #address-cells = <1>;
#size-cells = <1>;
spi {
function = "spi"; cru@100 {
groups = "spi_grp"; compatible = "simple-bus";
reg = <0x100 0x1a4>;
ranges;
#address-cells = <1>;
#size-cells = <1>;
pin-controller@1c0 {
compatible = "brcm,bcm4708-pinmux";
reg = <0x1c0 0x24>;
reg-names = "cru_gpio_control";
spi-pins {
function = "spi";
groups = "spi_grp";
};
};
}; };
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册