xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/spear-keyboard.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* SPEAr keyboard controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: "st,spear300-kbd"
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunOptional properties, in addition to those specified by the shared
7*4882a593Smuzhiyunmatrix-keyboard bindings:
8*4882a593Smuzhiyun- autorepeat: bool: enables key autorepeat
9*4882a593Smuzhiyun- st,mode: keyboard mode: 0 - 9x9, 1 - 6x6, 2 - 2x2
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunExample:
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunkbd@fc400000 {
14*4882a593Smuzhiyun	compatible = "st,spear300-kbd";
15*4882a593Smuzhiyun	reg = <0xfc400000 0x100>;
16*4882a593Smuzhiyun	linux,keymap = < 0x00030012
17*4882a593Smuzhiyun			 0x0102003a >;
18*4882a593Smuzhiyun	autorepeat;
19*4882a593Smuzhiyun	st,mode = <0>;
20*4882a593Smuzhiyun};
21