| /* |
| * Device Tree config for the PAT9150 chip - optical tracking sensor (RSB) |
| */ |
| #include <dt-bindings/interrupt-controller/irq.h> |
| |
| &gpa0 { |
| #interrupt-cells = <2>; |
| }; |
| |
| &i2c_3 { |
| #address-cells = <1>; |
| #size-cells = <0>; |
| status = "ok"; |
| |
| pat9150: pat9150@75 { |
| compatible="pixart,pat9150"; |
| status = "disabled"; |
| reg = <0x75>; |
| pixart,inverse-x; |
| interrupts-extended = <&gpa0 2 IRQ_TYPE_LEVEL_LOW>; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&pat9150_ots_int_default>; |
| }; |
| }; |
| |
| &pinctrl_0 { |
| /* OTS Interrupt Pinctrl */ |
| pat9150_ots_int_default: pat9150-ots-int-default { |
| samsung,pins = "gpa0-2"; |
| samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
| }; |
| }; |
| |