Marvell Armada 37xx SoC pin and gpio controller
Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/marvell,armada3710-xb-pinctrl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Gregory CLEMENT <gregory.clement@bootlin.com>", "Marek Behún <kabel@kernel.org>", "Miquel Raynal <miquel.raynal@bootlin.com>"
Each Armada 37xx SoC come with two pin and gpio controller one for the south bridge and the other for the north bridge. Inside this set of register the gpio latch allows exposing some configuration of the SoC and especially the clock frequency of the xtal. Hence, this node is a represent as syscon allowing sharing the register between multiple hardware block.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"marvell,armada3710-sb-pinctrl","marvell,armada3710-nb-pinctrl"
Item 2
Exact value (
const):"syscon"
Item 3
Exact value (
const):"simple-mfd"
reg — required here #
Array item rules (items) #
Item 1
pinctrl and GPIO controller registers
Item 2
interrupt controller registers
gpio — not listed as required here #
GPIO controller subnode
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
#gpio-cells — required here
Exact value (const): 2
gpio-controller — required here
true — No constraints added by this property rule.
gpio-ranges — required here
Range of pins managed by the GPIO controller
#interrupt-cells — required here
Exact value (const): 2
interrupt-controller — required here
true — No constraints added by this property rule.
interrupts — required here
List of interrupt specifiers for the GPIO controller
Required in this object (required): "#gpio-cells", "gpio-ranges", "gpio-controller", "#interrupt-cells", "interrupt-controller", "interrupts"
xtal-clk — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — not listed as required here
Exact value (const): "marvell,armada-3700-xtal-clock"
#clock-cells — not listed as required here
Exact value (const): 0
clock-output-names — not listed as required here
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
-pins$ — name matches this regular expression #
Shared schema rule ($ref): pinmux-node.yaml#
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
groups — not listed as required here
Allowed values (enum): "emmc_nb", "i2c1", "i2c2", "jtag", "mii_col", "onewire", "pcie1", "pcie1_clkreq", "pcie1_wakeup", "pmic0", "pmic1", "ptp", "ptp_clk", "ptp_trig", "pwm0", "pwm1", "pwm2", "pwm3", "rgmii", "sdio0", "sdio_sb", "smi", "spi_cs1", "spi_cs2", "spi_cs3", "spi_quad", "uart1", "uart2", "usb2_drvvbus1", "usb32_drvvbus0"
function — not listed as required here
Allowed values (enum): "drvbus", "emmc", "gpio", "i2c", "jtag", "led", "mii", "mii_err", "onewire", "pcie", "pmic", "ptp", "pwm", "sdio", "smi", "spi", "uart"
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
pinctrl_sb: pinctrl@18800 {
compatible = "marvell,armada3710-sb-pinctrl", "syscon", "simple-mfd";
reg = <0x18800 0x100>, <0x18C00 0x20>;
gpio {
#gpio-cells = <2>;
gpio-ranges = <&pinctrl_sb 0 0 29>;
gpio-controller;
#interrupt-cells = <2>;
interrupt-controller;
interrupts =
<GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)