Path: blob/master/Documentation/devicetree/bindings/bus/palmbus.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/bus/palmbus.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Ralink PalmBus78maintainers:9- Sergio Paracuellos <sergio.paracuellos@gmail.com>1011description: |12The ralink palmbus controller can be found in all ralink MIPS13SoCs. It provides an external bus for connecting multiple14external devices to the SoC.1516properties:17$nodename:18pattern: "^palmbus(@[0-9a-f]+)?$"1920"#address-cells":21const: 12223"#size-cells":24const: 12526compatible:27const: palmbus2829reg:30maxItems: 13132ranges: true3334patternProperties:35# All other properties should be child nodes with unit-address and 'reg'36"@[0-9a-f]+$":37type: object38additionalProperties: true39properties:40reg:41maxItems: 14243required:44- reg4546required:47- compatible48- reg49- "#address-cells"50- "#size-cells"51- ranges5253additionalProperties: false5455examples:56- |57#include <dt-bindings/interrupt-controller/mips-gic.h>58#include <dt-bindings/interrupt-controller/irq.h>59palmbus@1e000000 {60compatible = "palmbus";61reg = <0x1e000000 0x100000>;62#address-cells = <1>;63#size-cells = <1>;64ranges = <0x0 0x1e000000 0x0fffff>;6566gpio@600 {67#gpio-cells = <2>;68#interrupt-cells = <2>;69compatible = "mediatek,mt7621-gpio";70gpio-controller;71gpio-ranges = <&pinctrl 0 0 95>;72interrupt-controller;73reg = <0x600 0x100>;74interrupt-parent = <&gic>;75interrupts = <GIC_SHARED 12 IRQ_TYPE_LEVEL_HIGH>;76};77};7879...808182