11329c1abSStephan Gerhold// SPDX-License-Identifier: GPL-2.0-only 21329c1abSStephan Gerhold 31329c1abSStephan Gerhold/dts-v1/; 41329c1abSStephan Gerhold 51329c1abSStephan Gerhold#include "msm8916-samsung-a2015-common.dtsi" 61329c1abSStephan Gerhold 71329c1abSStephan Gerhold/ { 81329c1abSStephan Gerhold model = "Samsung Galaxy A3U (EUR)"; 91329c1abSStephan Gerhold compatible = "samsung,a3u-eur", "qcom,msm8916"; 10eaa744b1SArnaud Ferraris chassis-type = "handset"; 114b20d470SMichael Srba 124b20d470SMichael Srba reg_panel_vdd3: regulator-panel-vdd3 { 134b20d470SMichael Srba compatible = "regulator-fixed"; 144b20d470SMichael Srba regulator-name = "panel_vdd3"; 154b20d470SMichael Srba regulator-min-microvolt = <1800000>; 164b20d470SMichael Srba regulator-max-microvolt = <1800000>; 174b20d470SMichael Srba 1841e22c2fSStephan Gerhold gpio = <&tlmm 9 GPIO_ACTIVE_HIGH>; 194b20d470SMichael Srba enable-active-high; 204b20d470SMichael Srba 214b20d470SMichael Srba pinctrl-names = "default"; 224b20d470SMichael Srba pinctrl-0 = <&panel_vdd3_default>; 234b20d470SMichael Srba }; 2492b5c397SMichael Srba 2592b5c397SMichael Srba reg_touch_key: regulator-touch-key { 2692b5c397SMichael Srba compatible = "regulator-fixed"; 2792b5c397SMichael Srba regulator-name = "touch_key"; 2892b5c397SMichael Srba regulator-min-microvolt = <2800000>; 2992b5c397SMichael Srba regulator-max-microvolt = <2800000>; 3092b5c397SMichael Srba 3141e22c2fSStephan Gerhold gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>; 3292b5c397SMichael Srba enable-active-high; 3392b5c397SMichael Srba 3492b5c397SMichael Srba pinctrl-names = "default"; 3592b5c397SMichael Srba pinctrl-0 = <&tkey_en_default>; 3692b5c397SMichael Srba }; 3792b5c397SMichael Srba 3892b5c397SMichael Srba reg_key_led: regulator-key-led { 3992b5c397SMichael Srba compatible = "regulator-fixed"; 4092b5c397SMichael Srba regulator-name = "key_led"; 4192b5c397SMichael Srba regulator-min-microvolt = <3300000>; 4292b5c397SMichael Srba regulator-max-microvolt = <3300000>; 4392b5c397SMichael Srba 4441e22c2fSStephan Gerhold gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>; 4592b5c397SMichael Srba enable-active-high; 4692b5c397SMichael Srba 4792b5c397SMichael Srba pinctrl-names = "default"; 4892b5c397SMichael Srba pinctrl-0 = <&tkey_led_en_default>; 4992b5c397SMichael Srba }; 5092b5c397SMichael Srba}; 5192b5c397SMichael Srba 52079f81acSStephan Gerhold&accelerometer { 53079f81acSStephan Gerhold mount-matrix = "0", "1", "0", 54079f81acSStephan Gerhold "1", "0", "0", 55079f81acSStephan Gerhold "0", "0", "1"; 56079f81acSStephan Gerhold}; 57079f81acSStephan Gerhold 58*6986a75dSRaymond Hackley&battery { 59*6986a75dSRaymond Hackley charge-term-current-microamp = <150000>; 60*6986a75dSRaymond Hackley constant-charge-current-max-microamp = <1000000>; 61*6986a75dSRaymond Hackley constant-charge-voltage-max-microvolt = <4350000>; 62*6986a75dSRaymond Hackley}; 63*6986a75dSRaymond Hackley 64e76be113SMichael Srba&blsp_i2c5 { 65e76be113SMichael Srba status = "okay"; 66e76be113SMichael Srba 67e76be113SMichael Srba touchscreen@20 { 68e76be113SMichael Srba compatible = "zinitix,bt541"; 69e76be113SMichael Srba 70e76be113SMichael Srba reg = <0x20>; 7141e22c2fSStephan Gerhold interrupt-parent = <&tlmm>; 72e76be113SMichael Srba interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 73e76be113SMichael Srba 74e76be113SMichael Srba touchscreen-size-x = <540>; 75e76be113SMichael Srba touchscreen-size-y = <960>; 76e76be113SMichael Srba 77d749d52eSLin, Meng-Bo vcca-supply = <®_vdd_tsp_a>; 78d749d52eSLin, Meng-Bo vdd-supply = <&pm8916_l6>; 79e76be113SMichael Srba 80e76be113SMichael Srba pinctrl-names = "default"; 81e76be113SMichael Srba pinctrl-0 = <&ts_int_default>; 82e76be113SMichael Srba }; 83e76be113SMichael Srba}; 84e76be113SMichael Srba 855ffe6187SNikita Travkin&clk_pwm { 865ffe6187SNikita Travkin status = "okay"; 875ffe6187SNikita Travkin}; 885ffe6187SNikita Travkin 89835f9395SStephan Gerhold&mdss_dsi0 { 904b20d470SMichael Srba panel@0 { 914b20d470SMichael Srba reg = <0>; 924b20d470SMichael Srba 934b20d470SMichael Srba compatible = "samsung,s6e88a0-ams452ef01"; 944b20d470SMichael Srba 954b20d470SMichael Srba vdd3-supply = <®_panel_vdd3>; 964b20d470SMichael Srba vci-supply = <&pm8916_l17>; 9741e22c2fSStephan Gerhold reset-gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>; 984b20d470SMichael Srba 994b20d470SMichael Srba port { 1004b20d470SMichael Srba panel_in: endpoint { 101835f9395SStephan Gerhold remote-endpoint = <&mdss_dsi0_out>; 1024b20d470SMichael Srba }; 1034b20d470SMichael Srba }; 1044b20d470SMichael Srba }; 105b2106c67SStephan Gerhold}; 1064b20d470SMichael Srba 107835f9395SStephan Gerhold&mdss_dsi0_out { 1084b20d470SMichael Srba data-lanes = <0 1>; 109b2106c67SStephan Gerhold remote-endpoint = <&panel_in>; 1104b20d470SMichael Srba}; 1114b20d470SMichael Srba 112b364cc48SStephan Gerhold&touchkey { 113b364cc48SStephan Gerhold vcc-supply = <®_touch_key>; 114b364cc48SStephan Gerhold vdd-supply = <®_key_led>; 115b364cc48SStephan Gerhold}; 116b364cc48SStephan Gerhold 1175ffe6187SNikita Travkin&vibrator { 1185ffe6187SNikita Travkin status = "okay"; 1195ffe6187SNikita Travkin}; 1205ffe6187SNikita Travkin 12132444424SStephan Gerhold&wcnss { 12232444424SStephan Gerhold status = "okay"; 12332444424SStephan Gerhold}; 12432444424SStephan Gerhold 12532444424SStephan Gerhold&wcnss_iris { 12632444424SStephan Gerhold compatible = "qcom,wcn3620"; 12732444424SStephan Gerhold}; 12832444424SStephan Gerhold 1290ece6438SStephan Gerhold&wcnss_mem { 1300ece6438SStephan Gerhold status = "okay"; 1310ece6438SStephan Gerhold}; 1320ece6438SStephan Gerhold 13341e22c2fSStephan Gerhold&tlmm { 1348b276ca0SKrzysztof Kozlowski panel_vdd3_default: panel-vdd3-default-state { 1356554a295SStephan Gerhold pins = "gpio9"; 1364b20d470SMichael Srba function = "gpio"; 1376554a295SStephan Gerhold 1384b20d470SMichael Srba drive-strength = <2>; 1394b20d470SMichael Srba bias-disable; 1404b20d470SMichael Srba }; 141e76be113SMichael Srba 1428b276ca0SKrzysztof Kozlowski tkey_en_default: tkey-en-default-state { 14392b5c397SMichael Srba pins = "gpio86"; 14492b5c397SMichael Srba function = "gpio"; 14592b5c397SMichael Srba 14692b5c397SMichael Srba drive-strength = <2>; 14792b5c397SMichael Srba bias-disable; 14892b5c397SMichael Srba }; 14992b5c397SMichael Srba 1508b276ca0SKrzysztof Kozlowski tkey_led_en_default: tkey-led-en-default-state { 15192b5c397SMichael Srba pins = "gpio60"; 15292b5c397SMichael Srba function = "gpio"; 15392b5c397SMichael Srba 15492b5c397SMichael Srba drive-strength = <2>; 15592b5c397SMichael Srba bias-disable; 15692b5c397SMichael Srba }; 1574b20d470SMichael Srba}; 158