1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (C) 2012 Texas Instruments Incorp 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 4 */ 4 */ 5 /dts-v1/; 5 /dts-v1/; 6 6 7 #include "am33xx.dtsi" 7 #include "am33xx.dtsi" 8 #include "am335x-osd335x-common.dtsi" 8 #include "am335x-osd335x-common.dtsi" 9 #include <dt-bindings/interrupt-controller/irq 9 #include <dt-bindings/interrupt-controller/irq.h> 10 10 11 / { 11 / { 12 model = "TI AM335x BeagleBone Blue"; 12 model = "TI AM335x BeagleBone Blue"; 13 compatible = "ti,am335x-bone-blue", "t 13 compatible = "ti,am335x-bone-blue", "ti,am33xx"; 14 14 15 chosen { 15 chosen { 16 stdout-path = &uart0; 16 stdout-path = &uart0; 17 }; 17 }; 18 18 19 leds { 19 leds { 20 pinctrl-names = "default"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&user_leds_s0>; 21 pinctrl-0 = <&user_leds_s0>; 22 22 23 compatible = "gpio-leds"; 23 compatible = "gpio-leds"; 24 24 25 usr_0_led { 25 usr_0_led { 26 label = "beaglebone:gr 26 label = "beaglebone:green:usr0"; 27 gpios = <&gpio1 21 GPI 27 gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; 28 linux,default-trigger 28 linux,default-trigger = "heartbeat"; 29 default-state = "off"; 29 default-state = "off"; 30 }; 30 }; 31 31 32 usr_1_led { 32 usr_1_led { 33 label = "beaglebone:gr 33 label = "beaglebone:green:usr1"; 34 gpios = <&gpio1 22 GPI 34 gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; 35 linux,default-trigger 35 linux,default-trigger = "mmc0"; 36 default-state = "off"; 36 default-state = "off"; 37 }; 37 }; 38 38 39 usr_2_led { 39 usr_2_led { 40 label = "beaglebone:gr 40 label = "beaglebone:green:usr2"; 41 gpios = <&gpio1 23 GPI 41 gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; 42 linux,default-trigger 42 linux,default-trigger = "cpu0"; 43 default-state = "off"; 43 default-state = "off"; 44 }; 44 }; 45 45 46 usr_3_led { 46 usr_3_led { 47 label = "beaglebone:gr 47 label = "beaglebone:green:usr3"; 48 gpios = <&gpio1 24 GPI 48 gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; 49 linux,default-trigger 49 linux,default-trigger = "mmc1"; 50 default-state = "off"; 50 default-state = "off"; 51 }; 51 }; 52 52 53 wifi_led { 53 wifi_led { 54 label = "wifi"; 54 label = "wifi"; 55 gpios = <&gpio0 19 GPI 55 gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>; 56 default-state = "off"; 56 default-state = "off"; 57 linux,default-trigger 57 linux,default-trigger = "phy0assoc"; 58 }; 58 }; 59 59 60 red_led { 60 red_led { 61 label = "red"; 61 label = "red"; 62 gpios = <&gpio2 2 GPIO 62 gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>; 63 default-state = "off"; 63 default-state = "off"; 64 }; 64 }; 65 65 66 green_led { 66 green_led { 67 label = "green"; 67 label = "green"; 68 gpios = <&gpio2 3 GPIO 68 gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>; 69 default-state = "off"; 69 default-state = "off"; 70 }; 70 }; 71 71 72 batt_1_led { 72 batt_1_led { 73 label = "bat25"; 73 label = "bat25"; 74 gpios = <&gpio0 27 GPI 74 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>; 75 default-state = "off"; 75 default-state = "off"; 76 }; 76 }; 77 77 78 batt_2_led { 78 batt_2_led { 79 label = "bat50"; 79 label = "bat50"; 80 gpios = <&gpio0 11 GPI 80 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; 81 default-state = "off"; 81 default-state = "off"; 82 }; 82 }; 83 83 84 batt_3_led { 84 batt_3_led { 85 label = "bat75"; 85 label = "bat75"; 86 gpios = <&gpio1 29 GPI 86 gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>; 87 default-state = "off"; 87 default-state = "off"; 88 }; 88 }; 89 89 90 batt_4_led { 90 batt_4_led { 91 label = "bat100"; 91 label = "bat100"; 92 gpios = <&gpio0 26 GPI 92 gpios = <&gpio0 26 GPIO_ACTIVE_HIGH>; 93 default-state = "off"; 93 default-state = "off"; 94 }; 94 }; 95 }; 95 }; 96 96 97 vmmcsd_fixed: fixedregulator0 { 97 vmmcsd_fixed: fixedregulator0 { 98 compatible = "regulator-fixed" 98 compatible = "regulator-fixed"; 99 regulator-name = "vmmcsd_fixed 99 regulator-name = "vmmcsd_fixed"; 100 regulator-min-microvolt = <330 100 regulator-min-microvolt = <3300000>; 101 regulator-max-microvolt = <330 101 regulator-max-microvolt = <3300000>; 102 }; 102 }; 103 103 104 wlan_en_reg: fixedregulator@2 { 104 wlan_en_reg: fixedregulator@2 { 105 compatible = "regulator-fixed" 105 compatible = "regulator-fixed"; 106 regulator-name = "wlan-en-regu 106 regulator-name = "wlan-en-regulator"; 107 regulator-min-microvolt = <180 107 regulator-min-microvolt = <1800000>; 108 regulator-max-microvolt = <180 108 regulator-max-microvolt = <1800000>; 109 startup-delay-us = <70000>; 109 startup-delay-us = <70000>; 110 110 111 /* WL_EN */ 111 /* WL_EN */ 112 gpio = <&gpio3 9 0>; 112 gpio = <&gpio3 9 0>; 113 enable-active-high; 113 enable-active-high; 114 }; 114 }; 115 }; 115 }; 116 116 117 &am33xx_pinmux { 117 &am33xx_pinmux { 118 user_leds_s0: user-leds-s0-pins { 118 user_leds_s0: user-leds-s0-pins { 119 pinctrl-single,pins = < 119 pinctrl-single,pins = < 120 AM33XX_PADCONF(AM335X_ 120 AM33XX_PADCONF(AM335X_PIN_GPMC_A5, PIN_OUTPUT, MUX_MODE7) /* (V15) gpmc_a5.gpio1[21] - USR_LED_0 */ 121 AM33XX_PADCONF(AM335X_ 121 AM33XX_PADCONF(AM335X_PIN_GPMC_A6, PIN_OUTPUT, MUX_MODE7) /* (U15) gpmc_a6.gpio1[22] - USR_LED_1 */ 122 AM33XX_PADCONF(AM335X_ 122 AM33XX_PADCONF(AM335X_PIN_GPMC_A7, PIN_OUTPUT, MUX_MODE7) /* (T15) gpmc_a7.gpio1[23] - USR_LED_2 */ 123 AM33XX_PADCONF(AM335X_ 123 AM33XX_PADCONF(AM335X_PIN_GPMC_A8, PIN_OUTPUT, MUX_MODE7) /* (V16) gpmc_a8.gpio1[24] - USR_LED_3 */ 124 AM33XX_PADCONF(AM335X_ 124 AM33XX_PADCONF(AM335X_PIN_XDMA_EVENT_INTR0, PIN_OUTPUT, MUX_MODE7) /* (A15) xdma_event_intr0.gpio0[19] - WIFI_LED */ 125 AM33XX_PADCONF(AM335X_ 125 AM33XX_PADCONF(AM335X_PIN_GPMC_ADVN_ALE, PIN_OUTPUT, MUX_MODE7) /* (R7) gpmc_advn_ale.gpio2[2] - P8.7, LED_RED, GP1_PIN_5 */ 126 AM33XX_PADCONF(AM335X_ 126 AM33XX_PADCONF(AM335X_PIN_GPMC_OEN_REN, PIN_OUTPUT, MUX_MODE7) /* (T7) gpmc_oen_ren.gpio2[3] - P8.8, LED_GREEN, GP1_PIN_6 */ 127 AM33XX_PADCONF(AM335X_ 127 AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_OUTPUT, MUX_MODE7) /* (U12) gpmc_ad11.gpio0[27] - P8.17, BATT_LED_1 */ 128 AM33XX_PADCONF(AM335X_ 128 AM33XX_PADCONF(AM335X_PIN_LCD_DATA15, PIN_OUTPUT, MUX_MODE7) /* (T5) lcd_data15.gpio0[11] - P8.32, BATT_LED_2 */ 129 AM33XX_PADCONF(AM335X_ 129 AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT, MUX_MODE7) /* (V6) gpmc_csn0.gpio1[29] - P8.26, BATT_LED_3 */ 130 AM33XX_PADCONF(AM335X_ 130 AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_OUTPUT, MUX_MODE7) /* (T11) gpmc_ad10.gpio0[26] - P8.14, BATT_LED_4 */ 131 131 132 >; 132 >; 133 }; 133 }; 134 134 135 i2c2_pins: i2c2-pins { 135 i2c2_pins: i2c2-pins { 136 pinctrl-single,pins = < 136 pinctrl-single,pins = < 137 AM33XX_PADCONF(AM335X_ 137 AM33XX_PADCONF(AM335X_PIN_UART1_CTSN, PIN_INPUT_PULLUP, MUX_MODE3) /* (D18) uart1_ctsn.I2C2_SDA */ 138 AM33XX_PADCONF(AM335X_ 138 AM33XX_PADCONF(AM335X_PIN_UART1_RTSN, PIN_INPUT_PULLUP, MUX_MODE3) /* (D17) uart1_rtsn.I2C2_SCL */ 139 >; 139 >; 140 }; 140 }; 141 141 142 /* UT0 */ 142 /* UT0 */ 143 uart0_pins: uart0-pins { 143 uart0_pins: uart0-pins { 144 pinctrl-single,pins = < 144 pinctrl-single,pins = < 145 AM33XX_PADCONF(AM335X_ 145 AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 146 AM33XX_PADCONF(AM335X_ 146 AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 147 >; 147 >; 148 }; 148 }; 149 149 150 /* UT1 */ 150 /* UT1 */ 151 uart1_pins: uart1-pins { 151 uart1_pins: uart1-pins { 152 pinctrl-single,pins = < 152 pinctrl-single,pins = < 153 AM33XX_PADCONF(AM335X_ 153 AM33XX_PADCONF(AM335X_PIN_UART1_RXD, PIN_INPUT_PULLUP, MUX_MODE0) 154 AM33XX_PADCONF(AM335X_ 154 AM33XX_PADCONF(AM335X_PIN_UART1_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0) 155 >; 155 >; 156 }; 156 }; 157 157 158 /* GPS */ 158 /* GPS */ 159 uart2_pins: uart2-pins { 159 uart2_pins: uart2-pins { 160 pinctrl-single,pins = < 160 pinctrl-single,pins = < 161 AM33XX_PADCONF(AM335X_ 161 AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT_PULLUP, MUX_MODE1) /* (A17) spi0_sclk.uart2_rxd */ 162 AM33XX_PADCONF(AM335X_ 162 AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* (B17) spi0_d0.uart2_txd */ 163 >; 163 >; 164 }; 164 }; 165 165 166 /* DSM2 */ 166 /* DSM2 */ 167 uart4_pins: uart4-pins { 167 uart4_pins: uart4-pins { 168 pinctrl-single,pins = < 168 pinctrl-single,pins = < 169 AM33XX_PADCONF(AM335X_ 169 AM33XX_PADCONF(AM335X_PIN_GPMC_WAIT0, PIN_INPUT_PULLUP, MUX_MODE6) /* (T17) gpmc_wait0.uart4_rxd */ 170 >; 170 >; 171 }; 171 }; 172 172 173 /* UT5 */ 173 /* UT5 */ 174 uart5_pins: uart5-pins { 174 uart5_pins: uart5-pins { 175 pinctrl-single,pins = < 175 pinctrl-single,pins = < 176 AM33XX_PADCONF(AM335X_ 176 AM33XX_PADCONF(AM335X_PIN_LCD_DATA9, PIN_INPUT_PULLUP, MUX_MODE4) /* (U2) lcd_data9.uart5_rxd */ 177 AM33XX_PADCONF(AM335X_ 177 AM33XX_PADCONF(AM335X_PIN_LCD_DATA8, PIN_OUTPUT_PULLDOWN, MUX_MODE4) /* (U1) lcd_data8.uart5_txd */ 178 >; 178 >; 179 }; 179 }; 180 180 181 mmc1_pins: mmc1-pins { 181 mmc1_pins: mmc1-pins { 182 pinctrl-single,pins = < 182 pinctrl-single,pins = < 183 AM33XX_PADCONF(AM335X_ 183 AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT, MUX_MODE7) /* (C15) spi0_cs1.gpio0[6] */ 184 >; 184 >; 185 }; 185 }; 186 186 187 mmc2_pins: mmc2-pins { 187 mmc2_pins: mmc2-pins { 188 pinctrl-single,pins = < 188 pinctrl-single,pins = < 189 AM33XX_PADCONF(AM335X_ 189 AM33XX_PADCONF(AM335X_PIN_GPMC_CSN1, PIN_INPUT_PULLUP, MUX_MODE2) /* (U9) gpmc_csn1.mmc1_clk */ 190 AM33XX_PADCONF(AM335X_ 190 AM33XX_PADCONF(AM335X_PIN_GPMC_CSN2, PIN_INPUT_PULLUP, MUX_MODE2) /* (V9) gpmc_csn2.mmc1_cmd */ 191 AM33XX_PADCONF(AM335X_ 191 AM33XX_PADCONF(AM335X_PIN_GPMC_AD0, PIN_INPUT_PULLUP, MUX_MODE1) /* (U7) gpmc_ad0.mmc1_dat0 */ 192 AM33XX_PADCONF(AM335X_ 192 AM33XX_PADCONF(AM335X_PIN_GPMC_AD1, PIN_INPUT_PULLUP, MUX_MODE1) /* (V7) gpmc_ad1.mmc1_dat1 */ 193 AM33XX_PADCONF(AM335X_ 193 AM33XX_PADCONF(AM335X_PIN_GPMC_AD2, PIN_INPUT_PULLUP, MUX_MODE1) /* (R8) gpmc_ad2.mmc1_dat2 */ 194 AM33XX_PADCONF(AM335X_ 194 AM33XX_PADCONF(AM335X_PIN_GPMC_AD3, PIN_INPUT_PULLUP, MUX_MODE1) /* (T8) gpmc_ad3.mmc1_dat3 */ 195 AM33XX_PADCONF(AM335X_ 195 AM33XX_PADCONF(AM335X_PIN_GPMC_AD4, PIN_INPUT_PULLUP, MUX_MODE1) /* (U8) gpmc_ad4.mmc1_dat4 */ 196 AM33XX_PADCONF(AM335X_ 196 AM33XX_PADCONF(AM335X_PIN_GPMC_AD5, PIN_INPUT_PULLUP, MUX_MODE1) /* (V8) gpmc_ad5.mmc1_dat5 */ 197 AM33XX_PADCONF(AM335X_ 197 AM33XX_PADCONF(AM335X_PIN_GPMC_AD6, PIN_INPUT_PULLUP, MUX_MODE1) /* (R9) gpmc_ad6.mmc1_dat6 */ 198 AM33XX_PADCONF(AM335X_ 198 AM33XX_PADCONF(AM335X_PIN_GPMC_AD7, PIN_INPUT_PULLUP, MUX_MODE1) /* (T9) gpmc_ad7.mmc1_dat7 */ 199 >; 199 >; 200 }; 200 }; 201 201 202 mmc3_pins: mmc3-pins { 202 mmc3_pins: mmc3-pins { 203 pinctrl-single,pins = < 203 pinctrl-single,pins = < 204 AM33XX_PADCONF(AM335X_ 204 AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLUP, MUX_MODE6) /* (L15) gmii1_rxd1.mmc2_clk */ 205 AM33XX_PADCONF(AM335X_ 205 AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_INPUT_PULLUP, MUX_MODE6) /* (J16) gmii1_txen.mmc2_cmd */ 206 AM33XX_PADCONF(AM335X_ 206 AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLUP, MUX_MODE5) /* (J17) gmii1_rxdv.mmc2_dat0 */ 207 AM33XX_PADCONF(AM335X_ 207 AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_INPUT_PULLUP, MUX_MODE5) /* (J18) gmii1_txd3.mmc2_dat1 */ 208 AM33XX_PADCONF(AM335X_ 208 AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_INPUT_PULLUP, MUX_MODE5) /* (K15) gmii1_txd2.mmc2_dat2 */ 209 AM33XX_PADCONF(AM335X_ 209 AM33XX_PADCONF(AM335X_PIN_MII1_COL, PIN_INPUT_PULLUP, MUX_MODE5) /* (H16) gmii1_col.mmc2_dat3 */ 210 >; 210 >; 211 }; 211 }; 212 212 213 bt_pins: bt-pins { 213 bt_pins: bt-pins { 214 pinctrl-single,pins = < 214 pinctrl-single,pins = < 215 AM33XX_PADCONF(AM335X_ 215 AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLUP, MUX_MODE7) /* (K17) gmii1_txd0.gpio0[28] - BT_EN */ 216 >; 216 >; 217 }; 217 }; 218 218 219 uart3_pins: uart3-pins { 219 uart3_pins: uart3-pins { 220 pinctrl-single,pins = < 220 pinctrl-single,pins = < 221 AM33XX_PADCONF(AM335X_ 221 AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLUP, MUX_MODE1) /* (L17) gmii1_rxd3.uart3_rxd */ 222 AM33XX_PADCONF(AM335X_ 222 AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* (L16) gmii1_rxd2.uart3_txd */ 223 AM33XX_PADCONF(AM335X_ 223 AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT, MUX_MODE3) /* (M17) mdio_data.uart3_ctsn */ 224 AM33XX_PADCONF(AM335X_ 224 AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLDOWN, MUX_MODE3) /* (M18) mdio_clk.uart3_rtsn */ 225 >; 225 >; 226 }; 226 }; 227 227 228 wl18xx_pins: wl18xx-pins { 228 wl18xx_pins: wl18xx-pins { 229 pinctrl-single,pins = < 229 pinctrl-single,pins = < 230 AM33XX_PADCONF(AM335X_ 230 AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* (K18) gmii1_txclk.gpio3[9] - WL_EN */ 231 AM33XX_PADCONF(AM335X_ 231 AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE7) /* (K16) gmii1_txd1.gpio0[21] - WL_IRQ */ 232 AM33XX_PADCONF(AM335X_ 232 AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_OUTPUT_PULLUP, MUX_MODE7) /* (L18) gmii1_rxclk.gpio3[10] - LS_BUF_EN */ 233 >; 233 >; 234 }; 234 }; 235 235 236 /* DCAN */ 236 /* DCAN */ 237 dcan1_pins: dcan1-pins { 237 dcan1_pins: dcan1-pins { 238 pinctrl-single,pins = < 238 pinctrl-single,pins = < 239 AM33XX_PADCONF(AM335X_ 239 AM33XX_PADCONF(AM335X_PIN_UART0_RTSN, PIN_INPUT, MUX_MODE2) /* (E17) uart0_rtsn.dcan1_rx */ 240 AM33XX_PADCONF(AM335X_ 240 AM33XX_PADCONF(AM335X_PIN_UART0_CTSN, PIN_OUTPUT, MUX_MODE2) /* (E18) uart0_ctsn.dcan1_tx */ 241 AM33XX_PADCONF(AM335X_ 241 AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_OUTPUT, MUX_MODE7) /* (M16) gmii1_rxd0.gpio2[21] */ 242 >; 242 >; 243 }; 243 }; 244 244 245 /* E1 */ 245 /* E1 */ 246 eqep0_pins: eqep0-pins { 246 eqep0_pins: eqep0-pins { 247 pinctrl-single,pins = < 247 pinctrl-single,pins = < 248 AM33XX_PADCONF(AM335X_ 248 AM33XX_PADCONF(AM335X_PIN_MCASP0_AXR0, PIN_INPUT, MUX_MODE1) /* (B12) mcasp0_aclkr.eQEP0A_in */ 249 AM33XX_PADCONF(AM335X_ 249 AM33XX_PADCONF(AM335X_PIN_MCASP0_FSR, PIN_INPUT, MUX_MODE1) /* (C13) mcasp0_fsr.eQEP0B_in */ 250 >; 250 >; 251 }; 251 }; 252 252 253 /* E2 */ 253 /* E2 */ 254 eqep1_pins: eqep1-pins { 254 eqep1_pins: eqep1-pins { 255 pinctrl-single,pins = < 255 pinctrl-single,pins = < 256 AM33XX_PADCONF(AM335X_ 256 AM33XX_PADCONF(AM335X_PIN_LCD_DATA12, PIN_INPUT, MUX_MODE2) /* (V2) lcd_data12.eQEP1A_in */ 257 AM33XX_PADCONF(AM335X_ 257 AM33XX_PADCONF(AM335X_PIN_LCD_DATA13, PIN_INPUT, MUX_MODE2) /* (V3) lcd_data13.eQEP1B_in */ 258 >; 258 >; 259 }; 259 }; 260 260 261 /* E3 */ 261 /* E3 */ 262 eqep2_pins: eqep2-pins { 262 eqep2_pins: eqep2-pins { 263 pinctrl-single,pins = < 263 pinctrl-single,pins = < 264 AM33XX_PADCONF(AM335X_ 264 AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT, MUX_MODE4) /* (T12) gpmc_ad12.eQEP2A_in */ 265 AM33XX_PADCONF(AM335X_ 265 AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT, MUX_MODE4) /* (R12) gpmc_ad13.eQEP2B_in */ 266 >; 266 >; 267 }; 267 }; 268 }; 268 }; 269 269 270 &uart0 { 270 &uart0 { 271 pinctrl-names = "default"; 271 pinctrl-names = "default"; 272 pinctrl-0 = <&uart0_pins>; 272 pinctrl-0 = <&uart0_pins>; 273 273 274 status = "okay"; 274 status = "okay"; 275 }; 275 }; 276 276 277 &uart1 { 277 &uart1 { 278 pinctrl-names = "default"; 278 pinctrl-names = "default"; 279 pinctrl-0 = <&uart1_pins>; 279 pinctrl-0 = <&uart1_pins>; 280 280 281 status = "okay"; 281 status = "okay"; 282 }; 282 }; 283 283 284 &uart2 { 284 &uart2 { 285 pinctrl-names = "default"; 285 pinctrl-names = "default"; 286 pinctrl-0 = <&uart2_pins>; 286 pinctrl-0 = <&uart2_pins>; 287 287 288 status = "okay"; 288 status = "okay"; 289 }; 289 }; 290 290 291 &uart4 { 291 &uart4 { 292 pinctrl-names = "default"; 292 pinctrl-names = "default"; 293 pinctrl-0 = <&uart4_pins>; 293 pinctrl-0 = <&uart4_pins>; 294 294 295 status = "okay"; 295 status = "okay"; 296 }; 296 }; 297 297 298 &uart5 { 298 &uart5 { 299 pinctrl-names = "default"; 299 pinctrl-names = "default"; 300 pinctrl-0 = <&uart5_pins>; 300 pinctrl-0 = <&uart5_pins>; 301 301 302 status = "okay"; 302 status = "okay"; 303 }; 303 }; 304 304 305 &usb0 { 305 &usb0 { 306 dr_mode = "peripheral"; 306 dr_mode = "peripheral"; 307 interrupts-extended = <&intc 18 &tps 0 307 interrupts-extended = <&intc 18 &tps 0>; 308 interrupt-names = "mc", "vbus"; 308 interrupt-names = "mc", "vbus"; 309 }; 309 }; 310 310 311 &usb1 { 311 &usb1 { 312 dr_mode = "host"; 312 dr_mode = "host"; 313 }; 313 }; 314 314 315 &i2c0 { 315 &i2c0 { 316 baseboard_eeprom: baseboard_eeprom@50 316 baseboard_eeprom: baseboard_eeprom@50 { 317 compatible = "atmel,24c256"; 317 compatible = "atmel,24c256"; 318 reg = <0x50>; 318 reg = <0x50>; 319 319 320 nvmem-layout { 320 nvmem-layout { 321 compatible = "fixed-la 321 compatible = "fixed-layout"; 322 #address-cells = <1>; 322 #address-cells = <1>; 323 #size-cells = <1>; 323 #size-cells = <1>; 324 324 325 baseboard_data: basebo 325 baseboard_data: baseboard_data@0 { 326 reg = <0 0x100 326 reg = <0 0x100>; 327 }; 327 }; 328 }; 328 }; 329 }; 329 }; 330 }; 330 }; 331 331 332 &i2c2 { 332 &i2c2 { 333 pinctrl-names = "default"; 333 pinctrl-names = "default"; 334 pinctrl-0 = <&i2c2_pins>; 334 pinctrl-0 = <&i2c2_pins>; 335 335 336 status = "okay"; 336 status = "okay"; 337 clock-frequency = <400000>; 337 clock-frequency = <400000>; 338 338 339 mpu9250@68 { 339 mpu9250@68 { 340 compatible = "invensense,mpu92 340 compatible = "invensense,mpu9250"; 341 reg = <0x68>; 341 reg = <0x68>; 342 interrupt-parent = <&gpio3>; 342 interrupt-parent = <&gpio3>; 343 interrupts = <21 IRQ_TYPE_EDGE 343 interrupts = <21 IRQ_TYPE_EDGE_RISING>; 344 i2c-gate { 344 i2c-gate { 345 #address-cells = <1>; 345 #address-cells = <1>; 346 #size-cells = <0>; 346 #size-cells = <0>; 347 ax8975@c { 347 ax8975@c { 348 compatible = " 348 compatible = "asahi-kasei,ak8975"; 349 reg = <0x0c>; 349 reg = <0x0c>; 350 }; 350 }; 351 }; 351 }; 352 }; 352 }; 353 353 354 pressure@76 { 354 pressure@76 { 355 compatible = "bosch,bmp280"; 355 compatible = "bosch,bmp280"; 356 reg = <0x76>; 356 reg = <0x76>; 357 }; 357 }; 358 }; 358 }; 359 359 360 /include/ "../../tps65217.dtsi" 360 /include/ "../../tps65217.dtsi" 361 361 362 &tps { 362 &tps { 363 /delete-property/ ti,pmic-shutdown-con 363 /delete-property/ ti,pmic-shutdown-controller; 364 364 365 charger { 365 charger { 366 interrupts = <0>, <1>; 366 interrupts = <0>, <1>; 367 interrupt-names = "USB", "AC"; 367 interrupt-names = "USB", "AC"; 368 status = "okay"; 368 status = "okay"; 369 }; 369 }; 370 }; 370 }; 371 371 372 &mmc1 { 372 &mmc1 { 373 status = "okay"; 373 status = "okay"; 374 vmmc-supply = <&vmmcsd_fixed>; 374 vmmc-supply = <&vmmcsd_fixed>; 375 bus-width = <4>; 375 bus-width = <4>; 376 pinctrl-names = "default"; 376 pinctrl-names = "default"; 377 pinctrl-0 = <&mmc1_pins>; 377 pinctrl-0 = <&mmc1_pins>; 378 cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 378 cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 379 }; 379 }; 380 380 381 &mmc2 { 381 &mmc2 { 382 status = "okay"; 382 status = "okay"; 383 vmmc-supply = <&vmmcsd_fixed>; 383 vmmc-supply = <&vmmcsd_fixed>; 384 bus-width = <8>; 384 bus-width = <8>; 385 pinctrl-names = "default"; 385 pinctrl-names = "default"; 386 pinctrl-0 = <&mmc2_pins>; 386 pinctrl-0 = <&mmc2_pins>; 387 }; 387 }; 388 388 389 &mmc3 { 389 &mmc3 { 390 dmas = <&edma_xbar 12 0 1 390 dmas = <&edma_xbar 12 0 1 391 &edma_xbar 13 0 2>; 391 &edma_xbar 13 0 2>; 392 dma-names = "tx", "rx"; 392 dma-names = "tx", "rx"; 393 status = "okay"; 393 status = "okay"; 394 vmmc-supply = <&wlan_en_reg>; 394 vmmc-supply = <&wlan_en_reg>; 395 bus-width = <4>; 395 bus-width = <4>; 396 non-removable; 396 non-removable; 397 cap-power-off-card; 397 cap-power-off-card; 398 keep-power-in-suspend; 398 keep-power-in-suspend; 399 pinctrl-names = "default"; 399 pinctrl-names = "default"; 400 pinctrl-0 = <&mmc3_pins &wl18xx_pins>; 400 pinctrl-0 = <&mmc3_pins &wl18xx_pins>; 401 401 402 #address-cells = <1>; 402 #address-cells = <1>; 403 #size-cells = <0>; 403 #size-cells = <0>; 404 wlcore: wlcore@2 { 404 wlcore: wlcore@2 { 405 compatible = "ti,wl1835"; 405 compatible = "ti,wl1835"; 406 reg = <2>; 406 reg = <2>; 407 interrupt-parent = <&gpio0>; 407 interrupt-parent = <&gpio0>; 408 interrupts = <21 IRQ_TYPE_EDGE 408 interrupts = <21 IRQ_TYPE_EDGE_RISING>; 409 }; 409 }; 410 }; 410 }; 411 411 412 &tscadc { 412 &tscadc { 413 status = "okay"; 413 status = "okay"; 414 adc { 414 adc { 415 ti,adc-channels = <0 1 2 3 4 5 415 ti,adc-channels = <0 1 2 3 4 5 6 7>; 416 }; 416 }; 417 }; 417 }; 418 418 419 &uart3 { 419 &uart3 { 420 pinctrl-names = "default"; 420 pinctrl-names = "default"; 421 pinctrl-0 = <&uart3_pins &bt_pins>; 421 pinctrl-0 = <&uart3_pins &bt_pins>; 422 status = "okay"; 422 status = "okay"; 423 423 424 bluetooth { 424 bluetooth { 425 compatible = "ti,wl1835-st"; 425 compatible = "ti,wl1835-st"; 426 enable-gpios = <&gpio0 28 GPIO 426 enable-gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>; 427 }; 427 }; 428 }; 428 }; 429 429 430 &rtc { 430 &rtc { 431 system-power-controller; 431 system-power-controller; 432 clocks = <&clk_32768_ck>, <&clk_24mhz_ 432 clocks = <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>; 433 clock-names = "ext-clk", "int-clk"; 433 clock-names = "ext-clk", "int-clk"; 434 }; 434 }; 435 435 436 &dcan1 { 436 &dcan1 { 437 pinctrl-names = "default"; 437 pinctrl-names = "default"; 438 pinctrl-0 = <&dcan1_pins>; 438 pinctrl-0 = <&dcan1_pins>; 439 status = "okay"; 439 status = "okay"; 440 }; 440 }; 441 441 442 &gpio0 { 442 &gpio0 { 443 gpio-line-names = 443 gpio-line-names = 444 "UART3_CTS", /* M17 */ 444 "UART3_CTS", /* M17 */ 445 "UART3_RTS", /* M18 */ 445 "UART3_RTS", /* M18 */ 446 "UART2_RX", /* A17 */ 446 "UART2_RX", /* A17 */ 447 "UART2_TX", /* B17 */ 447 "UART2_TX", /* B17 */ 448 "I2C1_SDA", /* B16 */ 448 "I2C1_SDA", /* B16 */ 449 "I2C1_SCL", /* A16 */ 449 "I2C1_SCL", /* A16 */ 450 "MMC0_CD", /* C15 */ 450 "MMC0_CD", /* C15 */ 451 "SPI1_SS2", /* C18 */ 451 "SPI1_SS2", /* C18 */ 452 "EQEP_1A", /* V2 */ 452 "EQEP_1A", /* V2 */ 453 "EQEP_1B", /* V3 */ 453 "EQEP_1B", /* V3 */ 454 "MDIR_2B", /* V4 */ 454 "MDIR_2B", /* V4 */ 455 "BATT_LED_2", /* T5 */ 455 "BATT_LED_2", /* T5 */ 456 "I2C2_SDA", /* D18 */ 456 "I2C2_SDA", /* D18 */ 457 "I2C2_SCL", /* D17 */ 457 "I2C2_SCL", /* D17 */ 458 "UART1_RX", /* D16 */ 458 "UART1_RX", /* D16 */ 459 "UART1_TX", /* D15 */ 459 "UART1_TX", /* D15 */ 460 "MMC2_DAT1", /* J18 */ 460 "MMC2_DAT1", /* J18 */ 461 "MMC2_DAT2", /* K15 */ 461 "MMC2_DAT2", /* K15 */ 462 "NC", /* F16 */ 462 "NC", /* F16 */ 463 "WIFI_LED", /* A15 */ 463 "WIFI_LED", /* A15 */ 464 "MOT_STBY", /* D14 */ 464 "MOT_STBY", /* D14 */ 465 "WLAN_IRQ", /* K16 */ 465 "WLAN_IRQ", /* K16 */ 466 "PWM_2A", /* U10 */ 466 "PWM_2A", /* U10 */ 467 "PWM_2B", /* T10 */ 467 "PWM_2B", /* T10 */ 468 "", 468 "", 469 "", 469 "", 470 "BATT_LED_4", /* T11 */ 470 "BATT_LED_4", /* T11 */ 471 "BATT_LED_1", /* U12 */ 471 "BATT_LED_1", /* U12 */ 472 "BT_EN", /* K17 */ 472 "BT_EN", /* K17 */ 473 "SPI1_SS1", /* H18 */ 473 "SPI1_SS1", /* H18 */ 474 "UART4_RX", /* T17 */ 474 "UART4_RX", /* T17 */ 475 "MDIR_1B"; /* U17 */ 475 "MDIR_1B"; /* U17 */ 476 }; 476 }; 477 477 478 &gpio1 { 478 &gpio1 { 479 gpio-line-names = 479 gpio-line-names = 480 "MMC1_DAT0", /* U7 */ 480 "MMC1_DAT0", /* U7 */ 481 "MMC1_DAT1", /* V7 */ 481 "MMC1_DAT1", /* V7 */ 482 "MMC1_DAT2", /* R8 */ 482 "MMC1_DAT2", /* R8 */ 483 "MMC1_DAT3", /* T8 */ 483 "MMC1_DAT3", /* T8 */ 484 "MMC1_DAT4", /* U8 */ 484 "MMC1_DAT4", /* U8 */ 485 "MMC1_DAT5", /* V8 */ 485 "MMC1_DAT5", /* V8 */ 486 "MMC1_DAT6", /* R9 */ 486 "MMC1_DAT6", /* R9 */ 487 "MMC1_DAT7", /* T9 */ 487 "MMC1_DAT7", /* T9 */ 488 "DCAN1_TX", /* E18 */ 488 "DCAN1_TX", /* E18 */ 489 "DCAN1_RX", /* E17 */ 489 "DCAN1_RX", /* E17 */ 490 "UART0_RX", /* E15 */ 490 "UART0_RX", /* E15 */ 491 "UART0_TX", /* E16 */ 491 "UART0_TX", /* E16 */ 492 "EQEP_2A", /* T12 */ 492 "EQEP_2A", /* T12 */ 493 "EQEP_2B", /* R12 */ 493 "EQEP_2B", /* R12 */ 494 "PRU_E_A", /* V13 */ 494 "PRU_E_A", /* V13 */ 495 "PRU_E_B", /* U13 */ 495 "PRU_E_B", /* U13 */ 496 "MDIR_2A", /* R13 */ 496 "MDIR_2A", /* R13 */ 497 "GPIO1_17", /* V14 */ 497 "GPIO1_17", /* V14 */ 498 "PWM_1A", /* U14 */ 498 "PWM_1A", /* U14 */ 499 "PWM_1B", /* T14 */ 499 "PWM_1B", /* T14 */ 500 "EMMC_RST", /* R14 */ 500 "EMMC_RST", /* R14 */ 501 "USR_LED_0", /* V15 */ 501 "USR_LED_0", /* V15 */ 502 "USR_LED_1", /* U15 */ 502 "USR_LED_1", /* U15 */ 503 "USR_LED_2", /* T15 */ 503 "USR_LED_2", /* T15 */ 504 "USR_LED_3", /* V16 */ 504 "USR_LED_3", /* V16 */ 505 "GPIO1_25", /* U16 */ 505 "GPIO1_25", /* U16 */ 506 "MCASP0_AXR0", /* T16 */ 506 "MCASP0_AXR0", /* T16 */ 507 "MCASP0_AXR1", /* V17 */ 507 "MCASP0_AXR1", /* V17 */ 508 "MCASP0_ACLKR", /* U18 */ 508 "MCASP0_ACLKR", /* U18 */ 509 "BATT_LED_3", /* V6 */ 509 "BATT_LED_3", /* V6 */ 510 "MMC1_CLK", /* U9 */ 510 "MMC1_CLK", /* U9 */ 511 "MMC1_CMD"; /* V9 */ 511 "MMC1_CMD"; /* V9 */ 512 }; 512 }; 513 513 514 &gpio2 { 514 &gpio2 { 515 gpio-line-names = 515 gpio-line-names = 516 "MDIR_1A", /* T13 */ 516 "MDIR_1A", /* T13 */ 517 "MCASP0_FSR", /* V12 */ 517 "MCASP0_FSR", /* V12 */ 518 "LED_RED", /* R7 */ 518 "LED_RED", /* R7 */ 519 "LED_GREEN", /* T7 */ 519 "LED_GREEN", /* T7 */ 520 "MODE_BTN", /* U6 */ 520 "MODE_BTN", /* U6 */ 521 "PAUSE_BTN", /* T6 */ 521 "PAUSE_BTN", /* T6 */ 522 "MDIR_4A", /* R1 */ 522 "MDIR_4A", /* R1 */ 523 "MDIR_4B", /* R2 */ 523 "MDIR_4B", /* R2 */ 524 "MDIR_3B", /* R3 */ 524 "MDIR_3B", /* R3 */ 525 "MDIR_3A", /* R4 */ 525 "MDIR_3A", /* R4 */ 526 "SVO7", /* T1 */ 526 "SVO7", /* T1 */ 527 "SVO8", /* T2 */ 527 "SVO8", /* T2 */ 528 "SVO5", /* T3 */ 528 "SVO5", /* T3 */ 529 "SVO6", /* T4 */ 529 "SVO6", /* T4 */ 530 "UART5_TX", /* U1 */ 530 "UART5_TX", /* U1 */ 531 "UART5_RX", /* U2 */ 531 "UART5_RX", /* U2 */ 532 "SERVO_EN", /* U3 */ 532 "SERVO_EN", /* U3 */ 533 "NC", /* U4 */ 533 "NC", /* U4 */ 534 "UART3_RX", /* L17 */ 534 "UART3_RX", /* L17 */ 535 "UART3_TX", /* L16 */ 535 "UART3_TX", /* L16 */ 536 "MMC2_CLK", /* L15 */ 536 "MMC2_CLK", /* L15 */ 537 "DCAN1_SILENT", /* M16 */ 537 "DCAN1_SILENT", /* M16 */ 538 "SVO1", /* U5 */ 538 "SVO1", /* U5 */ 539 "SVO3", /* R5 */ 539 "SVO3", /* R5 */ 540 "SVO2", /* V5 */ 540 "SVO2", /* V5 */ 541 "SVO4", /* R6 */ 541 "SVO4", /* R6 */ 542 "MMC0_DAT3", /* F17 */ 542 "MMC0_DAT3", /* F17 */ 543 "MMC0_DAT2", /* F18 */ 543 "MMC0_DAT2", /* F18 */ 544 "MMC0_DAT1", /* G15 */ 544 "MMC0_DAT1", /* G15 */ 545 "MMC0_DAT0", /* G16 */ 545 "MMC0_DAT0", /* G16 */ 546 "MMC0_CLK", /* G17 */ 546 "MMC0_CLK", /* G17 */ 547 "MMC0_CMD"; /* G18 */ 547 "MMC0_CMD"; /* G18 */ 548 }; 548 }; 549 549 550 &gpio3 { 550 &gpio3 { 551 gpio-line-names = 551 gpio-line-names = 552 "MMC2_DAT3", /* H16 */ 552 "MMC2_DAT3", /* H16 */ 553 "GPIO3_1", /* H17 */ 553 "GPIO3_1", /* H17 */ 554 "GPIO3_2", /* J15 */ 554 "GPIO3_2", /* J15 */ 555 "MMC2_CMD", /* J16 */ 555 "MMC2_CMD", /* J16 */ 556 "MMC2_DAT0", /* J17 */ 556 "MMC2_DAT0", /* J17 */ 557 "I2C0_SDA", /* C17 */ 557 "I2C0_SDA", /* C17 */ 558 "I2C0_SCL", /* C16 */ 558 "I2C0_SCL", /* C16 */ 559 "EMU1", /* C14 */ 559 "EMU1", /* C14 */ 560 "EMU0", /* B14 */ 560 "EMU0", /* B14 */ 561 "WL_EN", /* K18 */ 561 "WL_EN", /* K18 */ 562 "WL_BT_OE", /* L18 */ 562 "WL_BT_OE", /* L18 */ 563 "", 563 "", 564 "", 564 "", 565 "NC", /* F15 */ 565 "NC", /* F15 */ 566 "SPI1_SCK", /* A13 */ 566 "SPI1_SCK", /* A13 */ 567 "SPI1_MISO", /* B13 */ 567 "SPI1_MISO", /* B13 */ 568 "SPI1_MOSI", /* D12 */ 568 "SPI1_MOSI", /* D12 */ 569 "GPIO3_17", /* C12 */ 569 "GPIO3_17", /* C12 */ 570 "EQEP_0A", /* B12 */ 570 "EQEP_0A", /* B12 */ 571 "EQEP_0B", /* C13 */ 571 "EQEP_0B", /* C13 */ 572 "GPIO3_20", /* D13 */ 572 "GPIO3_20", /* D13 */ 573 "IMU_INT", /* A14 */ 573 "IMU_INT", /* A14 */ 574 "", 574 "", 575 "", 575 "", 576 "", 576 "", 577 "", 577 "", 578 "", 578 "", 579 "", 579 "", 580 "", 580 "", 581 "", 581 "", 582 "", 582 "", 583 ""; 583 ""; 584 584 585 ls-buf-en-hog { 585 ls-buf-en-hog { 586 gpio-hog; 586 gpio-hog; 587 gpios = <10 GPIO_ACTIVE_HIGH>; 587 gpios = <10 GPIO_ACTIVE_HIGH>; 588 output-high; 588 output-high; 589 }; 589 }; 590 }; 590 }; 591 591 592 &epwmss0 { 592 &epwmss0 { 593 status = "okay"; 593 status = "okay"; 594 }; 594 }; 595 595 596 &eqep0 { 596 &eqep0 { 597 pinctrl-names = "default"; 597 pinctrl-names = "default"; 598 pinctrl-0 = <&eqep0_pins>; 598 pinctrl-0 = <&eqep0_pins>; 599 status = "okay"; 599 status = "okay"; 600 }; 600 }; 601 601 602 &epwmss1 { 602 &epwmss1 { 603 status = "okay"; 603 status = "okay"; 604 }; 604 }; 605 605 606 &eqep1 { 606 &eqep1 { 607 pinctrl-names = "default"; 607 pinctrl-names = "default"; 608 pinctrl-0 = <&eqep1_pins>; 608 pinctrl-0 = <&eqep1_pins>; 609 status = "okay"; 609 status = "okay"; 610 }; 610 }; 611 611 612 &epwmss2 { 612 &epwmss2 { 613 status = "okay"; 613 status = "okay"; 614 }; 614 }; 615 615 616 &eqep2 { 616 &eqep2 { 617 pinctrl-names = "default"; 617 pinctrl-names = "default"; 618 pinctrl-0 = <&eqep2_pins>; 618 pinctrl-0 = <&eqep2_pins>; 619 status = "okay"; 619 status = "okay"; 620 }; 620 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.