1*4882a593Smuzhiyun* Rohm BU21029 Touch Screen Controller 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun - compatible : must be "rohm,bu21029" 5*4882a593Smuzhiyun - reg : i2c device address of the chip (0x40 or 0x41) 6*4882a593Smuzhiyun - interrupt-parent : the phandle for the gpio controller 7*4882a593Smuzhiyun - interrupts : (gpio) interrupt to which the chip is connected 8*4882a593Smuzhiyun - rohm,x-plate-ohms : x-plate resistance in Ohm 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunOptional properties: 11*4882a593Smuzhiyun - reset-gpios : gpio pin to reset the chip (active low) 12*4882a593Smuzhiyun - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 13*4882a593Smuzhiyun - touchscreen-size-y : vertical resolution of touchscreen (in pixels) 14*4882a593Smuzhiyun - touchscreen-max-pressure: maximum pressure value 15*4882a593Smuzhiyun - vdd-supply : power supply for the controller 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunExample: 18*4882a593Smuzhiyun 19*4882a593Smuzhiyun &i2c1 { 20*4882a593Smuzhiyun /* ... */ 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun bu21029: bu21029@40 { 23*4882a593Smuzhiyun compatible = "rohm,bu21029"; 24*4882a593Smuzhiyun reg = <0x40>; 25*4882a593Smuzhiyun interrupt-parent = <&gpio1>; 26*4882a593Smuzhiyun interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 27*4882a593Smuzhiyun reset-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; 28*4882a593Smuzhiyun rohm,x-plate-ohms = <600>; 29*4882a593Smuzhiyun touchscreen-size-x = <800>; 30*4882a593Smuzhiyun touchscreen-size-y = <480>; 31*4882a593Smuzhiyun touchscreen-max-pressure = <4095>; 32*4882a593Smuzhiyun }; 33*4882a593Smuzhiyun 34*4882a593Smuzhiyun /* ... */ 35*4882a593Smuzhiyun }; 36