1*69690becSRoland StiggeNXP LPC32xx Key Scan Interface 2*69690becSRoland Stigge 3*69690becSRoland StiggeRequired Properties: 4*69690becSRoland Stigge- compatible: Should be "nxp,lpc3220-key" 5*69690becSRoland Stigge- reg: Physical base address of the controller and length of memory mapped 6*69690becSRoland Stigge region. 7*69690becSRoland Stigge- interrupts: The interrupt number to the cpu. 8*69690becSRoland Stigge- keypad,num-rows: Number of rows and columns, e.g. 1: 1x1, 6: 6x6 9*69690becSRoland Stigge- keypad,num-columns: Must be equal to keypad,num-rows since LPC32xx only 10*69690becSRoland Stigge supports square matrices 11*69690becSRoland Stigge- nxp,debounce-delay-ms: Debounce delay in ms 12*69690becSRoland Stigge- nxp,scan-delay-ms: Repeated scan period in ms 13*69690becSRoland Stigge- linux,keymap: the key-code to be reported when the key is pressed 14*69690becSRoland Stigge and released, see also 15*69690becSRoland Stigge Documentation/devicetree/bindings/input/matrix-keymap.txt 16*69690becSRoland Stigge 17*69690becSRoland StiggeExample: 18*69690becSRoland Stigge 19*69690becSRoland Stigge key@40050000 { 20*69690becSRoland Stigge compatible = "nxp,lpc3220-key"; 21*69690becSRoland Stigge reg = <0x40050000 0x1000>; 22*69690becSRoland Stigge interrupts = <54 0>; 23*69690becSRoland Stigge keypad,num-rows = <1>; 24*69690becSRoland Stigge keypad,num-columns = <1>; 25*69690becSRoland Stigge nxp,debounce-delay-ms = <3>; 26*69690becSRoland Stigge nxp,scan-delay-ms = <34>; 27*69690becSRoland Stigge linux,keymap = <0x00000002>; 28*69690becSRoland Stigge }; 29