1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 3 /dts-v1/; 3 /dts-v1/; 4 4 5 #include "msm8916-samsung-a2015-common.dtsi" 5 #include "msm8916-samsung-a2015-common.dtsi" 6 6 7 / { 7 / { 8 model = "Samsung Galaxy A3U (EUR)"; 8 model = "Samsung Galaxy A3U (EUR)"; 9 compatible = "samsung,a3u-eur", "qcom, 9 compatible = "samsung,a3u-eur", "qcom,msm8916"; 10 chassis-type = "handset"; 10 chassis-type = "handset"; 11 11 12 reg_panel_vdd3: regulator-panel-vdd3 { 12 reg_panel_vdd3: regulator-panel-vdd3 { 13 compatible = "regulator-fixed" 13 compatible = "regulator-fixed"; 14 regulator-name = "panel_vdd3"; 14 regulator-name = "panel_vdd3"; 15 regulator-min-microvolt = <180 15 regulator-min-microvolt = <1800000>; 16 regulator-max-microvolt = <180 16 regulator-max-microvolt = <1800000>; 17 17 18 gpio = <&tlmm 9 GPIO_ACTIVE_HI 18 gpio = <&tlmm 9 GPIO_ACTIVE_HIGH>; 19 enable-active-high; 19 enable-active-high; 20 20 21 pinctrl-names = "default"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&panel_vdd3_defau 22 pinctrl-0 = <&panel_vdd3_default>; 23 }; 23 }; 24 24 25 reg_touch_key: regulator-touch-key { 25 reg_touch_key: regulator-touch-key { 26 compatible = "regulator-fixed" 26 compatible = "regulator-fixed"; 27 regulator-name = "touch_key"; 27 regulator-name = "touch_key"; 28 regulator-min-microvolt = <280 28 regulator-min-microvolt = <2800000>; 29 regulator-max-microvolt = <280 29 regulator-max-microvolt = <2800000>; 30 30 31 gpio = <&tlmm 86 GPIO_ACTIVE_H 31 gpio = <&tlmm 86 GPIO_ACTIVE_HIGH>; 32 enable-active-high; 32 enable-active-high; 33 33 34 pinctrl-names = "default"; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&tkey_en_default> 35 pinctrl-0 = <&tkey_en_default>; 36 }; 36 }; 37 37 38 reg_key_led: regulator-key-led { 38 reg_key_led: regulator-key-led { 39 compatible = "regulator-fixed" 39 compatible = "regulator-fixed"; 40 regulator-name = "key_led"; 40 regulator-name = "key_led"; 41 regulator-min-microvolt = <330 41 regulator-min-microvolt = <3300000>; 42 regulator-max-microvolt = <330 42 regulator-max-microvolt = <3300000>; 43 43 44 gpio = <&tlmm 60 GPIO_ACTIVE_H 44 gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>; 45 enable-active-high; 45 enable-active-high; 46 46 47 pinctrl-names = "default"; 47 pinctrl-names = "default"; 48 pinctrl-0 = <&tkey_led_en_defa 48 pinctrl-0 = <&tkey_led_en_default>; 49 }; 49 }; 50 }; 50 }; 51 51 >> 52 &touchkey { >> 53 vcc-supply = <®_touch_key>; >> 54 vdd-supply = <®_key_led>; >> 55 }; >> 56 52 &accelerometer { 57 &accelerometer { 53 mount-matrix = "0", "1", "0", 58 mount-matrix = "0", "1", "0", 54 "1", "0", "0", 59 "1", "0", "0", 55 "0", "0", "1"; 60 "0", "0", "1"; 56 }; 61 }; 57 62 58 &battery { << 59 charge-term-current-microamp = <150000 << 60 constant-charge-current-max-microamp = << 61 constant-charge-voltage-max-microvolt << 62 }; << 63 << 64 &blsp_i2c5 { 63 &blsp_i2c5 { 65 status = "okay"; 64 status = "okay"; 66 65 67 touchscreen@20 { 66 touchscreen@20 { 68 compatible = "zinitix,bt541"; 67 compatible = "zinitix,bt541"; 69 68 70 reg = <0x20>; 69 reg = <0x20>; 71 interrupt-parent = <&tlmm>; 70 interrupt-parent = <&tlmm>; 72 interrupts = <13 IRQ_TYPE_EDGE 71 interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 73 72 74 touchscreen-size-x = <540>; 73 touchscreen-size-x = <540>; 75 touchscreen-size-y = <960>; 74 touchscreen-size-y = <960>; 76 75 77 vcca-supply = <®_vdd_tsp_a> 76 vcca-supply = <®_vdd_tsp_a>; 78 vdd-supply = <&pm8916_l6>; 77 vdd-supply = <&pm8916_l6>; 79 78 80 pinctrl-names = "default"; 79 pinctrl-names = "default"; 81 pinctrl-0 = <&ts_int_default>; 80 pinctrl-0 = <&ts_int_default>; 82 }; 81 }; 83 }; 82 }; 84 83 85 &clk_pwm { 84 &clk_pwm { 86 status = "okay"; 85 status = "okay"; 87 }; 86 }; 88 87 89 &mdss_dsi0 { 88 &mdss_dsi0 { 90 panel@0 { 89 panel@0 { 91 reg = <0>; 90 reg = <0>; 92 91 93 compatible = "samsung,s6e88a0- 92 compatible = "samsung,s6e88a0-ams452ef01"; 94 93 95 vdd3-supply = <®_panel_vdd3 94 vdd3-supply = <®_panel_vdd3>; 96 vci-supply = <&pm8916_l17>; 95 vci-supply = <&pm8916_l17>; 97 reset-gpios = <&tlmm 25 GPIO_A 96 reset-gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>; 98 97 99 port { 98 port { 100 panel_in: endpoint { 99 panel_in: endpoint { 101 remote-endpoin 100 remote-endpoint = <&mdss_dsi0_out>; 102 }; 101 }; 103 }; 102 }; 104 }; 103 }; 105 }; 104 }; 106 105 107 &mdss_dsi0_out { 106 &mdss_dsi0_out { 108 data-lanes = <0 1>; 107 data-lanes = <0 1>; 109 remote-endpoint = <&panel_in>; 108 remote-endpoint = <&panel_in>; 110 }; 109 }; 111 110 112 &touchkey { << 113 vcc-supply = <®_touch_key>; << 114 vdd-supply = <®_key_led>; << 115 }; << 116 << 117 &vibrator { 111 &vibrator { 118 status = "okay"; 112 status = "okay"; 119 }; 113 }; 120 114 121 &wcnss { 115 &wcnss { 122 status = "okay"; 116 status = "okay"; 123 }; 117 }; 124 118 125 &wcnss_iris { 119 &wcnss_iris { 126 compatible = "qcom,wcn3620"; 120 compatible = "qcom,wcn3620"; 127 }; << 128 << 129 &wcnss_mem { << 130 status = "okay"; << 131 }; 121 }; 132 122 133 &tlmm { 123 &tlmm { 134 panel_vdd3_default: panel-vdd3-default 124 panel_vdd3_default: panel-vdd3-default-state { 135 pins = "gpio9"; 125 pins = "gpio9"; 136 function = "gpio"; 126 function = "gpio"; 137 127 138 drive-strength = <2>; 128 drive-strength = <2>; 139 bias-disable; 129 bias-disable; 140 }; 130 }; 141 131 142 tkey_en_default: tkey-en-default-state 132 tkey_en_default: tkey-en-default-state { 143 pins = "gpio86"; 133 pins = "gpio86"; 144 function = "gpio"; 134 function = "gpio"; 145 135 146 drive-strength = <2>; 136 drive-strength = <2>; 147 bias-disable; 137 bias-disable; 148 }; 138 }; 149 139 150 tkey_led_en_default: tkey-led-en-defau 140 tkey_led_en_default: tkey-led-en-default-state { 151 pins = "gpio60"; 141 pins = "gpio60"; 152 function = "gpio"; 142 function = "gpio"; 153 143 154 drive-strength = <2>; 144 drive-strength = <2>; 155 bias-disable; 145 bias-disable; 156 }; 146 }; 157 }; 147 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.