1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/serio/allwinner,sun4i-a10-ps2.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: Allwinner A10 PS2 Host Controller Device Tree Bindings 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunmaintainers: 10*4882a593Smuzhiyun - Chen-Yu Tsai <wens@csie.org> 11*4882a593Smuzhiyun - Maxime Ripard <mripard@kernel.org> 12*4882a593Smuzhiyun 13*4882a593Smuzhiyundescription: 14*4882a593Smuzhiyun A20 PS2 is dual role controller (PS2 host and PS2 device). These 15*4882a593Smuzhiyun bindings for PS2 A10/A20 host controller. IBM compliant IBM PS2 and 16*4882a593Smuzhiyun AT-compatible keyboard and mouse can be connected. 17*4882a593Smuzhiyun 18*4882a593Smuzhiyunproperties: 19*4882a593Smuzhiyun compatible: 20*4882a593Smuzhiyun const: allwinner,sun4i-a10-ps2 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun reg: 23*4882a593Smuzhiyun maxItems: 1 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun interrupts: 26*4882a593Smuzhiyun maxItems: 1 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun clocks: 29*4882a593Smuzhiyun maxItems: 1 30*4882a593Smuzhiyun 31*4882a593Smuzhiyunrequired: 32*4882a593Smuzhiyun - compatible 33*4882a593Smuzhiyun - reg 34*4882a593Smuzhiyun - interrupts 35*4882a593Smuzhiyun - clocks 36*4882a593Smuzhiyun 37*4882a593SmuzhiyunadditionalProperties: false 38*4882a593Smuzhiyun 39*4882a593Smuzhiyunexamples: 40*4882a593Smuzhiyun - | 41*4882a593Smuzhiyun #include <dt-bindings/interrupt-controller/arm-gic.h> 42*4882a593Smuzhiyun #include <dt-bindings/clock/sun7i-a20-ccu.h> 43*4882a593Smuzhiyun 44*4882a593Smuzhiyun ps20: ps2@1c2a000 { 45*4882a593Smuzhiyun compatible = "allwinner,sun4i-a10-ps2"; 46*4882a593Smuzhiyun reg = <0x01c2a000 0x400>; 47*4882a593Smuzhiyun interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; 48*4882a593Smuzhiyun clocks = <&ccu CLK_APB1_PS20>; 49*4882a593Smuzhiyun }; 50*4882a593Smuzhiyun 51*4882a593Smuzhiyun... 52