1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2023, Jack Matthews <jm5112356 3 * Copyright (c) 2023, Jack Matthews <jm5112356@gmail.com> 4 * Copyright (c) 2023, Ivaylo Ivanov <ivo.ivano 4 * Copyright (c) 2023, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com> 5 * Copyright (c) 2023, Dominik Kobinski <domini 5 * Copyright (c) 2023, Dominik Kobinski <dominikkobinski314@gmail.com> 6 * Copyright (c) 2023, Rayyan Ansari <rayyan@an 6 * Copyright (c) 2023, Rayyan Ansari <rayyan@ansari.sh> 7 */ 7 */ 8 8 9 /dts-v1/; 9 /dts-v1/; 10 10 11 #include "qcom-msm8226-microsoft-common.dtsi" 11 #include "qcom-msm8226-microsoft-common.dtsi" 12 12 13 /* This device has touchscreen on i2c1 instead 13 /* This device has touchscreen on i2c1 instead */ 14 /delete-node/ &touchscreen; 14 /delete-node/ &touchscreen; 15 15 16 /* The magnetometer used on this device is cur 16 /* The magnetometer used on this device is currently unknown */ 17 /delete-node/ &magnetometer; 17 /delete-node/ &magnetometer; 18 18 19 / { 19 / { 20 model = "Nokia Lumia 830"; 20 model = "Nokia Lumia 830"; 21 compatible = "microsoft,tesla", "qcom, 21 compatible = "microsoft,tesla", "qcom,msm8926", "qcom,msm8226"; 22 chassis-type = "handset"; 22 chassis-type = "handset"; 23 }; 23 }; 24 24 25 &blsp1_i2c1 { 25 &blsp1_i2c1 { 26 status = "okay"; 26 status = "okay"; 27 27 28 touchscreen: touchscreen@4b { 28 touchscreen: touchscreen@4b { 29 compatible = "syna,rmi4-i2c"; 29 compatible = "syna,rmi4-i2c"; 30 reg = <0x4b>; 30 reg = <0x4b>; 31 31 32 interrupts-extended = <&tlmm 1 32 interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>; 33 vdd-supply = <&pm8226_l15>; 33 vdd-supply = <&pm8226_l15>; 34 vio-supply = <&pm8226_l6>; 34 vio-supply = <&pm8226_l6>; 35 35 36 pinctrl-0 = <&touchscreen_defa 36 pinctrl-0 = <&touchscreen_default>; 37 pinctrl-names = "default"; 37 pinctrl-names = "default"; 38 38 39 #address-cells = <1>; 39 #address-cells = <1>; 40 #size-cells = <0>; 40 #size-cells = <0>; 41 41 42 rmi4-f01@1 { 42 rmi4-f01@1 { 43 reg = <0x01>; 43 reg = <0x01>; 44 syna,nosleep-mode = <1 44 syna,nosleep-mode = <1>; 45 }; 45 }; 46 46 47 rmi4-f12@12 { 47 rmi4-f12@12 { 48 reg = <0x12>; 48 reg = <0x12>; 49 syna,sensor-type = <1> 49 syna,sensor-type = <1>; 50 }; 50 }; 51 }; 51 }; 52 }; 52 }; 53 53 54 &blsp1_i2c5 { 54 &blsp1_i2c5 { 55 status = "disabled"; 55 status = "disabled"; 56 }; 56 }; 57 57 58 &gpio_keys { 58 &gpio_keys { 59 key-camera-snapshot { 59 key-camera-snapshot { 60 label = "Camera Snapshot"; 60 label = "Camera Snapshot"; 61 gpios = <&tlmm 107 GPIO_ACTIVE 61 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; 62 linux,code = <KEY_CAMERA>; 62 linux,code = <KEY_CAMERA>; 63 }; 63 }; 64 64 65 key-camera-focus { 65 key-camera-focus { 66 label = "Camera Focus"; 66 label = "Camera Focus"; 67 gpios = <&tlmm 108 GPIO_ACTIVE 67 gpios = <&tlmm 108 GPIO_ACTIVE_LOW>; 68 linux,code = <KEY_CAMERA_FOCUS 68 linux,code = <KEY_CAMERA_FOCUS>; 69 }; 69 }; 70 }; 70 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.