1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Google Cheza board device tree source 3 * Google Cheza board device tree source 4 * 4 * 5 * Copyright 2018 Google LLC. 5 * Copyright 2018 Google LLC. 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "sdm845-cheza.dtsi" 10 #include "sdm845-cheza.dtsi" 11 11 12 / { 12 / { 13 model = "Google Cheza (rev2)"; 13 model = "Google Cheza (rev2)"; 14 compatible = "google,cheza-rev2", "qco 14 compatible = "google,cheza-rev2", "qcom,sdm845"; 15 15 16 /* 16 /* 17 * FIXED REGULATORS (not in sdm845-che 17 * FIXED REGULATORS (not in sdm845-cheza.dtsi) - parents above children 18 */ 18 */ 19 19 20 /* 20 /* 21 * NOTE: Technically pp3500_a is not t 21 * NOTE: Technically pp3500_a is not the exact same signal as 22 * pp3500_a_vbob (there's a load switc 22 * pp3500_a_vbob (there's a load switch between them and the EC can 23 * control pp3500_a via "en_pp3300_a") 23 * control pp3500_a via "en_pp3300_a"), but from the AP's point of 24 * view they are the same. 24 * view they are the same. 25 */ 25 */ 26 pp3500_a: 26 pp3500_a: 27 pp3500_a_vbob: pp3500-a-vbob-regulator 27 pp3500_a_vbob: pp3500-a-vbob-regulator { 28 compatible = "regulator-fixed" 28 compatible = "regulator-fixed"; 29 regulator-name = "vreg_bob"; 29 regulator-name = "vreg_bob"; 30 30 31 /* 31 /* 32 * Comes on automatically when 32 * Comes on automatically when pp5000_ldo comes on, which 33 * comes on automatically when 33 * comes on automatically when ppvar_sys comes on 34 */ 34 */ 35 regulator-always-on; 35 regulator-always-on; 36 regulator-boot-on; 36 regulator-boot-on; 37 regulator-min-microvolt = <350 37 regulator-min-microvolt = <3500000>; 38 regulator-max-microvolt = <350 38 regulator-max-microvolt = <3500000>; 39 39 40 vin-supply = <&ppvar_sys>; 40 vin-supply = <&ppvar_sys>; 41 }; 41 }; 42 42 43 pp3300_dx_edp: pp3300-dx-edp-regulator 43 pp3300_dx_edp: pp3300-dx-edp-regulator { 44 /* Yes, it's really 3.5 despit 44 /* Yes, it's really 3.5 despite the name of the signal */ 45 regulator-min-microvolt = <350 45 regulator-min-microvolt = <3500000>; 46 regulator-max-microvolt = <350 46 regulator-max-microvolt = <3500000>; 47 47 48 vin-supply = <&pp3500_a>; 48 vin-supply = <&pp3500_a>; 49 }; 49 }; 50 }; 50 }; 51 51 52 /* FIXED REGULATOR OVERRIDES (modifications to 52 /* FIXED REGULATOR OVERRIDES (modifications to sdm845-cheza.dtsi) */ 53 53 54 /* 54 /* 55 * L19 and L28 technically go to 3.3V, but mos 55 * L19 and L28 technically go to 3.3V, but most boards have old AOP firmware 56 * that limits them to 3.0, and trying to run 56 * that limits them to 3.0, and trying to run at 3.3V with that old firmware 57 * prevents the system from booting. 57 * prevents the system from booting. 58 */ 58 */ 59 &src_pp3000_l19a { 59 &src_pp3000_l19a { 60 regulator-min-microvolt = <3008000>; 60 regulator-min-microvolt = <3008000>; 61 regulator-max-microvolt = <3008000>; 61 regulator-max-microvolt = <3008000>; 62 }; 62 }; 63 63 64 &src_pp3300_l22a { 64 &src_pp3300_l22a { 65 /delete-property/regulator-boot-on; 65 /delete-property/regulator-boot-on; 66 /delete-property/regulator-always-on; 66 /delete-property/regulator-always-on; 67 }; 67 }; 68 68 69 &src_pp3300_l28a { 69 &src_pp3300_l28a { 70 regulator-min-microvolt = <3008000>; 70 regulator-min-microvolt = <3008000>; 71 regulator-max-microvolt = <3008000>; 71 regulator-max-microvolt = <3008000>; 72 }; 72 }; 73 73 74 &src_vreg_bob { 74 &src_vreg_bob { 75 regulator-min-microvolt = <3500000>; 75 regulator-min-microvolt = <3500000>; 76 regulator-max-microvolt = <3500000>; 76 regulator-max-microvolt = <3500000>; 77 vin-supply = <&pp3500_a_vbob>; 77 vin-supply = <&pp3500_a_vbob>; 78 }; 78 }; 79 79 80 /* 80 /* 81 * NON-REGULATOR OVERRIDES 81 * NON-REGULATOR OVERRIDES 82 * (modifications to sdm845-cheza.dtsi) - alph 82 * (modifications to sdm845-cheza.dtsi) - alphabetized by dtsi label 83 */ 83 */ 84 84 85 /* PINCTRL - board-specific pinctrl */ 85 /* PINCTRL - board-specific pinctrl */ 86 86 87 &tlmm { 87 &tlmm { 88 gpio-line-names = "AP_SPI_FP_MISO", 88 gpio-line-names = "AP_SPI_FP_MISO", 89 "AP_SPI_FP_MOSI", 89 "AP_SPI_FP_MOSI", 90 "AP_SPI_FP_CLK", 90 "AP_SPI_FP_CLK", 91 "AP_SPI_FP_CS_L", 91 "AP_SPI_FP_CS_L", 92 "UART_AP_TX_DBG_RX", 92 "UART_AP_TX_DBG_RX", 93 "UART_DBG_TX_AP_RX", 93 "UART_DBG_TX_AP_RX", 94 "BRIJ_SUSPEND", 94 "BRIJ_SUSPEND", 95 "FP_RST_L", 95 "FP_RST_L", 96 "FCAM_EN", 96 "FCAM_EN", 97 "", 97 "", 98 "EDP_BRIJ_IRQ", 98 "EDP_BRIJ_IRQ", 99 "EC_IN_RW_ODL", 99 "EC_IN_RW_ODL", 100 "", 100 "", 101 "RCAM_MCLK", 101 "RCAM_MCLK", 102 "FCAM_MCLK", 102 "FCAM_MCLK", 103 "", 103 "", 104 "RCAM_EN", 104 "RCAM_EN", 105 "CCI0_SDA", 105 "CCI0_SDA", 106 "CCI0_SCL", 106 "CCI0_SCL", 107 "CCI1_SDA", 107 "CCI1_SDA", 108 "CCI1_SCL", 108 "CCI1_SCL", 109 "FCAM_RST_L", 109 "FCAM_RST_L", 110 "FPMCU_BOOT0", 110 "FPMCU_BOOT0", 111 "PEN_RST_L", 111 "PEN_RST_L", 112 "PEN_IRQ_L", 112 "PEN_IRQ_L", 113 "FPMCU_SEL_OD", 113 "FPMCU_SEL_OD", 114 "RCAM_VSYNC", 114 "RCAM_VSYNC", 115 "ESIM_MISO", 115 "ESIM_MISO", 116 "ESIM_MOSI", 116 "ESIM_MOSI", 117 "ESIM_CLK", 117 "ESIM_CLK", 118 "ESIM_CS_L", 118 "ESIM_CS_L", 119 "AP_PEN_1V8_SDA", 119 "AP_PEN_1V8_SDA", 120 "AP_PEN_1V8_SCL", 120 "AP_PEN_1V8_SCL", 121 "AP_TS_I2C_SDA", 121 "AP_TS_I2C_SDA", 122 "AP_TS_I2C_SCL", 122 "AP_TS_I2C_SCL", 123 "RCAM_RST_L", 123 "RCAM_RST_L", 124 "", 124 "", 125 "AP_EDP_BKLTEN", 125 "AP_EDP_BKLTEN", 126 "AP_BRD_ID1", 126 "AP_BRD_ID1", 127 "BOOT_CONFIG_4", 127 "BOOT_CONFIG_4", 128 "AMP_IRQ_L", 128 "AMP_IRQ_L", 129 "EDP_BRIJ_I2C_SDA", 129 "EDP_BRIJ_I2C_SDA", 130 "EDP_BRIJ_I2C_SCL", 130 "EDP_BRIJ_I2C_SCL", 131 "EN_PP3300_DX_EDP", 131 "EN_PP3300_DX_EDP", 132 "SD_CD_ODL", 132 "SD_CD_ODL", 133 "BT_UART_RTS", 133 "BT_UART_RTS", 134 "BT_UART_CTS", 134 "BT_UART_CTS", 135 "BT_UART_RXD", 135 "BT_UART_RXD", 136 "BT_UART_TXD", 136 "BT_UART_TXD", 137 "AMP_I2C_SDA", 137 "AMP_I2C_SDA", 138 "AMP_I2C_SCL", 138 "AMP_I2C_SCL", 139 "AP_BRD_ID3", 139 "AP_BRD_ID3", 140 "", 140 "", 141 "AP_EC_SPI_CLK", 141 "AP_EC_SPI_CLK", 142 "AP_EC_SPI_CS_L", 142 "AP_EC_SPI_CS_L", 143 "AP_EC_SPI_MISO", 143 "AP_EC_SPI_MISO", 144 "AP_EC_SPI_MOSI", 144 "AP_EC_SPI_MOSI", 145 "FORCED_USB_BOOT", 145 "FORCED_USB_BOOT", 146 "AMP_BCLK", 146 "AMP_BCLK", 147 "AMP_LRCLK", 147 "AMP_LRCLK", 148 "AMP_DOUT", 148 "AMP_DOUT", 149 "AMP_DIN", 149 "AMP_DIN", 150 "AP_BRD_ID2", 150 "AP_BRD_ID2", 151 "PEN_PDCT_L", 151 "PEN_PDCT_L", 152 "HP_MCLK", 152 "HP_MCLK", 153 "HP_BCLK", 153 "HP_BCLK", 154 "HP_LRCLK", 154 "HP_LRCLK", 155 "HP_DOUT", 155 "HP_DOUT", 156 "HP_DIN", 156 "HP_DIN", 157 "", 157 "", 158 "", 158 "", 159 "", 159 "", 160 "", 160 "", 161 "BT_SLIMBUS_DATA", 161 "BT_SLIMBUS_DATA", 162 "BT_SLIMBUS_CLK", 162 "BT_SLIMBUS_CLK", 163 "AMP_RESET_L", 163 "AMP_RESET_L", 164 "", 164 "", 165 "FCAM_VSYNC", 165 "FCAM_VSYNC", 166 "", 166 "", 167 "AP_SKU_ID1", 167 "AP_SKU_ID1", 168 "EC_WOV_BCLK", 168 "EC_WOV_BCLK", 169 "EC_WOV_LRCLK", 169 "EC_WOV_LRCLK", 170 "EC_WOV_DOUT", 170 "EC_WOV_DOUT", 171 "", 171 "", 172 "", 172 "", 173 "AP_H1_SPI_MISO", 173 "AP_H1_SPI_MISO", 174 "AP_H1_SPI_MOSI", 174 "AP_H1_SPI_MOSI", 175 "AP_H1_SPI_CLK", 175 "AP_H1_SPI_CLK", 176 "AP_H1_SPI_CS_L", 176 "AP_H1_SPI_CS_L", 177 "", 177 "", 178 "AP_SPI_CS0_L", 178 "AP_SPI_CS0_L", 179 "AP_SPI_MOSI", 179 "AP_SPI_MOSI", 180 "AP_SPI_MISO", 180 "AP_SPI_MISO", 181 "", 181 "", 182 "", 182 "", 183 "AP_SPI_CLK", 183 "AP_SPI_CLK", 184 "", 184 "", 185 "RFFE6_CLK", 185 "RFFE6_CLK", 186 "RFFE6_DATA", 186 "RFFE6_DATA", 187 "BOOT_CONFIG_1", 187 "BOOT_CONFIG_1", 188 "BOOT_CONFIG_2", 188 "BOOT_CONFIG_2", 189 "BOOT_CONFIG_0", 189 "BOOT_CONFIG_0", 190 "EDP_BRIJ_EN", 190 "EDP_BRIJ_EN", 191 "", 191 "", 192 "USB_HS_TX_EN", 192 "USB_HS_TX_EN", 193 "UIM2_DATA", 193 "UIM2_DATA", 194 "UIM2_CLK", 194 "UIM2_CLK", 195 "UIM2_RST", 195 "UIM2_RST", 196 "UIM2_PRESENT", 196 "UIM2_PRESENT", 197 "UIM1_DATA", 197 "UIM1_DATA", 198 "UIM1_CLK", 198 "UIM1_CLK", 199 "UIM1_RST", 199 "UIM1_RST", 200 "", 200 "", 201 "AP_SKU_ID2", 201 "AP_SKU_ID2", 202 "SDM_GRFC_8", 202 "SDM_GRFC_8", 203 "SDM_GRFC_9", 203 "SDM_GRFC_9", 204 "AP_RST_REQ", 204 "AP_RST_REQ", 205 "HP_IRQ", 205 "HP_IRQ", 206 "TS_RESET_L", 206 "TS_RESET_L", 207 "PEN_EJECT_ODL", 207 "PEN_EJECT_ODL", 208 "HUB_RST_L", 208 "HUB_RST_L", 209 "FP_TO_AP_IRQ", 209 "FP_TO_AP_IRQ", 210 "AP_EC_INT_L", 210 "AP_EC_INT_L", 211 "", 211 "", 212 "", 212 "", 213 "TS_INT_L", 213 "TS_INT_L", 214 "AP_SUSPEND_L", 214 "AP_SUSPEND_L", 215 "SDM_GRFC_3", 215 "SDM_GRFC_3", 216 "", 216 "", 217 "H1_AP_INT_ODL", 217 "H1_AP_INT_ODL", 218 "QLINK_REQ", 218 "QLINK_REQ", 219 "QLINK_EN", 219 "QLINK_EN", 220 "SDM_GRFC_2", 220 "SDM_GRFC_2", 221 "BOOT_CONFIG_3", 221 "BOOT_CONFIG_3", 222 "WMSS_RESET_L", 222 "WMSS_RESET_L", 223 "SDM_GRFC_0", 223 "SDM_GRFC_0", 224 "SDM_GRFC_1", 224 "SDM_GRFC_1", 225 "RFFE3_DATA", 225 "RFFE3_DATA", 226 "RFFE3_CLK", 226 "RFFE3_CLK", 227 "RFFE4_DATA", 227 "RFFE4_DATA", 228 "RFFE4_CLK", 228 "RFFE4_CLK", 229 "RFFE5_DATA", 229 "RFFE5_DATA", 230 "RFFE5_CLK", 230 "RFFE5_CLK", 231 "GNSS_EN", 231 "GNSS_EN", 232 "WCI2_LTE_COEX_RXD", 232 "WCI2_LTE_COEX_RXD", 233 "WCI2_LTE_COEX_TXD", 233 "WCI2_LTE_COEX_TXD", 234 "AP_RAM_ID1", 234 "AP_RAM_ID1", 235 "AP_RAM_ID2", 235 "AP_RAM_ID2", 236 "RFFE1_DATA", 236 "RFFE1_DATA", 237 "RFFE1_CLK"; 237 "RFFE1_CLK"; 238 }; 238 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.