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