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 A3U (EUR)"; 9 compatible = "samsung,a3u-eur", "qcom,msm8916"; 10 11 reg_panel_vdd3: regulator-panel-vdd3 { 12 compatible = "regulator-fixed"; 13 regulator-name = "panel_vdd3"; 14 regulator-min-microvolt = <1800000>; 15 regulator-max-microvolt = <1800000>; 16 17 gpio = <&msmgpio 9 GPIO_ACTIVE_HIGH>; 18 enable-active-high; 19 20 pinctrl-names = "default"; 21 pinctrl-0 = <&panel_vdd3_default>; 22 }; 23 24 reg_touch_key: regulator-touch-key { 25 compatible = "regulator-fixed"; 26 regulator-name = "touch_key"; 27 regulator-min-microvolt = <2800000>; 28 regulator-max-microvolt = <2800000>; 29 30 gpio = <&msmgpio 86 GPIO_ACTIVE_HIGH>; 31 enable-active-high; 32 33 pinctrl-names = "default"; 34 pinctrl-0 = <&tkey_en_default>; 35 }; 36 37 reg_key_led: regulator-key-led { 38 compatible = "regulator-fixed"; 39 regulator-name = "key_led"; 40 regulator-min-microvolt = <3300000>; 41 regulator-max-microvolt = <3300000>; 42 43 gpio = <&msmgpio 60 GPIO_ACTIVE_HIGH>; 44 enable-active-high; 45 46 pinctrl-names = "default"; 47 pinctrl-0 = <&tkey_led_en_default>; 48 }; 49}; 50 51&touchkey { 52 vcc-supply = <®_touch_key>; 53 vdd-supply = <®_key_led>; 54}; 55 56&accelerometer { 57 mount-matrix = "0", "1", "0", 58 "1", "0", "0", 59 "0", "0", "1"; 60}; 61 62&blsp_i2c5 { 63 status = "okay"; 64 65 touchscreen@20 { 66 compatible = "zinitix,bt541"; 67 68 reg = <0x20>; 69 interrupt-parent = <&msmgpio>; 70 interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 71 72 touchscreen-size-x = <540>; 73 touchscreen-size-y = <960>; 74 75 vdd-supply = <®_vdd_tsp>; 76 vddo-supply = <&pm8916_l6>; 77 78 pinctrl-names = "default"; 79 pinctrl-0 = <&ts_int_default>; 80 }; 81}; 82 83&dsi0 { 84 panel@0 { 85 reg = <0>; 86 87 compatible = "samsung,s6e88a0-ams452ef01"; 88 89 vdd3-supply = <®_panel_vdd3>; 90 vci-supply = <&pm8916_l17>; 91 reset-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>; 92 93 port { 94 panel_in: endpoint { 95 remote-endpoint = <&dsi0_out>; 96 }; 97 }; 98 }; 99}; 100 101&dsi0_out { 102 data-lanes = <0 1>; 103 remote-endpoint = <&panel_in>; 104}; 105 106&msmgpio { 107 panel_vdd3_default: panel-vdd3-default { 108 pins = "gpio9"; 109 function = "gpio"; 110 111 drive-strength = <2>; 112 bias-disable; 113 }; 114 115 tkey_en_default: tkey-en-default { 116 pins = "gpio86"; 117 function = "gpio"; 118 119 drive-strength = <2>; 120 bias-disable; 121 }; 122 123 tkey_led_en_default: tkey-led-en-default { 124 pins = "gpio60"; 125 function = "gpio"; 126 127 drive-strength = <2>; 128 bias-disable; 129 }; 130 131 ts_int_default: ts-int-default { 132 pins = "gpio13"; 133 function = "gpio"; 134 135 drive-strength = <2>; 136 bias-disable; 137 }; 138}; 139