Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: BSD-3-Clause |
| 2 | /* |
| 3 | * Copyright (c) 2023, Jack Matthews <jm5112356@gmail.com> |
| 4 | * Copyright (c) 2023, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com> |
| 5 | * Copyright (c) 2023, Dominik Kobinski <dominikkobinski314@gmail.com> |
| 6 | * Copyright (c) 2023, Rayyan Ansari <rayyan@ansari.sh> |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | #include "qcom-msm8226-microsoft-common.dtsi" |
| 12 | |
| 13 | /* This device has touchscreen on i2c3 instead */ |
| 14 | /delete-node/ &touchscreen; |
| 15 | |
| 16 | / { |
| 17 | model = "Nokia Lumia 735"; |
| 18 | compatible = "microsoft,superman-lte", "qcom,msm8926", "qcom,msm8226"; |
| 19 | chassis-type = "handset"; |
| 20 | }; |
| 21 | |
| 22 | &blsp1_i2c3 { |
| 23 | status = "okay"; |
| 24 | |
| 25 | touchscreen: touchscreen@4b { |
| 26 | compatible = "syna,rmi4-i2c"; |
| 27 | reg = <0x4b>; |
| 28 | |
| 29 | interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>; |
| 30 | vdd-supply = <&pm8226_l15>; |
| 31 | vio-supply = <&pm8226_l6>; |
| 32 | |
| 33 | pinctrl-0 = <&touchscreen_default>; |
| 34 | pinctrl-names = "default"; |
| 35 | |
| 36 | #address-cells = <1>; |
| 37 | #size-cells = <0>; |
| 38 | |
| 39 | rmi4-f01@1 { |
| 40 | reg = <0x01>; |
| 41 | syna,nosleep-mode = <1>; |
| 42 | }; |
| 43 | |
| 44 | rmi4-f11@11 { |
| 45 | reg = <0x11>; |
| 46 | syna,sensor-type = <1>; |
| 47 | }; |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | &blsp1_i2c5 { |
| 52 | status = "disabled"; |
| 53 | }; |