1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro-sony-xperia-shinano- 2 #include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi" 3 3 4 / { 4 / { 5 model = "Sony Xperia Z2 Tablet"; 5 model = "Sony Xperia Z2 Tablet"; 6 compatible = "sony,xperia-castor", "qc 6 compatible = "sony,xperia-castor", "qcom,msm8974pro", "qcom,msm8974"; 7 chassis-type = "tablet"; 7 chassis-type = "tablet"; 8 8 9 vreg_bl_vddio: lcd-backlight-vddio { 9 vreg_bl_vddio: lcd-backlight-vddio { 10 compatible = "regulator-fixed" 10 compatible = "regulator-fixed"; 11 regulator-name = "vreg_bl_vddi 11 regulator-name = "vreg_bl_vddio"; 12 regulator-min-microvolt = <315 12 regulator-min-microvolt = <3150000>; 13 regulator-max-microvolt = <315 13 regulator-max-microvolt = <3150000>; 14 14 15 gpio = <&tlmm 69 0>; 15 gpio = <&tlmm 69 0>; 16 enable-active-high; 16 enable-active-high; 17 17 18 vin-supply = <&pm8941_s3>; 18 vin-supply = <&pm8941_s3>; 19 startup-delay-us = <70000>; 19 startup-delay-us = <70000>; 20 20 21 pinctrl-0 = <&lcd_backlight_en 21 pinctrl-0 = <&lcd_backlight_en_pin_a>; 22 pinctrl-names = "default"; 22 pinctrl-names = "default"; 23 }; 23 }; 24 }; 24 }; 25 25 26 &blsp2_i2c5 { 26 &blsp2_i2c5 { 27 clock-frequency = <355000>; 27 clock-frequency = <355000>; 28 28 29 status = "okay"; 29 status = "okay"; 30 30 31 lp8566_wled: backlight@2c { 31 lp8566_wled: backlight@2c { 32 compatible = "ti,lp8556"; 32 compatible = "ti,lp8556"; 33 reg = <0x2c>; 33 reg = <0x2c>; 34 power-supply = <&vreg_bl_vddio 34 power-supply = <&vreg_bl_vddio>; 35 35 36 bl-name = "backlight"; 36 bl-name = "backlight"; 37 dev-ctrl = /bits/ 8 <0x05>; 37 dev-ctrl = /bits/ 8 <0x05>; 38 init-brt = /bits/ 8 <0x3f>; 38 init-brt = /bits/ 8 <0x3f>; 39 39 40 rom-a0h { 40 rom-a0h { 41 rom-addr = /bits/ 8 <0 41 rom-addr = /bits/ 8 <0xa0>; 42 rom-val = /bits/ 8 <0x 42 rom-val = /bits/ 8 <0xff>; 43 }; 43 }; 44 44 45 rom-a1h { 45 rom-a1h { 46 rom-addr = /bits/ 8 <0 46 rom-addr = /bits/ 8 <0xa1>; 47 rom-val = /bits/ 8 <0x 47 rom-val = /bits/ 8 <0x3f>; 48 }; 48 }; 49 49 50 rom-a2h { 50 rom-a2h { 51 rom-addr = /bits/ 8 <0 51 rom-addr = /bits/ 8 <0xa2>; 52 rom-val = /bits/ 8 <0x 52 rom-val = /bits/ 8 <0x20>; 53 }; 53 }; 54 54 55 rom-a3h { 55 rom-a3h { 56 rom-addr = /bits/ 8 <0 56 rom-addr = /bits/ 8 <0xa3>; 57 rom-val = /bits/ 8 <0x 57 rom-val = /bits/ 8 <0x5e>; 58 }; 58 }; 59 59 60 rom-a4h { 60 rom-a4h { 61 rom-addr = /bits/ 8 <0 61 rom-addr = /bits/ 8 <0xa4>; 62 rom-val = /bits/ 8 <0x 62 rom-val = /bits/ 8 <0x02>; 63 }; 63 }; 64 64 65 rom-a5h { 65 rom-a5h { 66 rom-addr = /bits/ 8 <0 66 rom-addr = /bits/ 8 <0xa5>; 67 rom-val = /bits/ 8 <0x 67 rom-val = /bits/ 8 <0x04>; 68 }; 68 }; 69 69 70 rom-a6h { 70 rom-a6h { 71 rom-addr = /bits/ 8 <0 71 rom-addr = /bits/ 8 <0xa6>; 72 rom-val = /bits/ 8 <0x 72 rom-val = /bits/ 8 <0x80>; 73 }; 73 }; 74 74 75 rom-a7h { 75 rom-a7h { 76 rom-addr = /bits/ 8 <0 76 rom-addr = /bits/ 8 <0xa7>; 77 rom-val = /bits/ 8 <0x 77 rom-val = /bits/ 8 <0xf7>; 78 }; 78 }; 79 79 80 rom-a9h { 80 rom-a9h { 81 rom-addr = /bits/ 8 <0 81 rom-addr = /bits/ 8 <0xa9>; 82 rom-val = /bits/ 8 <0x 82 rom-val = /bits/ 8 <0x80>; 83 }; 83 }; 84 84 85 rom-aah { 85 rom-aah { 86 rom-addr = /bits/ 8 <0 86 rom-addr = /bits/ 8 <0xaa>; 87 rom-val = /bits/ 8 <0x 87 rom-val = /bits/ 8 <0x0f>; 88 }; 88 }; 89 89 90 rom-aeh { 90 rom-aeh { 91 rom-addr = /bits/ 8 <0 91 rom-addr = /bits/ 8 <0xae>; 92 rom-val = /bits/ 8 <0x 92 rom-val = /bits/ 8 <0x0f>; 93 }; 93 }; 94 }; 94 }; 95 }; 95 }; 96 96 97 &blsp2_uart1 { 97 &blsp2_uart1 { 98 status = "okay"; 98 status = "okay"; 99 99 100 bluetooth { 100 bluetooth { 101 compatible = "brcm,bcm43438-bt 101 compatible = "brcm,bcm43438-bt"; 102 max-speed = <3000000>; 102 max-speed = <3000000>; 103 103 104 pinctrl-0 = <&bt_host_wake_pin 104 pinctrl-0 = <&bt_host_wake_pin>, <&bt_dev_wake_pin>, <&bt_reg_on_pin>; 105 pinctrl-names = "default"; 105 pinctrl-names = "default"; 106 106 107 host-wakeup-gpios = <&tlmm 95 107 host-wakeup-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; 108 device-wakeup-gpios = <&tlmm 9 108 device-wakeup-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 109 shutdown-gpios = <&pm8941_gpio 109 shutdown-gpios = <&pm8941_gpios 16 GPIO_ACTIVE_HIGH>; 110 }; 110 }; 111 }; 111 }; 112 112 113 &pm8941_gpios { 113 &pm8941_gpios { 114 bt_reg_on_pin: bt-reg-on-state { 114 bt_reg_on_pin: bt-reg-on-state { 115 pins = "gpio16"; 115 pins = "gpio16"; 116 function = "normal"; 116 function = "normal"; 117 output-low; 117 output-low; 118 power-source = <PM8941_GPIO_S3 118 power-source = <PM8941_GPIO_S3>; 119 }; 119 }; 120 }; 120 }; 121 121 122 &rpm_requests { 122 &rpm_requests { 123 regulators-1 { 123 regulators-1 { 124 pm8941_l11: l11 { 124 pm8941_l11: l11 { 125 regulator-min-microvol 125 regulator-min-microvolt = <1300000>; 126 regulator-max-microvol 126 regulator-max-microvolt = <1350000>; 127 }; 127 }; 128 128 129 pm8941_l19: l19 { 129 pm8941_l19: l19 { 130 regulator-min-microvol 130 regulator-min-microvolt = <2850000>; 131 regulator-max-microvol 131 regulator-max-microvolt = <2850000>; 132 }; 132 }; 133 }; 133 }; 134 }; 134 }; 135 135 136 &smbb { 136 &smbb { 137 qcom,fast-charge-safe-current = <15000 137 qcom,fast-charge-safe-current = <1500000>; 138 qcom,fast-charge-current-limit = <1500 138 qcom,fast-charge-current-limit = <1500000>; 139 qcom,dc-current-limit = <1800000>; 139 qcom,dc-current-limit = <1800000>; 140 usb-charge-current-limit = <1800000>; 140 usb-charge-current-limit = <1800000>; 141 qcom,fast-charge-safe-voltage = <44000 141 qcom,fast-charge-safe-voltage = <4400000>; 142 qcom,fast-charge-high-threshold-voltag 142 qcom,fast-charge-high-threshold-voltage = <4350000>; 143 qcom,fast-charge-low-threshold-voltage 143 qcom,fast-charge-low-threshold-voltage = <3400000>; 144 qcom,auto-recharge-threshold-voltage = 144 qcom,auto-recharge-threshold-voltage = <4200000>; 145 qcom,minimum-input-voltage = <4300000> 145 qcom,minimum-input-voltage = <4300000>; 146 146 147 status = "okay"; 147 status = "okay"; 148 }; 148 }; 149 149 150 &synaptics_touchscreen { 150 &synaptics_touchscreen { 151 vio-supply = <&pm8941_lvs3>; 151 vio-supply = <&pm8941_lvs3>; 152 }; 152 }; 153 153 154 &tlmm { 154 &tlmm { 155 bt_dev_wake_pin: bt-dev-wake-state { 155 bt_dev_wake_pin: bt-dev-wake-state { 156 pins = "gpio96"; 156 pins = "gpio96"; 157 function = "gpio"; 157 function = "gpio"; 158 drive-strength = <2>; 158 drive-strength = <2>; 159 bias-disable; 159 bias-disable; 160 }; 160 }; 161 161 162 bt_host_wake_pin: bt-host-wake-state { 162 bt_host_wake_pin: bt-host-wake-state { 163 pins = "gpio95"; 163 pins = "gpio95"; 164 function = "gpio"; 164 function = "gpio"; 165 drive-strength = <2>; 165 drive-strength = <2>; 166 bias-disable; 166 bias-disable; 167 output-low; 167 output-low; 168 }; 168 }; 169 169 170 lcd_backlight_en_pin_a: lcd-backlight- 170 lcd_backlight_en_pin_a: lcd-backlight-vddio-state { 171 pins = "gpio69"; 171 pins = "gpio69"; 172 function = "gpio"; 172 function = "gpio"; 173 drive-strength = <10>; 173 drive-strength = <10>; 174 output-low; 174 output-low; 175 bias-disable; 175 bias-disable; 176 }; 176 }; 177 }; 177 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.