Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: pinctrl: Fix node descriptions in uniphier-pinctrl example

Drop parent node of the pinctrl as it is not directly necessary, and
add more examples, that is "groups", "function", and a child node to set
pin attributes, to express this pinctrl node in detail.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20221213082449.2721-4-hayashi.kunihiko@socionext.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Kunihiko Hayashi and committed by
Rob Herring
3fa1306d 3b67e621

+12 -5
+12 -5
Documentation/devicetree/bindings/pinctrl/socionext,uniphier-pinctrl.yaml
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + 2 3 %YAML 1.2 3 4 --- 4 5 $id: http://devicetree.org/schemas/pinctrl/socionext,uniphier-pinctrl.yaml# ··· 70 69 - | 71 70 // The UniPhier pinctrl should be a subnode of a "syscon" compatible node. 72 71 73 - soc-glue@5f800000 { 74 - compatible = "socionext,uniphier-pro4-soc-glue", "simple-mfd", "syscon"; 75 - reg = <0x5f800000 0x2000>; 72 + pinctrl { 73 + compatible = "socionext,uniphier-ld20-pinctrl"; 76 74 77 - pinctrl: pinctrl { 78 - compatible = "socionext,uniphier-pro4-pinctrl"; 75 + pinctrl_ether_rgmii: ether-rgmii { 76 + groups = "ether_rgmii"; 77 + function = "ether_rgmii"; 78 + 79 + tx { 80 + pins = "RGMII_TXCLK", "RGMII_TXD0", "RGMII_TXD1", 81 + "RGMII_TXD2", "RGMII_TXD3", "RGMII_TXCTL"; 82 + drive-strength = <9>; 83 + }; 79 84 }; 80 85 };