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