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