1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/media/allwinner,sun8i-a83t-de2-rotate.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: Allwinner A83T DE2 Rotate Device Tree Bindings 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunmaintainers: 10*4882a593Smuzhiyun - Jernej Skrabec <jernej.skrabec@siol.net> 11*4882a593Smuzhiyun - Chen-Yu Tsai <wens@csie.org> 12*4882a593Smuzhiyun - Maxime Ripard <mripard@kernel.org> 13*4882a593Smuzhiyun 14*4882a593Smuzhiyundescription: |- 15*4882a593Smuzhiyun The Allwinner A83T and A64 have a rotation core used for 16*4882a593Smuzhiyun rotating and flipping images. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunproperties: 19*4882a593Smuzhiyun compatible: 20*4882a593Smuzhiyun oneOf: 21*4882a593Smuzhiyun - const: allwinner,sun8i-a83t-de2-rotate 22*4882a593Smuzhiyun - items: 23*4882a593Smuzhiyun - const: allwinner,sun50i-a64-de2-rotate 24*4882a593Smuzhiyun - const: allwinner,sun8i-a83t-de2-rotate 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun reg: 27*4882a593Smuzhiyun maxItems: 1 28*4882a593Smuzhiyun 29*4882a593Smuzhiyun interrupts: 30*4882a593Smuzhiyun maxItems: 1 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun clocks: 33*4882a593Smuzhiyun items: 34*4882a593Smuzhiyun - description: Rotate interface clock 35*4882a593Smuzhiyun - description: Rotate module clock 36*4882a593Smuzhiyun 37*4882a593Smuzhiyun clock-names: 38*4882a593Smuzhiyun items: 39*4882a593Smuzhiyun - const: bus 40*4882a593Smuzhiyun - const: mod 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun resets: 43*4882a593Smuzhiyun maxItems: 1 44*4882a593Smuzhiyun 45*4882a593Smuzhiyunrequired: 46*4882a593Smuzhiyun - compatible 47*4882a593Smuzhiyun - reg 48*4882a593Smuzhiyun - interrupts 49*4882a593Smuzhiyun - clocks 50*4882a593Smuzhiyun 51*4882a593SmuzhiyunadditionalProperties: false 52*4882a593Smuzhiyun 53*4882a593Smuzhiyunexamples: 54*4882a593Smuzhiyun - | 55*4882a593Smuzhiyun #include <dt-bindings/interrupt-controller/arm-gic.h> 56*4882a593Smuzhiyun #include <dt-bindings/clock/sun8i-de2.h> 57*4882a593Smuzhiyun #include <dt-bindings/reset/sun8i-de2.h> 58*4882a593Smuzhiyun 59*4882a593Smuzhiyun rotate: rotate@1020000 { 60*4882a593Smuzhiyun compatible = "allwinner,sun8i-a83t-de2-rotate"; 61*4882a593Smuzhiyun reg = <0x1020000 0x10000>; 62*4882a593Smuzhiyun interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; 63*4882a593Smuzhiyun clocks = <&display_clocks CLK_BUS_ROT>, 64*4882a593Smuzhiyun <&display_clocks CLK_ROT>; 65*4882a593Smuzhiyun clock-names = "bus", 66*4882a593Smuzhiyun "mod"; 67*4882a593Smuzhiyun resets = <&display_clocks RST_ROT>; 68*4882a593Smuzhiyun }; 69*4882a593Smuzhiyun 70*4882a593Smuzhiyun... 71