1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/serio/allwi 4 $id: http://devicetree.org/schemas/serio/allwinner,sun4i-a10-ps2.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Allwinner A10 PS2 Host Controller !! 7 title: Allwinner A10 PS2 Host Controller Device Tree Bindings 8 8 9 maintainers: 9 maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 11 - Maxime Ripard <mripard@kernel.org> 12 12 13 description: 13 description: 14 A20 PS2 is dual role controller (PS2 host an 14 A20 PS2 is dual role controller (PS2 host and PS2 device). These 15 bindings for PS2 A10/A20 host controller. IB 15 bindings for PS2 A10/A20 host controller. IBM compliant IBM PS2 and 16 AT-compatible keyboard and mouse can be conn 16 AT-compatible keyboard and mouse can be connected. 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 const: allwinner,sun4i-a10-ps2 20 const: allwinner,sun4i-a10-ps2 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 interrupts: 25 interrupts: 26 maxItems: 1 26 maxItems: 1 27 27 28 clocks: 28 clocks: 29 maxItems: 1 29 maxItems: 1 30 30 31 required: 31 required: 32 - compatible 32 - compatible 33 - reg 33 - reg 34 - interrupts 34 - interrupts 35 - clocks 35 - clocks 36 36 37 additionalProperties: false 37 additionalProperties: false 38 38 39 examples: 39 examples: 40 - | 40 - | 41 #include <dt-bindings/interrupt-controller 41 #include <dt-bindings/interrupt-controller/arm-gic.h> 42 #include <dt-bindings/clock/sun7i-a20-ccu. 42 #include <dt-bindings/clock/sun7i-a20-ccu.h> 43 43 44 ps20: ps2@1c2a000 { 44 ps20: ps2@1c2a000 { 45 compatible = "allwinner,sun4i-a10-ps2" 45 compatible = "allwinner,sun4i-a10-ps2"; 46 reg = <0x01c2a000 0x400>; 46 reg = <0x01c2a000 0x400>; 47 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVE 47 interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 48 clocks = <&ccu CLK_APB1_PS20>; 48 clocks = <&ccu CLK_APB1_PS20>; 49 }; 49 }; 50 50 51 ... 51 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.