brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · c2f292d Raw
71 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A83T DE2 Rotate8 9maintainers:10  - Jernej Skrabec <jernej.skrabec@siol.net>11  - Chen-Yu Tsai <wens@csie.org>12  - Maxime Ripard <mripard@kernel.org>13 14description: |-15  The Allwinner A83T and A64 have a rotation core used for16  rotating and flipping images.17 18properties:19  compatible:20    oneOf:21      - const: allwinner,sun8i-a83t-de2-rotate22      - items:23          - const: allwinner,sun50i-a64-de2-rotate24          - const: allwinner,sun8i-a83t-de2-rotate25 26  reg:27    maxItems: 128 29  interrupts:30    maxItems: 131 32  clocks:33    items:34      - description: Rotate interface clock35      - description: Rotate module clock36 37  clock-names:38    items:39      - const: bus40      - const: mod41 42  resets:43    maxItems: 144 45required:46  - compatible47  - reg48  - interrupts49  - clocks50 51additionalProperties: false52 53examples:54  - |55    #include <dt-bindings/interrupt-controller/arm-gic.h>56    #include <dt-bindings/clock/sun8i-de2.h>57    #include <dt-bindings/reset/sun8i-de2.h>58 59    rotate: rotate@1020000 {60        compatible = "allwinner,sun8i-a83t-de2-rotate";61        reg = <0x1020000 0x10000>;62        interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;63        clocks = <&display_clocks CLK_BUS_ROT>,64                 <&display_clocks CLK_ROT>;65        clock-names = "bus",66                      "mod";67        resets = <&display_clocks RST_ROT>;68    };69 70...71