Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 
0003 /dts-v1/;
0004 
0005 #include "msm8916-samsung-a2015-common.dtsi"
0006 
0007 / {
0008         model = "Samsung Galaxy A3U (EUR)";
0009         compatible = "samsung,a3u-eur", "qcom,msm8916";
0010         chassis-type = "handset";
0011 
0012         reg_panel_vdd3: regulator-panel-vdd3 {
0013                 compatible = "regulator-fixed";
0014                 regulator-name = "panel_vdd3";
0015                 regulator-min-microvolt = <1800000>;
0016                 regulator-max-microvolt = <1800000>;
0017 
0018                 gpio = <&msmgpio 9 GPIO_ACTIVE_HIGH>;
0019                 enable-active-high;
0020 
0021                 pinctrl-names = "default";
0022                 pinctrl-0 = <&panel_vdd3_default>;
0023         };
0024 
0025         reg_touch_key: regulator-touch-key {
0026                 compatible = "regulator-fixed";
0027                 regulator-name = "touch_key";
0028                 regulator-min-microvolt = <2800000>;
0029                 regulator-max-microvolt = <2800000>;
0030 
0031                 gpio = <&msmgpio 86 GPIO_ACTIVE_HIGH>;
0032                 enable-active-high;
0033 
0034                 pinctrl-names = "default";
0035                 pinctrl-0 = <&tkey_en_default>;
0036         };
0037 
0038         reg_key_led: regulator-key-led {
0039                 compatible = "regulator-fixed";
0040                 regulator-name = "key_led";
0041                 regulator-min-microvolt = <3300000>;
0042                 regulator-max-microvolt = <3300000>;
0043 
0044                 gpio = <&msmgpio 60 GPIO_ACTIVE_HIGH>;
0045                 enable-active-high;
0046 
0047                 pinctrl-names = "default";
0048                 pinctrl-0 = <&tkey_led_en_default>;
0049         };
0050 };
0051 
0052 &touchkey {
0053         vcc-supply = <&reg_touch_key>;
0054         vdd-supply = <&reg_key_led>;
0055 };
0056 
0057 &accelerometer {
0058         mount-matrix = "0", "1", "0",
0059                        "1", "0", "0",
0060                        "0", "0", "1";
0061 };
0062 
0063 &blsp_i2c5 {
0064         status = "okay";
0065 
0066         touchscreen@20 {
0067                 compatible = "zinitix,bt541";
0068 
0069                 reg = <0x20>;
0070                 interrupt-parent = <&msmgpio>;
0071                 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
0072 
0073                 touchscreen-size-x = <540>;
0074                 touchscreen-size-y = <960>;
0075 
0076                 vdd-supply = <&reg_vdd_tsp>;
0077                 vddo-supply = <&pm8916_l6>;
0078 
0079                 pinctrl-names = "default";
0080                 pinctrl-0 = <&ts_int_default>;
0081         };
0082 };
0083 
0084 &dsi0 {
0085         panel@0 {
0086                 reg = <0>;
0087 
0088                 compatible = "samsung,s6e88a0-ams452ef01";
0089 
0090                 vdd3-supply = <&reg_panel_vdd3>;
0091                 vci-supply = <&pm8916_l17>;
0092                 reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
0093 
0094                 port {
0095                         panel_in: endpoint {
0096                                 remote-endpoint = <&dsi0_out>;
0097                         };
0098                 };
0099         };
0100 };
0101 
0102 &dsi0_out {
0103         data-lanes = <0 1>;
0104         remote-endpoint = <&panel_in>;
0105 };
0106 
0107 &msmgpio {
0108         panel_vdd3_default: panel-vdd3-default {
0109                 pins = "gpio9";
0110                 function = "gpio";
0111 
0112                 drive-strength = <2>;
0113                 bias-disable;
0114         };
0115 
0116         tkey_en_default: tkey-en-default {
0117                 pins = "gpio86";
0118                 function = "gpio";
0119 
0120                 drive-strength = <2>;
0121                 bias-disable;
0122         };
0123 
0124         tkey_led_en_default: tkey-led-en-default {
0125                 pins = "gpio60";
0126                 function = "gpio";
0127 
0128                 drive-strength = <2>;
0129                 bias-disable;
0130         };
0131 };