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-pm8916.dtsi" 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" << 7 6 8 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq 9 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/leds/common.h> 12 11 13 /* 12 /* 14 * NOTE: The original firmware from Acer can o 13 * NOTE: The original firmware from Acer can only boot 32-bit kernels. 15 * To boot this device tree using arm64 it is 14 * To boot this device tree using arm64 it is necessary to flash 64-bit 16 * TZ/HYP firmware (e.g. taken from the Dragon 15 * TZ/HYP firmware (e.g. taken from the DragonBoard 410c). 17 * See https://wiki.postmarketos.org/wiki/Acer 16 * See https://wiki.postmarketos.org/wiki/Acer_Iconia_Talk_S_(acer-a1-724) 18 * for suggested installation instructions. 17 * for suggested installation instructions. 19 */ 18 */ 20 19 21 / { 20 / { 22 model = "Acer Iconia Talk S A1-724"; 21 model = "Acer Iconia Talk S A1-724"; 23 compatible = "acer,a1-724", "qcom,msm8 22 compatible = "acer,a1-724", "qcom,msm8916"; 24 chassis-type = "tablet"; 23 chassis-type = "tablet"; 25 24 26 aliases { 25 aliases { 27 mmc0 = &sdhc_1; /* eMMC */ 26 mmc0 = &sdhc_1; /* eMMC */ 28 mmc1 = &sdhc_2; /* SD card */ 27 mmc1 = &sdhc_2; /* SD card */ 29 serial0 = &blsp_uart2; 28 serial0 = &blsp_uart2; 30 }; 29 }; 31 30 32 chosen { 31 chosen { 33 stdout-path = "serial0"; 32 stdout-path = "serial0"; 34 }; 33 }; 35 34 36 gpio-keys { 35 gpio-keys { 37 compatible = "gpio-keys"; 36 compatible = "gpio-keys"; 38 37 39 pinctrl-names = "default"; 38 pinctrl-names = "default"; 40 pinctrl-0 = <&gpio_keys_defaul 39 pinctrl-0 = <&gpio_keys_default>; 41 40 42 label = "GPIO Buttons"; 41 label = "GPIO Buttons"; 43 42 44 button-volume-up { 43 button-volume-up { 45 label = "Volume Up"; 44 label = "Volume Up"; 46 gpios = <&tlmm 107 GPI 45 gpios = <&tlmm 107 GPIO_ACTIVE_LOW>; 47 linux,code = <KEY_VOLU 46 linux,code = <KEY_VOLUMEUP>; 48 }; 47 }; 49 }; 48 }; 50 49 51 usb_id: usb-id { 50 usb_id: usb-id { 52 compatible = "linux,extcon-usb 51 compatible = "linux,extcon-usb-gpio"; 53 id-gpios = <&tlmm 110 GPIO_ACT 52 id-gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>; 54 pinctrl-names = "default"; 53 pinctrl-names = "default"; 55 pinctrl-0 = <&usb_id_default>; 54 pinctrl-0 = <&usb_id_default>; 56 }; 55 }; 57 }; 56 }; 58 57 59 &blsp_i2c2 { 58 &blsp_i2c2 { 60 status = "okay"; 59 status = "okay"; 61 60 62 accelerometer@10 { 61 accelerometer@10 { 63 compatible = "bosch,bmc150_acc 62 compatible = "bosch,bmc150_accel"; 64 reg = <0x10>; 63 reg = <0x10>; 65 interrupt-parent = <&tlmm>; 64 interrupt-parent = <&tlmm>; 66 interrupts = <115 IRQ_TYPE_EDG 65 interrupts = <115 IRQ_TYPE_EDGE_RISING>; 67 66 68 vdd-supply = <&pm8916_l17>; 67 vdd-supply = <&pm8916_l17>; 69 vddio-supply = <&pm8916_l6>; 68 vddio-supply = <&pm8916_l6>; 70 69 71 pinctrl-names = "default"; 70 pinctrl-names = "default"; 72 pinctrl-0 = <&accel_int_defaul 71 pinctrl-0 = <&accel_int_default>; 73 72 74 mount-matrix = "0", "-1", "0", 73 mount-matrix = "0", "-1", "0", 75 "-1", "0", "0", 74 "-1", "0", "0", 76 "0", "0", "1"; 75 "0", "0", "1"; 77 }; 76 }; 78 77 79 magnetometer@12 { 78 magnetometer@12 { 80 compatible = "bosch,bmc150_mag 79 compatible = "bosch,bmc150_magn"; 81 reg = <0x12>; 80 reg = <0x12>; 82 81 83 vdd-supply = <&pm8916_l17>; 82 vdd-supply = <&pm8916_l17>; 84 vddio-supply = <&pm8916_l6>; 83 vddio-supply = <&pm8916_l6>; 85 }; 84 }; 86 }; 85 }; 87 86 88 &blsp_i2c4 { 87 &blsp_i2c4 { 89 status = "okay"; 88 status = "okay"; 90 89 91 led-controller@30 { 90 led-controller@30 { 92 compatible = "kinetic,ktd2026" 91 compatible = "kinetic,ktd2026"; 93 reg = <0x30>; 92 reg = <0x30>; 94 #address-cells = <1>; 93 #address-cells = <1>; 95 #size-cells = <0>; 94 #size-cells = <0>; 96 95 97 led@0 { 96 led@0 { 98 reg = <0>; 97 reg = <0>; 99 function = LED_FUNCTIO 98 function = LED_FUNCTION_STATUS; 100 color = <LED_COLOR_ID_ 99 color = <LED_COLOR_ID_RED>; 101 }; 100 }; 102 101 103 led@1 { 102 led@1 { 104 reg = <1>; 103 reg = <1>; 105 function = LED_FUNCTIO 104 function = LED_FUNCTION_STATUS; 106 color = <LED_COLOR_ID_ 105 color = <LED_COLOR_ID_GREEN>; 107 }; 106 }; 108 }; 107 }; 109 }; 108 }; 110 109 111 &blsp_i2c5 { 110 &blsp_i2c5 { 112 status = "okay"; 111 status = "okay"; 113 112 114 touchscreen@38 { 113 touchscreen@38 { 115 /* Actually ft5446 */ 114 /* Actually ft5446 */ 116 compatible = "edt,edt-ft5406"; 115 compatible = "edt,edt-ft5406"; 117 reg = <0x38>; 116 reg = <0x38>; 118 117 119 interrupt-parent = <&tlmm>; 118 interrupt-parent = <&tlmm>; 120 interrupts = <13 IRQ_TYPE_LEVE 119 interrupts = <13 IRQ_TYPE_LEVEL_LOW>; 121 120 122 reset-gpios = <&tlmm 12 GPIO_A 121 reset-gpios = <&tlmm 12 GPIO_ACTIVE_LOW>; 123 122 124 vcc-supply = <&pm8916_l16>; 123 vcc-supply = <&pm8916_l16>; 125 iovcc-supply = <&pm8916_l6>; 124 iovcc-supply = <&pm8916_l6>; 126 125 127 touchscreen-size-x = <720>; 126 touchscreen-size-x = <720>; 128 touchscreen-size-y = <1280>; 127 touchscreen-size-y = <1280>; 129 128 130 pinctrl-names = "default"; 129 pinctrl-names = "default"; 131 pinctrl-0 = <&touchscreen_defa 130 pinctrl-0 = <&touchscreen_default>; 132 }; 131 }; 133 }; 132 }; 134 133 135 &blsp_uart2 { 134 &blsp_uart2 { 136 status = "okay"; 135 status = "okay"; 137 }; 136 }; 138 137 139 &mpss_mem { << 140 reg = <0x0 0x86800000 0x0 0x4500000>; << 141 }; << 142 << 143 &pm8916_codec { << 144 qcom,micbias-lvl = <2800>; << 145 qcom,mbhc-vthreshold-low = <150 237 45 << 146 qcom,mbhc-vthreshold-high = <150 237 4 << 147 qcom,hphl-jack-type-normally-open; << 148 }; << 149 << 150 &pm8916_resin { 138 &pm8916_resin { 151 linux,code = <KEY_VOLUMEDOWN>; 139 linux,code = <KEY_VOLUMEDOWN>; 152 status = "okay"; 140 status = "okay"; 153 }; 141 }; 154 142 155 &pm8916_rpm_regulators { 143 &pm8916_rpm_regulators { 156 pm8916_l16: l16 { 144 pm8916_l16: l16 { 157 regulator-min-microvolt = <290 145 regulator-min-microvolt = <2900000>; 158 regulator-max-microvolt = <290 146 regulator-max-microvolt = <2900000>; 159 }; 147 }; 160 148 161 pm8916_l17: l17 { 149 pm8916_l17: l17 { 162 regulator-min-microvolt = <285 150 regulator-min-microvolt = <2850000>; 163 regulator-max-microvolt = <285 151 regulator-max-microvolt = <2850000>; 164 }; 152 }; 165 }; 153 }; 166 154 167 &pm8916_vib { 155 &pm8916_vib { 168 status = "okay"; 156 status = "okay"; 169 }; 157 }; 170 158 171 &sdhc_1 { 159 &sdhc_1 { 172 status = "okay"; 160 status = "okay"; 173 }; 161 }; 174 162 175 &sdhc_2 { 163 &sdhc_2 { 176 pinctrl-names = "default", "sleep"; 164 pinctrl-names = "default", "sleep"; 177 pinctrl-0 = <&sdc2_default &sdc2_cd_de 165 pinctrl-0 = <&sdc2_default &sdc2_cd_default>; 178 pinctrl-1 = <&sdc2_sleep &sdc2_cd_defa 166 pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; 179 167 180 cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH> 168 cd-gpios = <&tlmm 38 GPIO_ACTIVE_HIGH>; 181 169 182 status = "okay"; 170 status = "okay"; 183 }; << 184 << 185 &sound { << 186 model = "acer-a1-724"; << 187 audio-routing = << 188 "DMIC1", "MIC BIAS External1", << 189 "DMIC1", "Digital Mic1", << 190 "AMIC2", "MIC BIAS Internal2", << 191 "DMIC2", "MIC BIAS External1", << 192 "DMIC2", "Digital Mic2"; << 193 << 194 pinctrl-0 = <&cdc_pdm_default &sec_mi2 << 195 pinctrl-1 = <&cdc_pdm_sleep &sec_mi2s_ << 196 pinctrl-names = "default", "sleep"; << 197 }; 171 }; 198 172 199 &usb { 173 &usb { 200 extcon = <&usb_id>, <&usb_id>; 174 extcon = <&usb_id>, <&usb_id>; 201 status = "okay"; 175 status = "okay"; 202 }; 176 }; 203 177 204 &usb_hs_phy { 178 &usb_hs_phy { 205 extcon = <&usb_id>; 179 extcon = <&usb_id>; 206 }; 180 }; 207 181 208 &venus { 182 &venus { 209 status = "okay"; 183 status = "okay"; 210 }; 184 }; 211 185 212 &venus_mem { 186 &venus_mem { 213 status = "okay"; 187 status = "okay"; 214 }; 188 }; 215 189 216 &wcnss { 190 &wcnss { 217 status = "okay"; 191 status = "okay"; 218 }; 192 }; 219 193 220 &wcnss_iris { 194 &wcnss_iris { 221 compatible = "qcom,wcn3620"; 195 compatible = "qcom,wcn3620"; 222 }; 196 }; 223 197 224 &wcnss_mem { 198 &wcnss_mem { 225 status = "okay"; 199 status = "okay"; 226 }; 200 }; 227 201 228 &tlmm { 202 &tlmm { 229 accel_int_default: accel-int-default-s 203 accel_int_default: accel-int-default-state { 230 pins = "gpio115"; 204 pins = "gpio115"; 231 function = "gpio"; 205 function = "gpio"; 232 206 233 drive-strength = <2>; 207 drive-strength = <2>; 234 bias-disable; 208 bias-disable; 235 }; 209 }; 236 210 237 gpio_keys_default: gpio-keys-default-s 211 gpio_keys_default: gpio-keys-default-state { 238 pins = "gpio107"; 212 pins = "gpio107"; 239 function = "gpio"; 213 function = "gpio"; 240 214 241 drive-strength = <2>; 215 drive-strength = <2>; 242 bias-pull-up; 216 bias-pull-up; 243 }; 217 }; 244 218 245 sdc2_cd_default: sdc2-cd-default-state 219 sdc2_cd_default: sdc2-cd-default-state { 246 pins = "gpio38"; 220 pins = "gpio38"; 247 function = "gpio"; 221 function = "gpio"; 248 drive-strength = <2>; 222 drive-strength = <2>; 249 bias-disable; 223 bias-disable; 250 }; 224 }; 251 225 252 touchscreen_default: touchscreen-defau 226 touchscreen_default: touchscreen-default-state { 253 reset-pins { 227 reset-pins { 254 pins = "gpio12"; 228 pins = "gpio12"; 255 function = "gpio"; 229 function = "gpio"; 256 drive-strength = <2>; 230 drive-strength = <2>; 257 bias-disable; 231 bias-disable; 258 }; 232 }; 259 233 260 touchscreen-pins { 234 touchscreen-pins { 261 pins = "gpio13"; 235 pins = "gpio13"; 262 function = "gpio"; 236 function = "gpio"; 263 drive-strength = <2>; 237 drive-strength = <2>; 264 bias-pull-up; 238 bias-pull-up; 265 }; 239 }; 266 }; 240 }; 267 241 268 usb_id_default: usb-id-default-state { 242 usb_id_default: usb-id-default-state { 269 pins = "gpio110"; 243 pins = "gpio110"; 270 function = "gpio"; 244 function = "gpio"; 271 245 272 drive-strength = <8>; 246 drive-strength = <8>; 273 bias-pull-up; 247 bias-pull-up; 274 }; 248 }; 275 }; 249 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.