xref: /freebsd/sys/contrib/device-tree/Bindings/input/spear-keyboard.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* SPEAr keyboard controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: "st,spear300-kbd"
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotOptional properties, in addition to those specified by the shared
7*c66ec88fSEmmanuel Vadotmatrix-keyboard bindings:
8*c66ec88fSEmmanuel Vadot- autorepeat: bool: enables key autorepeat
9*c66ec88fSEmmanuel Vadot- st,mode: keyboard mode: 0 - 9x9, 1 - 6x6, 2 - 2x2
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotExample:
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadotkbd@fc400000 {
14*c66ec88fSEmmanuel Vadot	compatible = "st,spear300-kbd";
15*c66ec88fSEmmanuel Vadot	reg = <0xfc400000 0x100>;
16*c66ec88fSEmmanuel Vadot	linux,keymap = < 0x00030012
17*c66ec88fSEmmanuel Vadot			 0x0102003a >;
18*c66ec88fSEmmanuel Vadot	autorepeat;
19*c66ec88fSEmmanuel Vadot	st,mode = <0>;
20*c66ec88fSEmmanuel Vadot};
21