FILE
mt8183-kukui-jacuzzi.dtsi
File preview with syntax highlighting.
linux-6.19.14/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi
1// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2/* 3 * Copyright 2021 Google LLC 4 */ 5 6#include "mt8183-kukui.dtsi" 7/* Must come after mt8183-kukui.dtsi to modify cros_ec */ 8#include <arm/cros-ec-keyboard.dtsi> 9 10/ { 11 pp1000_mipibrdg: pp1000-mipibrdg { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp1000_mipibrdg"; 14 regulator-min-microvolt = <1000000>; 15 regulator-max-microvolt = <1000000>; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pp1000_mipibrdg_en>; 18 19 enable-active-high; 20 regulator-boot-on; 21 22 gpio = <&pio 54 GPIO_ACTIVE_HIGH>; 23 vin-supply = <&pp1800_alw>; 24 }; 25 26 pp1800_mipibrdg: pp1800-mipibrdg { 27 compatible = "regulator-fixed"; 28 regulator-name = "pp1800_mipibrdg"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pp1800_mipibrdg_en>; 31 32 enable-active-high; 33 regulator-boot-on; 34 35 gpio = <&pio 36 GPIO_ACTIVE_HIGH>; 36 vin-supply = <&pp1800_alw>; 37 }; 38 39 pp3300_panel: pp3300-panel { 40 compatible = "regulator-fixed"; 41 regulator-name = "pp3300_panel"; 42 pinctrl-names = "default"; 43 pinctrl-0 = <&pp3300_panel_pins>; 44 45 enable-active-high; 46 regulator-boot-on; 47 48 gpio = <&pio 35 GPIO_ACTIVE_HIGH>; 49 vin-supply = <&pp3300_alw>; 50 }; 51 52 pp3300_mipibrdg: pp3300-mipibrdg { 53 compatible = "regulator-fixed"; 54 regulator-name = "pp3300_mipibrdg"; 55 pinctrl-names = "default"; 56 pinctrl-0 = <&pp3300_mipibrdg_en>; 57 58 enable-active-high; 59 regulator-boot-on; 60 61 gpio = <&pio 37 GPIO_ACTIVE_HIGH>; 62 vin-supply = <&pp3300_alw>; 63 }; 64 65 volume_buttons: volume-buttons { 66 compatible = "gpio-keys"; 67 pinctrl-names = "default"; 68 pinctrl-0 = <&volume_button_pins>; 69 70 button-volume-down { 71 label = "Volume Down"; 72 linux,code = <KEY_VOLUMEDOWN>; 73 debounce-interval = <100>; 74 75 gpios = <&pio 6 GPIO_ACTIVE_LOW>; 76 }; 77 78 button-volume-up { 79 label = "Volume Up"; 80 linux,code = <KEY_VOLUMEUP>; 81 debounce-interval = <100>; 82 83 gpios = <&pio 5 GPIO_ACTIVE_LOW>; 84 }; 85 }; 86}; 87 88&cros_ec { 89 cros_ec_pwm: pwm { 90 compatible = "google,cros-ec-pwm"; 91 #pwm-cells = <1>; 92 status = "disabled"; 93 }; 94}; 95 96&dsi_out { 97 remote-endpoint = <&anx7625_in>; 98}; 99 100&i2c0 { 101 status = "okay"; 102 103 touchscreen: touchscreen@10 { 104 compatible = "elan,ekth3500"; 105 reg = <0x10>; 106 107 pinctrl-names = "default"; 108 pinctrl-0 = <&touchscreen_pins>; 109 110 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; 111 112 reset-gpios = <&pio 156 GPIO_ACTIVE_LOW>; 113 }; 114}; 115 116&i2c2 { 117 pinctrl-names = "default"; 118 pinctrl-0 = <&i2c2_pins>; 119 status = "okay"; 120 clock-frequency = <400000>; 121 122 trackpad@15 { 123 compatible = "elan,ekth3000"; 124 reg = <0x15>; 125 126 pinctrl-names = "default"; 127 pinctrl-0 = <&trackpad_pins>; 128 129 interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; 130 131 wakeup-source; 132 }; 133}; 134 135&i2c4 { 136 pinctrl-names = "default"; 137 pinctrl-0 = <&i2c4_pins>; 138 status = "okay"; 139 clock-frequency = <100000>; 140 141 anx_bridge: anx7625@58 { 142 compatible = "analogix,anx7625"; 143 reg = <0x58>; 144 pinctrl-names = "default"; 145 pinctrl-0 = <&anx7625_pins>; 146 enable-gpios = <&pio 45 GPIO_ACTIVE_HIGH>; 147 reset-gpios = <&pio 73 GPIO_ACTIVE_HIGH>; 148 vdd10-supply = <&pp1000_mipibrdg>; 149 vdd18-supply = <&pp1800_mipibrdg>; 150 vdd33-supply = <&pp3300_mipibrdg>; 151 152 ports { 153 #address-cells = <1>; 154 #size-cells = <0>; 155 156 port@0 { 157 reg = <0>; 158 159 anx7625_in: endpoint { 160 remote-endpoint = <&dsi_out>; 161 }; 162 }; 163 164 port@1 { 165 reg = <1>; 166 167 anx7625_out: endpoint { 168 remote-endpoint = <&panel_in>; 169 }; 170 }; 171 }; 172 173 aux-bus { 174 panel: panel { 175 compatible = "edp-panel"; 176 power-supply = <&pp3300_panel>; 177 backlight = <&backlight_lcd0>; 178 179 port { 180 panel_in: endpoint { 181 remote-endpoint = <&anx7625_out>; 182 }; 183 }; 184 }; 185 }; 186 }; 187}; 188 189&i2c_tunnel { 190 google,remote-bus = <2>; 191}; 192 193&pio { 194 /* 192 lines */ 195 gpio-line-names = 196 "SPI_AP_EC_CS_L", 197 "SPI_AP_EC_MOSI", 198 "SPI_AP_EC_CLK", 199 "I2S3_DO", 200 "USB_PD_INT_ODL", 201 "", 202 "", 203 "", 204 "", 205 "IT6505_HPD_L", 206 "I2S3_TDM_D3", 207 "SOC_I2C6_1V8_SCL", 208 "SOC_I2C6_1V8_SDA", 209 "DPI_D0", 210 "DPI_D1", 211 "DPI_D2", 212 "DPI_D3", 213 "DPI_D4", 214 "DPI_D5", 215 "DPI_D6", 216 "DPI_D7", 217 "DPI_D8", 218 "DPI_D9", 219 "DPI_D10", 220 "DPI_D11", 221 "DPI_HSYNC", 222 "DPI_VSYNC", 223 "DPI_DE", 224 "DPI_CK", 225 "AP_MSDC1_CLK", 226 "AP_MSDC1_DAT3", 227 "AP_MSDC1_CMD", 228 "AP_MSDC1_DAT0", 229 "AP_MSDC1_DAT2", 230 "AP_MSDC1_DAT1", 231 "", 232 "", 233 "", 234 "", 235 "", 236 "", 237 "OTG_EN", 238 "DRVBUS", 239 "DISP_PWM", 240 "DSI_TE", 241 "LCM_RST_1V8", 242 "AP_CTS_WIFI_RTS", 243 "AP_RTS_WIFI_CTS", 244 "SOC_I2C5_1V8_SCL", 245 "SOC_I2C5_1V8_SDA", 246 "SOC_I2C3_1V8_SCL", 247 "SOC_I2C3_1V8_SDA", 248 "", 249 "", 250 "", 251 "", 252 "", 253 "", 254 "", 255 "", 256 "", 257 "", 258 "", 259 "", 260 "", 261 "", 262 "", 263 "", 264 "", 265 "", 266 "", 267 "", 268 "", 269 "", 270 "", 271 "", 272 "", 273 "", 274 "", 275 "", 276 "", 277 "SOC_I2C1_1V8_SDA", 278 "SOC_I2C0_1V8_SDA", 279 "SOC_I2C0_1V8_SCL", 280 "SOC_I2C1_1V8_SCL", 281 "AP_SPI_H1_MISO", 282 "AP_SPI_H1_CS_L", 283 "AP_SPI_H1_MOSI", 284 "AP_SPI_H1_CLK", 285 "I2S5_BCK", 286 "I2S5_LRCK", 287 "I2S5_DO", 288 "BOOTBLOCK_EN_L", 289 "MT8183_KPCOL0", 290 "SPI_AP_EC_MISO", 291 "UART_DBG_TX_AP_RX", 292 "UART_AP_TX_DBG_RX", 293 "I2S2_MCK", 294 "I2S2_BCK", 295 "CLK_5M_WCAM", 296 "CLK_2M_UCAM", 297 "I2S2_LRCK", 298 "I2S2_DI", 299 "SOC_I2C2_1V8_SCL", 300 "SOC_I2C2_1V8_SDA", 301 "SOC_I2C4_1V8_SCL", 302 "SOC_I2C4_1V8_SDA", 303 "", 304 "SCL8", 305 "SDA8", 306 "FCAM_PWDN_L", 307 "", 308 "", 309 "", 310 "", 311 "", 312 "", 313 "", 314 "", 315 "", 316 "", 317 "", 318 "", 319 "", 320 "", 321 "", 322 "", 323 "", 324 "", 325 "", 326 "", 327 "", 328 "", 329 "", 330 "", 331 "", 332 "I2S_PMIC", 333 "I2S_PMIC", 334 "I2S_PMIC", 335 "I2S_PMIC", 336 "I2S_PMIC", 337 "I2S_PMIC", 338 "I2S_PMIC", 339 "I2S_PMIC", 340 "", 341 "", 342 "", 343 "", 344 "", 345 "", 346 /* 347 * AP_FLASH_WP_L is crossystem ABI. Rev1 schematics 348 * call it BIOS_FLASH_WP_R_L. 349 */ 350 "AP_FLASH_WP_L", 351 "EC_AP_INT_ODL", 352 "IT6505_INT_ODL", 353 "H1_INT_OD_L", 354 "", 355 "", 356 "", 357 "", 358 "", 359 "", 360 "", 361 "AP_SPI_FLASH_MISO", 362 "AP_SPI_FLASH_CS_L", 363 "AP_SPI_FLASH_MOSI", 364 "AP_SPI_FLASH_CLK", 365 "DA7219_IRQ", 366 "", 367 "", 368 "", 369 "", 370 "", 371 "", 372 "", 373 "", 374 "", 375 "", 376 "", 377 "", 378 "", 379 "", 380 "", 381 "", 382 "", 383 "", 384 "", 385 "", 386 "", 387 "", 388 "", 389 "", 390 "", 391 ""; 392 393 pp1000_mipibrdg_en: pp1000-mipibrdg-en-pins { 394 pins1 { 395 pinmux = <PINMUX_GPIO54__FUNC_GPIO54>; 396 output-low; 397 }; 398 }; 399 400 pp1800_mipibrdg_en: pp1800-mipibrdg-en-pins { 401 pins1 { 402 pinmux = <PINMUX_GPIO36__FUNC_GPIO36>; 403 output-low; 404 }; 405 }; 406 407 pp3300_panel_pins: pp3300-panel-pins { 408 panel_3v3_enable: pins-panel-en { 409 pinmux = <PINMUX_GPIO35__FUNC_GPIO35>; 410 output-low; 411 }; 412 }; 413 414 ppvarp_lcd_en: ppvarp-lcd-en-pins { 415 pins1 { 416 pinmux = <PINMUX_GPIO66__FUNC_GPIO66>; 417 output-low; 418 }; 419 }; 420 421 ppvarn_lcd_en: ppvarn-lcd-en-pins { 422 pins1 { 423 pinmux = <PINMUX_GPIO166__FUNC_GPIO166>; 424 output-low; 425 }; 426 }; 427 428 anx7625_pins: anx7625-pins { 429 pins1 { 430 pinmux = <PINMUX_GPIO45__FUNC_GPIO45>, 431 <PINMUX_GPIO73__FUNC_GPIO73>; 432 output-low; 433 }; 434 pins2 { 435 pinmux = <PINMUX_GPIO4__FUNC_GPIO4>; 436 input-enable; 437 bias-pull-up; 438 }; 439 }; 440 441 touchscreen_pins: touchscreen-pins { 442 pins-intn { 443 pinmux = <PINMUX_GPIO155__FUNC_GPIO155>; 444 input-enable; 445 bias-pull-up; 446 }; 447 448 pins-rst { 449 pinmux = <PINMUX_GPIO156__FUNC_GPIO156>; 450 output-high; 451 }; 452 }; 453 454 trackpad_pins: trackpad-pins { 455 pins-intn { 456 pinmux = <PINMUX_GPIO7__FUNC_GPIO7>; 457 input-enable; 458 bias-disable; /* pulled externally */ 459 }; 460 }; 461 462 pp3300_mipibrdg_en: pp3300-mipibrdg-en-pins { 463 pins1 { 464 pinmux = <PINMUX_GPIO37__FUNC_GPIO37>; 465 output-low; 466 }; 467 }; 468 469 volume_button_pins: volume-button-pins { 470 pins-voldn { 471 pinmux = <PINMUX_GPIO6__FUNC_GPIO6>; 472 input-enable; 473 bias-pull-up; 474 }; 475 476 pins-volup { 477 pinmux = <PINMUX_GPIO5__FUNC_GPIO5>; 478 input-enable; 479 bias-pull-up; 480 }; 481 }; 482}; 483
~/
Read-only file preview.