Home | History | Annotate | Line # | Download | only in qcom
      1 // SPDX-License-Identifier: GPL-2.0-only
      2 
      3 /dts-v1/;
      4 
      5 #include "msm8916-samsung-a2015-common.dtsi"
      6 
      7 / {
      8 	model = "Samsung Galaxy A5U (EUR)";
      9 	compatible = "samsung,a5u-eur", "qcom,msm8916";
     10 
     11 	reg_touch_key: regulator-touch-key {
     12 		compatible = "regulator-fixed";
     13 		regulator-name = "touch_key";
     14 		regulator-min-microvolt = <3300000>;
     15 		regulator-max-microvolt = <3300000>;
     16 
     17 		gpio = <&msmgpio 97 GPIO_ACTIVE_HIGH>;
     18 		enable-active-high;
     19 
     20 		pinctrl-names = "default";
     21 		pinctrl-0 = <&tkey_en_default>;
     22 	};
     23 };
     24 
     25 &accelerometer {
     26 	mount-matrix = "-1", "0", "0",
     27 			"0", "1", "0",
     28 			"0", "0", "1";
     29 };
     30 
     31 &blsp_i2c5 {
     32 	status = "okay";
     33 
     34 	touchscreen@48 {
     35 		compatible = "melfas,mms345l";
     36 
     37 		reg = <0x48>;
     38 		interrupt-parent = <&msmgpio>;
     39 		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
     40 
     41 		touchscreen-size-x = <720>;
     42 		touchscreen-size-y = <1280>;
     43 
     44 		avdd-supply = <&reg_vdd_tsp>;
     45 		vdd-supply = <&pm8916_l6>;
     46 
     47 		pinctrl-names = "default";
     48 		pinctrl-0 = <&ts_int_default>;
     49 	};
     50 };
     51 
     52 &pronto {
     53 	iris {
     54 		compatible = "qcom,wcn3660b";
     55 	};
     56 };
     57 
     58 &touchkey {
     59 	vcc-supply = <&reg_touch_key>;
     60 	vdd-supply = <&reg_touch_key>;
     61 };
     62 
     63 &msmgpio {
     64 	tkey_en_default: tkey-en-default {
     65 		pins = "gpio97";
     66 		function = "gpio";
     67 
     68 		drive-strength = <2>;
     69 		bias-disable;
     70 	};
     71 
     72 	ts_int_default: ts-int-default {
     73 		pins = "gpio13";
     74 		function = "gpio";
     75 
     76 		drive-strength = <2>;
     77 		bias-disable;
     78 	};
     79 };
     80