1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * dts file for Hisilicon HiKey970 Development 3 * dts file for Hisilicon HiKey970 Development Board 4 * 4 * 5 * Copyright (C) 2016, HiSilicon Ltd. !! 5 * Copyright (C) 2016, Hisilicon Ltd. 6 * Copyright (C) 2018, Linaro Ltd. 6 * Copyright (C) 2018, Linaro Ltd. 7 * 7 * 8 */ 8 */ 9 9 10 /dts-v1/; 10 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/gpio/gpio.h> 12 12 13 #include "hi3670.dtsi" 13 #include "hi3670.dtsi" 14 #include "hikey970-pinctrl.dtsi" 14 #include "hikey970-pinctrl.dtsi" 15 #include "hikey970-pmic.dtsi" << 16 15 17 / { 16 / { 18 model = "HiKey970"; 17 model = "HiKey970"; 19 compatible = "hisilicon,hi3670-hikey97 18 compatible = "hisilicon,hi3670-hikey970", "hisilicon,hi3670"; 20 19 21 aliases { 20 aliases { 22 mshc1 = &dwmmc1; 21 mshc1 = &dwmmc1; 23 mshc2 = &dwmmc2; 22 mshc2 = &dwmmc2; 24 serial0 = &uart0; 23 serial0 = &uart0; 25 serial1 = &uart1; 24 serial1 = &uart1; 26 serial2 = &uart2; 25 serial2 = &uart2; 27 serial3 = &uart3; 26 serial3 = &uart3; 28 serial4 = &uart4; 27 serial4 = &uart4; 29 serial5 = &uart5; 28 serial5 = &uart5; 30 serial6 = &uart6; /* con 29 serial6 = &uart6; /* console UART */ 31 }; 30 }; 32 31 33 chosen { 32 chosen { 34 stdout-path = "serial6:115200n 33 stdout-path = "serial6:115200n8"; 35 }; 34 }; 36 35 37 memory@0 { 36 memory@0 { 38 device_type = "memory"; 37 device_type = "memory"; 39 /* expect bootloader to fill i 38 /* expect bootloader to fill in this region */ 40 reg = <0x0 0x0 0x0 0x0>; 39 reg = <0x0 0x0 0x0 0x0>; 41 }; 40 }; 42 41 >> 42 sd_1v8: regulator-1v8 { >> 43 compatible = "regulator-fixed"; >> 44 regulator-name = "fixed-1.8V"; >> 45 regulator-min-microvolt = <1800000>; >> 46 regulator-max-microvolt = <1800000>; >> 47 regulator-always-on; >> 48 }; >> 49 >> 50 sd_3v3: regulator-3v3 { >> 51 compatible = "regulator-fixed"; >> 52 regulator-name = "fixed-3.3V"; >> 53 regulator-min-microvolt = <3300000>; >> 54 regulator-max-microvolt = <3300000>; >> 55 regulator-boot-on; >> 56 regulator-always-on; >> 57 }; >> 58 43 wlan_en: wlan-en-1-8v { 59 wlan_en: wlan-en-1-8v { 44 compatible = "regulator-fixed" 60 compatible = "regulator-fixed"; 45 regulator-name = "wlan-en-regu 61 regulator-name = "wlan-en-regulator"; 46 regulator-min-microvolt = <180 62 regulator-min-microvolt = <1800000>; 47 regulator-max-microvolt = <180 63 regulator-max-microvolt = <1800000>; 48 64 49 /* GPIO_051_WIFI_EN */ 65 /* GPIO_051_WIFI_EN */ 50 gpio = <&gpio6 3 0>; 66 gpio = <&gpio6 3 0>; 51 67 52 /* WLAN card specific delay */ 68 /* WLAN card specific delay */ 53 startup-delay-us = <70000>; 69 startup-delay-us = <70000>; 54 enable-active-high; 70 enable-active-high; 55 }; 71 }; 56 }; 72 }; 57 73 58 /* 74 /* 59 * Legend: proper name = the GPIO line is used 75 * Legend: proper name = the GPIO line is used as GPIO 60 * NC = not connected (pin out but not 76 * NC = not connected (pin out but not routed from the chip to 61 * anything the board) 77 * anything the board) 62 * "[PER]" = pin is muxed for [periphe 78 * "[PER]" = pin is muxed for [peripheral] (not GPIO) 63 * "" = no idea, schematic doesn't say 79 * "" = no idea, schematic doesn't say, could be 64 * unrouted (not connected to any 80 * unrouted (not connected to any external pin) 65 * LSEC = Low Speed External Connector 81 * LSEC = Low Speed External Connector 66 * HSEC = High Speed External Connecto 82 * HSEC = High Speed External Connector 67 * 83 * 68 * Line names are taken from "hikey970-schemat 84 * Line names are taken from "hikey970-schematics.pdf" from HiSilicon. 69 * 85 * 70 * For the lines routed to the external connec 86 * For the lines routed to the external connectors the 71 * lines are named after the 96Boards CE Speci 87 * lines are named after the 96Boards CE Specification 1.0, 72 * Appendix "Expansion Connector Signal Descri 88 * Appendix "Expansion Connector Signal Description". 73 * 89 * 74 * When the 96Board naming of a line and the s 90 * When the 96Board naming of a line and the schematic name of 75 * the same line are in conflict, the 96Board 91 * the same line are in conflict, the 96Board specification 76 * takes precedence, which means that the exte 92 * takes precedence, which means that the external UART on the 77 * LSEC is named UART0 while the schematic and 93 * LSEC is named UART0 while the schematic and SoC names this 78 * UART2. This is only for the informational l 94 * UART2. This is only for the informational lines i.e. "[FOO]", 79 * the GPIO named lines "GPIO-A" thru "GPIO-L" 95 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only 80 * ones actually used for GPIO. 96 * ones actually used for GPIO. 81 */ 97 */ 82 &gpio0 { 98 &gpio0 { 83 /* GPIO_000-GPIO_007 */ 99 /* GPIO_000-GPIO_007 */ 84 gpio-line-names = 100 gpio-line-names = 85 "", 101 "", 86 "TP901", /* TEST_MODE connecte 102 "TP901", /* TEST_MODE connected to TP901 */ 87 "", 103 "", 88 "GPIO_003_USB_HUB_RESET_N", 104 "GPIO_003_USB_HUB_RESET_N", 89 "NC", 105 "NC", 90 "[AP_GPS_REF_CLK]", 106 "[AP_GPS_REF_CLK]", 91 "[I2C3_SCL]", 107 "[I2C3_SCL]", 92 "[I2C3_SDA]"; 108 "[I2C3_SDA]"; 93 }; 109 }; 94 110 95 &gpio1 { 111 &gpio1 { 96 /* GPIO_008-GPIO_015 */ 112 /* GPIO_008-GPIO_015 */ 97 gpio-line-names = 113 gpio-line-names = 98 "[UART0_CTS]", /* LSEC pin 3: 114 "[UART0_CTS]", /* LSEC pin 3: GPIO_008_UART2_CTS_N */ 99 "[UART0_RTS]", /* LSEC pin 9: 115 "[UART0_RTS]", /* LSEC pin 9: GPIO_009_UART2_RTS_N */ 100 "[UART0_TXD]", /* LSEC pin 5: 116 "[UART0_TXD]", /* LSEC pin 5: GPIO_010_UART2_TXD */ 101 "[UART0_RXD]", /* LSEC pin 7: 117 "[UART0_RXD]", /* LSEC pin 7: GPIO_011_UART2_RXD */ 102 "[USER_LED5]", 118 "[USER_LED5]", 103 "GPIO-I", /* LSEC pin 31: GPIO 119 "GPIO-I", /* LSEC pin 31: GPIO_013_CAM0_RST_N */ 104 "[USER_LED3]", 120 "[USER_LED3]", 105 "[USER_LED4]"; 121 "[USER_LED4]"; 106 }; 122 }; 107 123 108 &gpio2 { 124 &gpio2 { 109 /* GPIO_016-GPIO_023 */ 125 /* GPIO_016-GPIO_023 */ 110 gpio-line-names = 126 gpio-line-names = 111 "GPIO-G", /* LSEC pin 29: GPIO 127 "GPIO-G", /* LSEC pin 29: GPIO_016_LCD_TE0 */ 112 "[CSI0_MCLK]", /* HSEC pin 15: 128 "[CSI0_MCLK]", /* HSEC pin 15: ISP_CCLK0_MCAM */ 113 "[CSI1_MCLK]", /* HSEC pin 17: 129 "[CSI1_MCLK]", /* HSEC pin 17: ISP_CCLK1_SCAM */ 114 "GPIO_019_BT_ACTIVE", 130 "GPIO_019_BT_ACTIVE", 115 "[I2C2_SCL]", /* HSEC pin 32: 131 "[I2C2_SCL]", /* HSEC pin 32: ISP_SCL0 */ 116 "[I2C2_SDA]", /* HSEC pin 34: 132 "[I2C2_SDA]", /* HSEC pin 34: ISP_SDA0 */ 117 "[I2C3_SCL]", /* HSEC pin 36: 133 "[I2C3_SCL]", /* HSEC pin 36: ISP_SCL1 */ 118 "[I2C3_SDA]"; /* HSEC pin 38: 134 "[I2C3_SDA]"; /* HSEC pin 38: ISP_SDA1 */ 119 }; 135 }; 120 136 121 &gpio3 { 137 &gpio3 { 122 /* GPIO_024-GPIO_031 */ 138 /* GPIO_024-GPIO_031 */ 123 gpio-line-names = 139 gpio-line-names = 124 "GPIO_024_WIFI_ACTIVE", 140 "GPIO_024_WIFI_ACTIVE", 125 "GPIO_025_PERST_M.2", 141 "GPIO_025_PERST_M.2", 126 "[I2C4_SCL]", 142 "[I2C4_SCL]", 127 "[I2C4_SDA]", 143 "[I2C4_SDA]", 128 "NC", 144 "NC", 129 "GPIO-H", /* LSEC pin 30: GPIO 145 "GPIO-H", /* LSEC pin 30: GPIO_029_LCD_RST_N */ 130 "[USER_LED1]", 146 "[USER_LED1]", 131 "GPIO-L"; /* LSEC pin 34: GPIO 147 "GPIO-L"; /* LSEC pin 34: GPIO_031 */ 132 }; 148 }; 133 149 134 &gpio4 { 150 &gpio4 { 135 /* GPIO_032-GPIO_039 */ 151 /* GPIO_032-GPIO_039 */ 136 gpio-line-names = 152 gpio-line-names = 137 "GPIO-K", /* LSEC pin 33: GPIO 153 "GPIO-K", /* LSEC pin 33: GPIO_032_CAM1_RST_N */ 138 "GPIO_033_PMU1_EN", 154 "GPIO_033_PMU1_EN", 139 "GPIO_034_USBSW_SEL", 155 "GPIO_034_USBSW_SEL", 140 /* 156 /* 141 * These two pins should be us 157 * These two pins should be used for SD(IO) data according 142 * to the 96boards specificati 158 * to the 96boards specification but seems to be repurposed 143 * for UART 0. They are howeve 159 * for UART 0. They are however named according to the spec. 144 */ 160 */ 145 "[SD_DAT1]", /* HSEC pin 3: GP 161 "[SD_DAT1]", /* HSEC pin 3: GPIO_035_UART0_RXD */ 146 "[SD_DAT2]", /* HSEC pin 5: GP 162 "[SD_DAT2]", /* HSEC pin 5: GPIO_036_UART0_TXD */ 147 "[UART1_RXD]", /* LSEC pin 13: 163 "[UART1_RXD]", /* LSEC pin 13: DEBUG_UART6_RXD */ 148 "[UART1_TXD]", /* LSEC pin 11: 164 "[UART1_TXD]", /* LSEC pin 11: DEBUG_UART6_TXD */ 149 "[SOC_GPS_UART3_CTS_N]"; /* TP 165 "[SOC_GPS_UART3_CTS_N]"; /* TP2304 */ 150 }; 166 }; 151 167 152 &gpio5 { 168 &gpio5 { 153 /* GPIO_040-GPIO_047 */ 169 /* GPIO_040-GPIO_047 */ 154 gpio-line-names = 170 gpio-line-names = 155 "[SOC_GPS_UART3_RTS_N]", /* TP 171 "[SOC_GPS_UART3_RTS_N]", /* TP2302 */ 156 "[SOC_GPS_UART3_RXD]", /* TP23 172 "[SOC_GPS_UART3_RXD]", /* TP2303 */ 157 "[SOC_GPS_UART3_TXD]", /* TP23 173 "[SOC_GPS_UART3_TXD]", /* TP2305 */ 158 "[SOC_BT_UART4_CTS_N]", 174 "[SOC_BT_UART4_CTS_N]", 159 "[SOC_BT_UART4_RTS_N]", 175 "[SOC_BT_UART4_RTS_N]", 160 "[SOC_BT_UART4_RXD]", 176 "[SOC_BT_UART4_RXD]", 161 "[SOC_BT_UART4_TXD]", 177 "[SOC_BT_UART4_TXD]", 162 "NC"; 178 "NC"; 163 }; 179 }; 164 180 165 &gpio6 { 181 &gpio6 { 166 /* GPIO_048-GPIO_055 */ 182 /* GPIO_048-GPIO_055 */ 167 gpio-line-names = 183 gpio-line-names = 168 "NC", 184 "NC", 169 "GPIO_049_USER_LED6", 185 "GPIO_049_USER_LED6", 170 "GPIO_050_CAN_RST", 186 "GPIO_050_CAN_RST", 171 "GPIO_051_WIFI_EN", 187 "GPIO_051_WIFI_EN", 172 "GPIO-D", /* LSEC pin 26 */ 188 "GPIO-D", /* LSEC pin 26 */ 173 "GPIO-J", /* LSEC pin 32 */ 189 "GPIO-J", /* LSEC pin 32 */ 174 "GPIO_054_BT_EN", 190 "GPIO_054_BT_EN", 175 "[GPIO_055_SEL]"; 191 "[GPIO_055_SEL]"; 176 }; 192 }; 177 193 178 &gpio7 { 194 &gpio7 { 179 /* GPIO_056-GPIO_063 */ 195 /* GPIO_056-GPIO_063 */ 180 gpio-line-names = 196 gpio-line-names = 181 "[PCIE_PERST_L]", "NC", "NC", 197 "[PCIE_PERST_L]", "NC", "NC", "NC", "NC", "NC", "NC", "NC"; 182 }; 198 }; 183 199 184 &gpio8 { 200 &gpio8 { 185 /* GPIO_064-GPIO_071 */ 201 /* GPIO_064-GPIO_071 */ 186 gpio-line-names = "NC", "NC", "NC", "N 202 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC"; 187 }; 203 }; 188 204 189 &gpio9 { 205 &gpio9 { 190 /* GPIO_072-GPIO_079 */ 206 /* GPIO_072-GPIO_079 */ 191 gpio-line-names = "NC", "NC", "NC", "N 207 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC"; 192 }; 208 }; 193 209 194 &gpio10 { 210 &gpio10 { 195 /* GPIO_080-GPIO_087 */ 211 /* GPIO_080-GPIO_087 */ 196 gpio-line-names = "NC", "NC", "NC", "N 212 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC"; 197 }; 213 }; 198 214 199 &gpio11 { 215 &gpio11 { 200 /* GPIO_088-GPIO_095 */ 216 /* GPIO_088-GPIO_095 */ 201 gpio-line-names = "NC", "NC", "NC", "N 217 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC"; 202 }; 218 }; 203 219 204 &gpio12 { 220 &gpio12 { 205 /* GPIO_096-GPIO_103 */ 221 /* GPIO_096-GPIO_103 */ 206 gpio-line-names = "NC", "", "", "", "" 222 gpio-line-names = "NC", "", "", "", "", "", "", ""; 207 }; 223 }; 208 224 209 &gpio13 { 225 &gpio13 { 210 /* GPIO_104-GPIO_111 */ 226 /* GPIO_104-GPIO_111 */ 211 gpio-line-names = "", "", "", "", "", 227 gpio-line-names = "", "", "", "", "", "", "", ""; 212 }; 228 }; 213 229 214 &gpio14 { 230 &gpio14 { 215 /* GPIO_112-GPIO_119 */ 231 /* GPIO_112-GPIO_119 */ 216 gpio-line-names = "", "", "", "", "", 232 gpio-line-names = "", "", "", "", "", "", "", ""; 217 }; 233 }; 218 234 219 &gpio15 { 235 &gpio15 { 220 /* GPIO_120-GPIO_127 */ 236 /* GPIO_120-GPIO_127 */ 221 gpio-line-names = "", "", "", "", "", 237 gpio-line-names = "", "", "", "", "", "", "", ""; 222 }; 238 }; 223 239 224 &gpio16 { 240 &gpio16 { 225 /* GPIO_128-GPIO_135 */ 241 /* GPIO_128-GPIO_135 */ 226 gpio-line-names = 242 gpio-line-names = 227 "[WL_SDIO_CLK]", 243 "[WL_SDIO_CLK]", 228 "[WL_SDIO_CMD]", 244 "[WL_SDIO_CMD]", 229 "[WL_SDIO_DATA0]", 245 "[WL_SDIO_DATA0]", 230 "[WL_SDIO_DATA1]", 246 "[WL_SDIO_DATA1]", 231 "[WL_SDIO_DATA2]", 247 "[WL_SDIO_DATA2]", 232 "[WL_SDIO_DATA3]", 248 "[WL_SDIO_DATA3]", 233 "[ETH_ISOLATE]", 249 "[ETH_ISOLATE]", 234 "NC"; 250 "NC"; 235 }; 251 }; 236 252 237 &gpio17 { 253 &gpio17 { 238 /* GPIO_136-GPIO_143 */ 254 /* GPIO_136-GPIO_143 */ 239 gpio-line-names = 255 gpio-line-names = 240 "[MINI1CLK_EN]", "NC", "", "", 256 "[MINI1CLK_EN]", "NC", "", "", "", "", "", ""; 241 }; 257 }; 242 258 243 &gpio18 { 259 &gpio18 { 244 /* GPIO_144-GPIO_151 */ 260 /* GPIO_144-GPIO_151 */ 245 gpio-line-names = 261 gpio-line-names = 246 "[SPI1_SCLK]", /* HSEC pin 9: 262 "[SPI1_SCLK]", /* HSEC pin 9: GPIO_144_SPI3_CLK */ 247 "[SPI1_DIN]", /* HSEC pin 11: 263 "[SPI1_DIN]", /* HSEC pin 11: GPIO_145_SPI3_DI */ 248 "[SPI1_DOUT]", /* HSEC pin 1: 264 "[SPI1_DOUT]", /* HSEC pin 1: GPIO_146_SPI3_DO */ 249 "[SPI1_CS]", /* HSEC pin 7: GP 265 "[SPI1_CS]", /* HSEC pin 7: GPIO_147_SPI3_CS0_N */ 250 "[POWER_INT_N]", 266 "[POWER_INT_N]", 251 "[CDMA_GPS_SYNC]", 267 "[CDMA_GPS_SYNC]", 252 "GPIO_150_PEX_INTA", 268 "GPIO_150_PEX_INTA", 253 "GPIO_151_CAN_INT"; 269 "GPIO_151_CAN_INT"; 254 }; 270 }; 255 271 256 &gpio19 { 272 &gpio19 { 257 /* GPIO_152-GPIO_159 */ 273 /* GPIO_152-GPIO_159 */ 258 gpio-line-names = "", "", "", "", "", 274 gpio-line-names = "", "", "", "", "", "", "", ""; 259 }; 275 }; 260 276 261 &gpio20 { 277 &gpio20 { 262 /* GPIO_160-GPIO_167 */ 278 /* GPIO_160-GPIO_167 */ 263 gpio-line-names = 279 gpio-line-names = 264 "[SD_CLK]", 280 "[SD_CLK]", 265 "[SD_CMD]", 281 "[SD_CMD]", 266 "[SD_DATA0]", 282 "[SD_DATA0]", 267 "[SD_DATA1]", 283 "[SD_DATA1]", 268 "[SD_DATA2]", 284 "[SD_DATA2]", 269 "[SD_DATA3]", 285 "[SD_DATA3]", 270 "GPIO_166_ETHCLK_EN", 286 "GPIO_166_ETHCLK_EN", 271 "GPIO_167_USER_LED2"; 287 "GPIO_167_USER_LED2"; 272 }; 288 }; 273 289 274 &gpio21 { 290 &gpio21 { 275 /* GPIO_168-GPIO_175 */ 291 /* GPIO_168-GPIO_175 */ 276 gpio-line-names = 292 gpio-line-names = 277 "GPIO_168_GPS_EN", 293 "GPIO_168_GPS_EN", 278 "GPIO-C", /* LSEC pin 25: GPIO 294 "GPIO-C", /* LSEC pin 25: GPIO_169_USIM1_CLK */ 279 "GPIO-E", /* LSEC pin 27: GPIO 295 "GPIO-E", /* LSEC pin 27: GPIO_170_USIM1_RST */ 280 "GPIO-B", /* LSEC pin 24: GPIO 296 "GPIO-B", /* LSEC pin 24: GPIO_171_USIM1_DATA */ 281 "", "", "", "", ""; 297 "", "", "", "", ""; 282 }; 298 }; 283 299 284 &gpio22 { 300 &gpio22 { 285 /* GPIO_176-GPIO_183 */ 301 /* GPIO_176-GPIO_183 */ 286 gpio-line-names = 302 gpio-line-names = 287 "[PMU_PWR_HOLD]", 303 "[PMU_PWR_HOLD]", 288 "GPIO_177_WL_WAKEUP_AP", 304 "GPIO_177_WL_WAKEUP_AP", 289 "[JTAG_TCK]", 305 "[JTAG_TCK]", 290 "[JTAG_TMS]", 306 "[JTAG_TMS]", 291 "[JTAG_TDI]", 307 "[JTAG_TDI]", 292 "[JTAG_TMS]", 308 "[JTAG_TMS]", 293 "GPIO_182_FATAL_ERR", 309 "GPIO_182_FATAL_ERR", 294 "NC"; 310 "NC"; 295 }; 311 }; 296 312 297 &gpio23 { 313 &gpio23 { 298 /* GPIO_184-GPIO_191 */ 314 /* GPIO_184-GPIO_191 */ 299 gpio-line-names = 315 gpio-line-names = 300 "GPIO_184_JTAG_SEL", 316 "GPIO_184_JTAG_SEL", 301 "GPIO-F", /* LSEC pin 28: GPIO 317 "GPIO-F", /* LSEC pin 28: GPIO_185_LCD_BL_PWM */ 302 "[I2C0_SCL]", /* LSEC pin 15: 318 "[I2C0_SCL]", /* LSEC pin 15: GPIO_186_I2C0_SCL */ 303 "[I2C0_SDA]", /* LSEC pin 17: 319 "[I2C0_SDA]", /* LSEC pin 17: GPIO_187_I2C0_SDA */ 304 "[GPIO_188_I2C1_SCL]", /* Actu 320 "[GPIO_188_I2C1_SCL]", /* Actual SoC I2C1_SCL */ 305 "[GPIO_189_I2C1_SDA]", /* Actu 321 "[GPIO_189_I2C1_SDA]", /* Actual SoC I2C1_SDA */ 306 "[I2C1_SCL]", /* LSEC pin 19: 322 "[I2C1_SCL]", /* LSEC pin 19: GPIO_190_I2C2_SCL */ 307 "[I2C2_SDA]"; /* LSEC pin 21: 323 "[I2C2_SDA]"; /* LSEC pin 21: GPIO_191_I2C2_SDA */ 308 }; 324 }; 309 325 310 &gpio24 { 326 &gpio24 { 311 /* GPIO_192-GPIO_199 */ 327 /* GPIO_192-GPIO_199 */ 312 gpio-line-names = 328 gpio-line-names = 313 "[SD_LED]", 329 "[SD_LED]", 314 "NC", 330 "NC", 315 "[PCM_DI]", /* LSEC pin 22: GP 331 "[PCM_DI]", /* LSEC pin 22: GPIO_194_I2S0_DI */ 316 "[PCM_DO]", /* LSEC pin 20: GP 332 "[PCM_DO]", /* LSEC pin 20: GPIO_195_I2S0_DO */ 317 "[PCM_CLK]", /* LSEC pin 18: G 333 "[PCM_CLK]", /* LSEC pin 18: GPIO_196_I2S0_XCLK */ 318 "[PCM_FS]", /* LSEC pin 16: GP 334 "[PCM_FS]", /* LSEC pin 16: GPIO_197_I2S0_XFS */ 319 "", 335 "", 320 "[I2S2_DO]"; 336 "[I2S2_DO]"; 321 }; 337 }; 322 338 323 &gpio25 { 339 &gpio25 { 324 /* GPIO_200-GPIO_207 */ 340 /* GPIO_200-GPIO_207 */ 325 gpio-line-names = 341 gpio-line-names = 326 "[I2S2_XCLK]", 342 "[I2S2_XCLK]", 327 "[I2S2_XFS]", 343 "[I2S2_XFS]", 328 "GPIO_202_PERST_ETH", 344 "GPIO_202_PERST_ETH", 329 "GPIO_203_PWRON_DET", 345 "GPIO_203_PWRON_DET", 330 "GPIO_204_PMU1_IRQ_N", 346 "GPIO_204_PMU1_IRQ_N", 331 "GPIO_205_SD_DET", 347 "GPIO_205_SD_DET", 332 "GPIO_206_GPS_MOTION_INT", 348 "GPIO_206_GPS_MOTION_INT", 333 "GPIO_207_HDMI_SEL"; 349 "GPIO_207_HDMI_SEL"; 334 }; 350 }; 335 351 336 &gpio26 { 352 &gpio26 { 337 /* GPIO_208-GPIO_215 */ 353 /* GPIO_208-GPIO_215 */ 338 gpio-line-names = 354 gpio-line-names = 339 "GPIO-A", /* LSEC pin 23: GPIO 355 "GPIO-A", /* LSEC pin 23: GPIO_208_WAKEUP_SOC */ 340 "GPIO_209_VBUS_TYPEC", 356 "GPIO_209_VBUS_TYPEC", 341 "NC", 357 "NC", 342 "NC", 358 "NC", 343 "NC", 359 "NC", 344 "[SPI0_SCLK]", /* LSEC pin 8: 360 "[SPI0_SCLK]", /* LSEC pin 8: GPIO_213_SPI2_CLK */ 345 "[SPI0_DIN]", /* LSEC pin 10: 361 "[SPI0_DIN]", /* LSEC pin 10: GPIO_214_SPI2_DI */ 346 "[SPI0_DOUT]"; /* LSEC pin 14: 362 "[SPI0_DOUT]"; /* LSEC pin 14: GPIO_215_SPI2_DO */ 347 }; 363 }; 348 364 349 &gpio27 { 365 &gpio27 { 350 /* GPIO_216-GPIO_223 */ 366 /* GPIO_216-GPIO_223 */ 351 gpio-line-names = 367 gpio-line-names = 352 "[SPI0_CS]", /* LSEC pin 12: G 368 "[SPI0_CS]", /* LSEC pin 12: GPIO_216_SPI2_CS0_N */ 353 "GPIO_217_HDMI_PD", 369 "GPIO_217_HDMI_PD", 354 "GPIO_218_GPS_WAKEUP_AP", 370 "GPIO_218_GPS_WAKEUP_AP", 355 "GPIO_219_M.2CLK_EN", 371 "GPIO_219_M.2CLK_EN", 356 "GPIO_220_PERST_MINI", 372 "GPIO_220_PERST_MINI", 357 "GPIO_221_CC_INT", 373 "GPIO_221_CC_INT", 358 "[PCIE_CLKREQ_L]", 374 "[PCIE_CLKREQ_L]", 359 "NC"; 375 "NC"; 360 }; 376 }; 361 377 362 &gpio28 { 378 &gpio28 { 363 /* GPIO_224-GPIO_231 */ 379 /* GPIO_224-GPIO_231 */ 364 gpio-line-names = 380 gpio-line-names = 365 "[PMU0_INT]", 381 "[PMU0_INT]", 366 "[SPMI_DATA]", 382 "[SPMI_DATA]", 367 "[SPMI_CLK]", 383 "[SPMI_CLK]", 368 "[CAN_SPI_CLK]", 384 "[CAN_SPI_CLK]", 369 "[CAN_SPI_DI]", 385 "[CAN_SPI_DI]", 370 "[CAN_SPI_DO]", 386 "[CAN_SPI_DO]", 371 "[CAN_SPI_CS]", 387 "[CAN_SPI_CS]", 372 "GPIO_231_HDMI_INT"; 388 "GPIO_231_HDMI_INT"; 373 }; 389 }; 374 390 375 &dwmmc1 { 391 &dwmmc1 { 376 bus-width = <0x4>; 392 bus-width = <0x4>; 377 sd-uhs-sdr12; 393 sd-uhs-sdr12; 378 sd-uhs-sdr25; 394 sd-uhs-sdr25; 379 sd-uhs-sdr50; 395 sd-uhs-sdr50; 380 sd-uhs-sdr104; 396 sd-uhs-sdr104; 381 cap-sd-highspeed; 397 cap-sd-highspeed; 382 disable-wp; 398 disable-wp; 383 cd-inverted; 399 cd-inverted; 384 cd-gpios = <&gpio25 5 GPIO_ACTIVE_HIGH 400 cd-gpios = <&gpio25 5 GPIO_ACTIVE_HIGH>; 385 pinctrl-names = "default"; 401 pinctrl-names = "default"; 386 pinctrl-0 = <&sd_pmx_func 402 pinctrl-0 = <&sd_pmx_func 387 &sd_clk_cfg_func 403 &sd_clk_cfg_func 388 &sd_cfg_func>; 404 &sd_cfg_func>; 389 vmmc-supply = <&ldo16>; !! 405 vmmc-supply = <&sd_3v3>; 390 vqmmc-supply = <&ldo9>; !! 406 vqmmc-supply = <&sd_1v8>; 391 status = "okay"; 407 status = "okay"; 392 }; 408 }; 393 409 394 &dwmmc2 { /* WIFI */ 410 &dwmmc2 { /* WIFI */ 395 bus-width = <0x4>; 411 bus-width = <0x4>; 396 non-removable; 412 non-removable; 397 broken-cd; 413 broken-cd; 398 cap-power-off-card; 414 cap-power-off-card; 399 pinctrl-names = "default"; 415 pinctrl-names = "default"; 400 pinctrl-0 = <&sdio_pmx_func 416 pinctrl-0 = <&sdio_pmx_func 401 &sdio_clk_cfg_func 417 &sdio_clk_cfg_func 402 &sdio_cfg_func>; 418 &sdio_cfg_func>; 403 /* WL_EN */ 419 /* WL_EN */ 404 vmmc-supply = <&wlan_en>; 420 vmmc-supply = <&wlan_en>; 405 status = "okay"; 421 status = "okay"; 406 422 407 wlcore: wlcore@2 { 423 wlcore: wlcore@2 { 408 compatible = "ti,wl1837"; 424 compatible = "ti,wl1837"; 409 reg = <2>; /* sdio func n 425 reg = <2>; /* sdio func num */ 410 /* WL_IRQ, GPIO_177_WL_WAKEUP_ 426 /* WL_IRQ, GPIO_177_WL_WAKEUP_AP */ 411 interrupt-parent = <&gpio22>; 427 interrupt-parent = <&gpio22>; 412 interrupts = <1 IRQ_TYPE_EDGE_ 428 interrupts = <1 IRQ_TYPE_EDGE_RISING>; 413 }; 429 }; 414 }; 430 }; 415 431 416 &uart0 { 432 &uart0 { 417 /* On High speed expansion header */ 433 /* On High speed expansion header */ 418 label = "HS-UART0"; 434 label = "HS-UART0"; 419 status = "okay"; 435 status = "okay"; 420 }; 436 }; 421 437 422 &uart2 { 438 &uart2 { 423 /* On Low speed expansion header */ 439 /* On Low speed expansion header */ 424 label = "LS-UART0"; 440 label = "LS-UART0"; 425 status = "okay"; 441 status = "okay"; 426 }; 442 }; 427 443 428 &uart6 { 444 &uart6 { 429 /* On Low speed expansion header */ 445 /* On Low speed expansion header */ 430 label = "LS-UART1"; 446 label = "LS-UART1"; 431 status = "okay"; 447 status = "okay"; 432 }; 448 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.