Based on kernel version 6.13
. Page generated on 2025-01-21 08:20 EST
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/mfd/airoha,en7581-gpio-sysctl.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Airoha EN7581 GPIO System Controller maintainers: - Christian Marangi <ansuelsmth@gmail.com> - Lorenzo Bianconi <lorenzo@kernel.org> description: Airoha EN7581 SoC GPIO system controller which provided a register map for controlling the GPIO, pins and PWM of the SoC. properties: compatible: items: - const: airoha,en7581-gpio-sysctl - const: syscon - const: simple-mfd reg: maxItems: 1 pinctrl: type: object $ref: /schemas/pinctrl/airoha,en7581-pinctrl.yaml description: Child node definition for EN7581 Pin controller pwm: type: object $ref: /schemas/pwm/airoha,en7581-pwm.yaml description: Child node definition for EN7581 PWM controller required: - compatible - reg additionalProperties: false examples: - | #include <dt-bindings/interrupt-controller/arm-gic.h> system-controller@1fbf0200 { compatible = "airoha,en7581-gpio-sysctl", "syscon", "simple-mfd"; reg = <0x1fbf0200 0xc0>; pinctrl { compatible = "airoha,en7581-pinctrl"; interrupt-parent = <&gic>; interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; mmc-pins { mux { function = "emmc"; groups = "emmc"; }; }; mdio-pins { mux { function = "mdio"; groups = "mdio"; }; conf { pins = "gpio2"; output-enable; }; }; }; pwm { compatible = "airoha,en7581-pwm"; #pwm-cells = <3>; }; }; |