Ralink PalmBus
Schema identifier ($id): "http://devicetree.org/schemas/bus/palmbus.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sergio Paracuellos <sergio.paracuellos@gmail.com>"
The ralink palmbus controller can be found in all ralink MIPS SoCs. It provides an external bus for connecting multiple external devices to the SoC.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^palmbus(@[0-9a-f]+)?$"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 1
compatible — required here #
Exact value (const): "palmbus"
reg — required here #
Maximum number of items (maxItems): 1
ranges — required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
@[0-9a-f]+$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Maximum number of items (maxItems): 1
Required in this object (required): "reg"
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "ranges"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/mips-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
palmbus@1e000000 {
compatible = "palmbus";
reg = <0x1e000000 0x100000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x1e000000 0x0fffff>;
gpio@600 {
#gpio-cells = <2>;
#interrupt-cells = <2>;
compatible = "mediatek,mt7621-gpio";
gpio-controller;
gpio-ranges = <&pinctrl 0 0 95>;
interrupt-controller;
reg = <0x600 0x100>;
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 12 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)
Line 36: All other properties should be child nodes with unit-address and 'reg'