1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*53426f53SLuca Weiss#include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi" 3724ba675SRob Herring 4724ba675SRob Herring/ { 5724ba675SRob Herring model = "Sony Xperia Z2 Tablet"; 6724ba675SRob Herring compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974"; 7724ba675SRob Herring chassis-type = "tablet"; 8724ba675SRob Herring 9724ba675SRob Herring vreg_bl_vddio: lcd-backlight-vddio { 10724ba675SRob Herring compatible = "regulator-fixed"; 11724ba675SRob Herring regulator-name = "vreg_bl_vddio"; 12724ba675SRob Herring regulator-min-microvolt = <3150000>; 13724ba675SRob Herring regulator-max-microvolt = <3150000>; 14724ba675SRob Herring 15724ba675SRob Herring gpio = <&tlmm 69 0>; 16724ba675SRob Herring enable-active-high; 17724ba675SRob Herring 18724ba675SRob Herring vin-supply = <&pm8941_s3>; 19724ba675SRob Herring startup-delay-us = <70000>; 20724ba675SRob Herring 21724ba675SRob Herring pinctrl-0 = <&lcd_backlight_en_pin_a>; 22c0b9c616SLuca Weiss pinctrl-names = "default"; 23724ba675SRob Herring }; 24724ba675SRob Herring}; 25724ba675SRob Herring 26724ba675SRob Herring&blsp2_i2c5 { 27724ba675SRob Herring clock-frequency = <355000>; 28724ba675SRob Herring 29c0b9c616SLuca Weiss status = "okay"; 30c0b9c616SLuca Weiss 31724ba675SRob Herring lp8566_wled: backlight@2c { 32724ba675SRob Herring compatible = "ti,lp8556"; 33724ba675SRob Herring reg = <0x2c>; 34724ba675SRob Herring power-supply = <&vreg_bl_vddio>; 35724ba675SRob Herring 36724ba675SRob Herring bl-name = "backlight"; 37724ba675SRob Herring dev-ctrl = /bits/ 8 <0x05>; 38724ba675SRob Herring init-brt = /bits/ 8 <0x3f>; 39724ba675SRob Herring 40724ba675SRob Herring rom-a0h { 41724ba675SRob Herring rom-addr = /bits/ 8 <0xa0>; 42724ba675SRob Herring rom-val = /bits/ 8 <0xff>; 43724ba675SRob Herring }; 44*53426f53SLuca Weiss 45724ba675SRob Herring rom-a1h { 46724ba675SRob Herring rom-addr = /bits/ 8 <0xa1>; 47724ba675SRob Herring rom-val = /bits/ 8 <0x3f>; 48724ba675SRob Herring }; 49*53426f53SLuca Weiss 50724ba675SRob Herring rom-a2h { 51724ba675SRob Herring rom-addr = /bits/ 8 <0xa2>; 52724ba675SRob Herring rom-val = /bits/ 8 <0x20>; 53724ba675SRob Herring }; 54*53426f53SLuca Weiss 55724ba675SRob Herring rom-a3h { 56724ba675SRob Herring rom-addr = /bits/ 8 <0xa3>; 57724ba675SRob Herring rom-val = /bits/ 8 <0x5e>; 58724ba675SRob Herring }; 59*53426f53SLuca Weiss 60724ba675SRob Herring rom-a4h { 61724ba675SRob Herring rom-addr = /bits/ 8 <0xa4>; 62724ba675SRob Herring rom-val = /bits/ 8 <0x02>; 63724ba675SRob Herring }; 64*53426f53SLuca Weiss 65724ba675SRob Herring rom-a5h { 66724ba675SRob Herring rom-addr = /bits/ 8 <0xa5>; 67724ba675SRob Herring rom-val = /bits/ 8 <0x04>; 68724ba675SRob Herring }; 69*53426f53SLuca Weiss 70724ba675SRob Herring rom-a6h { 71724ba675SRob Herring rom-addr = /bits/ 8 <0xa6>; 72724ba675SRob Herring rom-val = /bits/ 8 <0x80>; 73724ba675SRob Herring }; 74*53426f53SLuca Weiss 75724ba675SRob Herring rom-a7h { 76724ba675SRob Herring rom-addr = /bits/ 8 <0xa7>; 77724ba675SRob Herring rom-val = /bits/ 8 <0xf7>; 78724ba675SRob Herring }; 79*53426f53SLuca Weiss 80724ba675SRob Herring rom-a9h { 81724ba675SRob Herring rom-addr = /bits/ 8 <0xa9>; 82724ba675SRob Herring rom-val = /bits/ 8 <0x80>; 83724ba675SRob Herring }; 84*53426f53SLuca Weiss 85724ba675SRob Herring rom-aah { 86724ba675SRob Herring rom-addr = /bits/ 8 <0xaa>; 87724ba675SRob Herring rom-val = /bits/ 8 <0x0f>; 88724ba675SRob Herring }; 89*53426f53SLuca Weiss 90724ba675SRob Herring rom-aeh { 91724ba675SRob Herring rom-addr = /bits/ 8 <0xae>; 92724ba675SRob Herring rom-val = /bits/ 8 <0x0f>; 93724ba675SRob Herring }; 94724ba675SRob Herring }; 95724ba675SRob Herring}; 96724ba675SRob Herring 97724ba675SRob Herring&blsp2_uart1 { 98724ba675SRob Herring status = "okay"; 99724ba675SRob Herring 100724ba675SRob Herring bluetooth { 101724ba675SRob Herring compatible = "brcm,bcm43438-bt"; 102724ba675SRob Herring max-speed = <3000000>; 103724ba675SRob Herring 104724ba675SRob Herring pinctrl-0 = <&bt_host_wake_pin>, <&bt_dev_wake_pin>, <&bt_reg_on_pin>; 105c0b9c616SLuca Weiss pinctrl-names = "default"; 106724ba675SRob Herring 107724ba675SRob Herring host-wakeup-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; 108724ba675SRob Herring device-wakeup-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 109724ba675SRob Herring shutdown-gpios = <&pm8941_gpios 16 GPIO_ACTIVE_HIGH>; 110724ba675SRob Herring }; 111724ba675SRob Herring}; 112724ba675SRob Herring 113724ba675SRob Herring&pm8941_gpios { 114724ba675SRob Herring bt_reg_on_pin: bt-reg-on-state { 115724ba675SRob Herring pins = "gpio16"; 116724ba675SRob Herring function = "normal"; 117724ba675SRob Herring output-low; 118724ba675SRob Herring power-source = <PM8941_GPIO_S3>; 119724ba675SRob Herring }; 120724ba675SRob Herring}; 121724ba675SRob Herring 122724ba675SRob Herring&rpm_requests { 123724ba675SRob Herring regulators-1 { 124724ba675SRob Herring pm8941_l11: l11 { 125724ba675SRob Herring regulator-min-microvolt = <1300000>; 126724ba675SRob Herring regulator-max-microvolt = <1350000>; 127724ba675SRob Herring }; 128724ba675SRob Herring 129724ba675SRob Herring pm8941_l19: l19 { 130724ba675SRob Herring regulator-min-microvolt = <2850000>; 131724ba675SRob Herring regulator-max-microvolt = <2850000>; 132724ba675SRob Herring }; 133724ba675SRob Herring }; 134724ba675SRob Herring}; 135724ba675SRob Herring 136724ba675SRob Herring&smbb { 137724ba675SRob Herring qcom,fast-charge-safe-current = <1500000>; 138724ba675SRob Herring qcom,fast-charge-current-limit = <1500000>; 139724ba675SRob Herring qcom,dc-current-limit = <1800000>; 140724ba675SRob Herring usb-charge-current-limit = <1800000>; 141724ba675SRob Herring qcom,fast-charge-safe-voltage = <4400000>; 142724ba675SRob Herring qcom,fast-charge-high-threshold-voltage = <4350000>; 143724ba675SRob Herring qcom,fast-charge-low-threshold-voltage = <3400000>; 144724ba675SRob Herring qcom,auto-recharge-threshold-voltage = <4200000>; 145724ba675SRob Herring qcom,minimum-input-voltage = <4300000>; 146c9c8179dSBryant Mairs 147c9c8179dSBryant Mairs status = "okay"; 148724ba675SRob Herring}; 149724ba675SRob Herring 150*53426f53SLuca Weiss&synaptics_touchscreen { 151*53426f53SLuca Weiss vio-supply = <&pm8941_lvs3>; 152*53426f53SLuca Weiss}; 153*53426f53SLuca Weiss 154724ba675SRob Herring&tlmm { 155*53426f53SLuca Weiss bt_dev_wake_pin: bt-dev-wake-state { 156*53426f53SLuca Weiss pins = "gpio96"; 157724ba675SRob Herring function = "gpio"; 158724ba675SRob Herring drive-strength = <2>; 159724ba675SRob Herring bias-disable; 160724ba675SRob Herring }; 161724ba675SRob Herring 162724ba675SRob Herring bt_host_wake_pin: bt-host-wake-state { 163724ba675SRob Herring pins = "gpio95"; 164724ba675SRob Herring function = "gpio"; 165724ba675SRob Herring drive-strength = <2>; 166724ba675SRob Herring bias-disable; 167724ba675SRob Herring output-low; 168724ba675SRob Herring }; 169724ba675SRob Herring 170*53426f53SLuca Weiss lcd_backlight_en_pin_a: lcd-backlight-vddio-state { 171*53426f53SLuca Weiss pins = "gpio69"; 172724ba675SRob Herring function = "gpio"; 173*53426f53SLuca Weiss drive-strength = <10>; 174*53426f53SLuca Weiss output-low; 175724ba675SRob Herring bias-disable; 176724ba675SRob Herring }; 177724ba675SRob Herring}; 178