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