1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 3 * Copyright (c) 2022, Matti Lehtimäki <matti.lehtimaki@gmail.com> 4 */ 5 6 /dts-v1/; 7 8 #include "qcom-msm8226-samsung-matisse-common.dtsi" 9 10 / { 11 model = "Samsung Galaxy Tab 4 10.1"; 12 compatible = "samsung,matisse-wifi", "qcom,apq8026"; 13 chassis-type = "tablet"; 14 15 reg_tsp_3p3v: regulator-tsp-3p3v { 16 compatible = "regulator-fixed"; 17 regulator-name = "tsp_3p3v"; 18 regulator-min-microvolt = <3300000>; 19 regulator-max-microvolt = <3300000>; 20 21 gpio = <&tlmm 73 GPIO_ACTIVE_HIGH>; 22 enable-active-high; 23 24 pinctrl-names = "default"; 25 pinctrl-0 = <&tsp_en1_default_state>; 26 }; 27 }; 28 29 &blsp1_i2c2 { 30 status = "okay"; 31 32 accelerometer@1d { 33 compatible = "st,lis2hh12"; 34 reg = <0x1d>; 35 36 interrupt-parent = <&tlmm>; 37 interrupts = <54 IRQ_TYPE_LEVEL_HIGH>; 38 39 pinctrl-names = "default"; 40 pinctrl-0 = <&accel_int_default_state>; 41 42 st,drdy-int-pin = <1>; 43 44 vdd-supply = <&pm8226_l19>; 45 vddio-supply = <&pm8226_lvs1>; 46 }; 47 }; 48 49 &blsp1_i2c5 { 50 status = "okay"; 51 52 touchscreen@4a { 53 compatible = "atmel,maxtouch"; 54 reg = <0x4a>; 55 56 interrupt-parent = <&tlmm>; 57 interrupts = <17 IRQ_TYPE_LEVEL_LOW>; 58 59 linux,keycodes = <KEY_RESERVED>, 60 <KEY_RESERVED>, 61 <KEY_RESERVED>, 62 <KEY_RESERVED>, 63 <KEY_APPSELECT>, 64 <KEY_BACK>; 65 66 pinctrl-names = "default"; 67 pinctrl-0 = <&tsp_int_rst_default_state>; 68 69 reset-gpios = <&pm8226_gpios 6 GPIO_ACTIVE_LOW>; 70 71 vdd-supply = <®_tsp_1p8v>; 72 vdda-supply = <®_tsp_3p3v>; 73 }; 74 }; 75 76 &pm8226_l3 { 77 regulator-max-microvolt = <1337500>; 78 }; 79 80 &pm8226_s4 { 81 regulator-max-microvolt = <1800000>; 82 }; 83 84 &tlmm { 85 tsp_en1_default_state: tsp-en1-default-state { 86 pins = "gpio73"; 87 function = "gpio"; 88 drive-strength = <2>; 89 bias-disable; 90 }; 91 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.