1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (C) 2023 Andreas Kemnade 3 * Copyright (C) 2023 Andreas Kemnade 4 */ 4 */ 5 /dts-v1/; 5 /dts-v1/; 6 6 7 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/input/input.h> 9 #include "omap4460.dtsi" 9 #include "omap4460.dtsi" 10 10 11 / { 11 / { 12 model = "Epson Moverio BT-200"; 12 model = "Epson Moverio BT-200"; 13 compatible = "epson,embt2ws", "ti,omap 13 compatible = "epson,embt2ws", "ti,omap4460", "ti,omap4"; 14 14 15 memory@80000000 { 15 memory@80000000 { 16 device_type = "memory"; 16 device_type = "memory"; 17 reg = <0x80000000 0x40000000>; 17 reg = <0x80000000 0x40000000>; /* 1024M */ 18 }; 18 }; 19 19 20 backlight-left { 20 backlight-left { 21 compatible = "pwm-backlight"; 21 compatible = "pwm-backlight"; 22 pwms = <&twl_pwm 1 7812500>; 22 pwms = <&twl_pwm 1 7812500>; 23 power-supply = <&unknown_suppl 23 power-supply = <&unknown_supply>; 24 }; 24 }; 25 25 26 backlight-right { 26 backlight-right { 27 compatible = "pwm-backlight"; 27 compatible = "pwm-backlight"; 28 pwms = <&twl_pwm 0 7812500>; 28 pwms = <&twl_pwm 0 7812500>; 29 power-supply = <&unknown_suppl 29 power-supply = <&unknown_supply>; 30 }; 30 }; 31 31 32 chosen { 32 chosen { 33 stdout-path = &uart3; 33 stdout-path = &uart3; 34 }; 34 }; 35 35 36 gpio-keys { 36 gpio-keys { 37 compatible = "gpio-keys"; 37 compatible = "gpio-keys"; 38 pinctrl-names = "default"; 38 pinctrl-names = "default"; 39 pinctrl-0 = <&gpio_keys_pins>; 39 pinctrl-0 = <&gpio_keys_pins>; 40 40 41 key-lock { 41 key-lock { 42 label = "Lock"; 42 label = "Lock"; 43 gpios = <&gpio2 3 GPIO 43 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; 44 linux,code = <SW_ROTAT 44 linux,code = <SW_ROTATE_LOCK>; /* SW_TOUCHPAD_LOCK */ 45 linux,input-type = <EV 45 linux,input-type = <EV_SW>; 46 }; 46 }; 47 }; 47 }; 48 48 49 unknown_supply: unknown-supply { 49 unknown_supply: unknown-supply { 50 compatible = "regulator-fixed" 50 compatible = "regulator-fixed"; 51 regulator-name = "unknown"; 51 regulator-name = "unknown"; 52 }; 52 }; 53 53 54 wl12xx_pwrseq: wl12xx-pwrseq { 54 wl12xx_pwrseq: wl12xx-pwrseq { 55 compatible = "mmc-pwrseq-simpl 55 compatible = "mmc-pwrseq-simple"; 56 clocks = <&twl 1>; 56 clocks = <&twl 1>; 57 clock-names = "ext_clock"; 57 clock-names = "ext_clock"; 58 }; 58 }; 59 59 60 /* regulator for wl12xx on sdio2 */ 60 /* regulator for wl12xx on sdio2 */ 61 wl12xx_vmmc: wl12xx-vmmc { 61 wl12xx_vmmc: wl12xx-vmmc { 62 pinctrl-names = "default"; 62 pinctrl-names = "default"; 63 pinctrl-0 = <&wl12xx_gpio>; 63 pinctrl-0 = <&wl12xx_gpio>; 64 compatible = "regulator-fixed" 64 compatible = "regulator-fixed"; 65 regulator-name = "vwl1271"; 65 regulator-name = "vwl1271"; 66 regulator-min-microvolt = <180 66 regulator-min-microvolt = <1800000>; 67 regulator-max-microvolt = <180 67 regulator-max-microvolt = <1800000>; 68 gpio = <&gpio1 24 GPIO_ACTIVE_ 68 gpio = <&gpio1 24 GPIO_ACTIVE_HIGH>; 69 startup-delay-us = <70000>; 69 startup-delay-us = <70000>; 70 enable-active-high; 70 enable-active-high; 71 }; 71 }; 72 }; 72 }; 73 73 74 &i2c1 { 74 &i2c1 { 75 pinctrl-names = "default"; 75 pinctrl-names = "default"; 76 pinctrl-0 = <&i2c1_pins>; 76 pinctrl-0 = <&i2c1_pins>; 77 77 78 clock-frequency = <400000>; 78 clock-frequency = <400000>; 79 79 80 twl: pmic@48 { 80 twl: pmic@48 { 81 compatible = "ti,twl6032"; 81 compatible = "ti,twl6032"; 82 reg = <0x48>; 82 reg = <0x48>; 83 #clock-cells = <1>; 83 #clock-cells = <1>; 84 /* IRQ# = 7 */ 84 /* IRQ# = 7 */ 85 interrupts = <GIC_SPI 7 IRQ_TY 85 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */ 86 interrupt-controller; 86 interrupt-controller; 87 #interrupt-cells = <1>; 87 #interrupt-cells = <1>; 88 system-power-controller; 88 system-power-controller; 89 89 90 rtc { 90 rtc { 91 compatible = "ti,twl40 91 compatible = "ti,twl4030-rtc"; 92 interrupts = <11>; 92 interrupts = <11>; 93 }; 93 }; 94 94 95 ldo2: regulator-ldo2 { 95 ldo2: regulator-ldo2 { 96 compatible = "ti,twl60 96 compatible = "ti,twl6032-ldo2"; 97 regulator-min-microvol 97 regulator-min-microvolt = <1000000>; 98 regulator-max-microvol 98 regulator-max-microvolt = <3000000>; 99 }; 99 }; 100 100 101 ldo4: regulator-ldo4 { 101 ldo4: regulator-ldo4 { 102 compatible = "ti,twl60 102 compatible = "ti,twl6032-ldo4"; 103 regulator-min-microvol 103 regulator-min-microvolt = <1200000>; 104 regulator-max-microvol 104 regulator-max-microvolt = <2800000>; 105 }; 105 }; 106 106 107 ldo3: regulator-ldo3 { 107 ldo3: regulator-ldo3 { 108 compatible = "ti,twl60 108 compatible = "ti,twl6032-ldo3"; 109 regulator-min-microvol 109 regulator-min-microvolt = <1000000>; 110 regulator-max-microvol 110 regulator-max-microvolt = <3000000>; 111 }; 111 }; 112 112 113 ldo5: regulator-ldo5 { 113 ldo5: regulator-ldo5 { 114 compatible = "ti,twl60 114 compatible = "ti,twl6032-ldo5"; 115 regulator-min-microvol 115 regulator-min-microvolt = <1200000>; 116 regulator-max-microvol 116 regulator-max-microvolt = <3000000>; 117 ti,retain-on-reset; 117 ti,retain-on-reset; 118 }; 118 }; 119 119 120 ldo1: regulator-ldo1 { 120 ldo1: regulator-ldo1 { 121 compatible = "ti,twl60 121 compatible = "ti,twl6032-ldo1"; 122 regulator-min-microvol 122 regulator-min-microvolt = <1800000>; 123 regulator-max-microvol 123 regulator-max-microvolt = <2500000>; 124 }; 124 }; 125 125 126 ldo7: regulator-ldo7 { 126 ldo7: regulator-ldo7 { 127 compatible = "ti,twl60 127 compatible = "ti,twl6032-ldo7"; 128 regulator-min-microvol 128 regulator-min-microvolt = <1200000>; 129 regulator-max-microvol 129 regulator-max-microvolt = <2900000>; 130 }; 130 }; 131 131 132 ldoln: regulator-ldoln { 132 ldoln: regulator-ldoln { 133 compatible = "ti,twl60 133 compatible = "ti,twl6032-ldoln"; 134 regulator-always-on; 134 regulator-always-on; 135 }; 135 }; 136 136 137 ldo6: regulator-ldo6 { 137 ldo6: regulator-ldo6 { 138 compatible = "ti,twl60 138 compatible = "ti,twl6032-ldo6"; 139 regulator-always-on; 139 regulator-always-on; 140 }; 140 }; 141 141 142 ldousb: regulator-ldousb { 142 ldousb: regulator-ldousb { 143 compatible = "ti,twl60 143 compatible = "ti,twl6032-ldousb"; 144 regulator-always-on; 144 regulator-always-on; 145 }; 145 }; 146 146 147 vio: regulator-vio { 147 vio: regulator-vio { 148 compatible = "ti,twl60 148 compatible = "ti,twl6032-vio"; 149 regulator-always-on; 149 regulator-always-on; 150 }; 150 }; 151 151 152 twl_usb_comparator: usb-compar 152 twl_usb_comparator: usb-comparator { 153 compatible = "ti,twl60 153 compatible = "ti,twl6030-usb"; 154 interrupts = <4>, <10> 154 interrupts = <4>, <10>; 155 }; 155 }; 156 156 157 twl_pwm: pwm { 157 twl_pwm: pwm { 158 /* provides two PWMs ( 158 /* provides two PWMs (id 0, 1 for PWM1 and PWM2) */ 159 compatible = "ti,twl60 159 compatible = "ti,twl6030-pwm"; 160 #pwm-cells = <2>; 160 #pwm-cells = <2>; 161 }; 161 }; 162 162 163 twl_pwmled: pwmled { 163 twl_pwmled: pwmled { 164 /* provides one PWM (i 164 /* provides one PWM (id 0 for Charging indicator LED) */ 165 compatible = "ti,twl60 165 compatible = "ti,twl6030-pwmled"; 166 #pwm-cells = <2>; 166 #pwm-cells = <2>; 167 }; 167 }; 168 168 169 gpadc { 169 gpadc { 170 compatible = "ti,twl60 170 compatible = "ti,twl6032-gpadc"; 171 interrupts = <3>; 171 interrupts = <3>; 172 #io-channel-cells = <1 172 #io-channel-cells = <1>; 173 }; 173 }; 174 174 175 }; 175 }; 176 }; 176 }; 177 177 178 #include "twl6030_omap4.dtsi" 178 #include "twl6030_omap4.dtsi" 179 179 180 &twl_usb_comparator { 180 &twl_usb_comparator { 181 usb-supply = <&ldousb>; 181 usb-supply = <&ldousb>; 182 }; 182 }; 183 183 184 184 185 &i2c2 { 185 &i2c2 { 186 pinctrl-names = "default"; 186 pinctrl-names = "default"; 187 pinctrl-0 = <&i2c2_pins>; 187 pinctrl-0 = <&i2c2_pins>; 188 188 189 clock-frequency = <200000>; 189 clock-frequency = <200000>; 190 190 191 /* at head/glasses */ 191 /* at head/glasses */ 192 mpu9150h: imu@68 { 192 mpu9150h: imu@68 { 193 compatible = "invensense,mpu91 193 compatible = "invensense,mpu9150"; 194 reg = <0x68>; 194 reg = <0x68>; 195 195 196 pinctrl-names = "default"; 196 pinctrl-names = "default"; 197 pinctrl-0 = <&mpu9150h_pins>; 197 pinctrl-0 = <&mpu9150h_pins>; 198 interrupt-parent = <&gpio2>; 198 interrupt-parent = <&gpio2>; 199 interrupt = <19 IRQ_TYPE_LEVEL 199 interrupt = <19 IRQ_TYPE_LEVEL_HIGH>; 200 }; 200 }; 201 }; 201 }; 202 202 203 &i2c3 { 203 &i2c3 { 204 pinctrl-names = "default"; 204 pinctrl-names = "default"; 205 pinctrl-0 = <&i2c3_pins>; 205 pinctrl-0 = <&i2c3_pins>; 206 206 207 clock-frequency = <100000>; 207 clock-frequency = <100000>; 208 208 209 led-controller@66 { 209 led-controller@66 { 210 compatible = "rohm,bd2606mvv"; 210 compatible = "rohm,bd2606mvv"; 211 reg = <0x66>; 211 reg = <0x66>; 212 212 213 #address-cells = <1>; 213 #address-cells = <1>; 214 #size-cells = <0>; 214 #size-cells = <0>; 215 215 216 led@0 { 216 led@0 { 217 reg = <0>; 217 reg = <0>; 218 color = <LED_COLOR_ID_ 218 color = <LED_COLOR_ID_GREEN>; 219 function = LED_FUNCTIO 219 function = LED_FUNCTION_STATUS; 220 }; 220 }; 221 221 222 led@2 { 222 led@2 { 223 reg = <2>; 223 reg = <2>; 224 color = <LED_COLOR_ID_ 224 color = <LED_COLOR_ID_BLUE>; 225 function = LED_FUNCTIO 225 function = LED_FUNCTION_STATUS; 226 }; 226 }; 227 227 228 led@4 { 228 led@4 { 229 reg = <4>; 229 reg = <4>; 230 color = <LED_COLOR_ID_ 230 color = <LED_COLOR_ID_RED>; 231 function = LED_FUNCTIO 231 function = LED_FUNCTION_STATUS; 232 }; 232 }; 233 }; 233 }; 234 }; 234 }; 235 235 236 &i2c4 { 236 &i2c4 { 237 pinctrl-names = "default"; 237 pinctrl-names = "default"; 238 pinctrl-0 = <&i2c4_pins>; 238 pinctrl-0 = <&i2c4_pins>; 239 239 240 clock-frequency = <360000>; 240 clock-frequency = <360000>; 241 241 242 /* TODO: KXTI9 at 0xf */ 242 /* TODO: KXTI9 at 0xf */ 243 243 244 tlv320aic3x: codec@18 { 244 tlv320aic3x: codec@18 { 245 compatible = "ti,tlv320aic3x"; 245 compatible = "ti,tlv320aic3x"; 246 reg = <0x18>; 246 reg = <0x18>; 247 pinctrl-names = "default"; 247 pinctrl-names = "default"; 248 pinctrl-0 = <&tlv320aic3x_pins 248 pinctrl-0 = <&tlv320aic3x_pins>; 249 #sound-dai-cells = <0>; 249 #sound-dai-cells = <0>; 250 250 251 reset-gpios = <&gpio2 23 GPIO_ 251 reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; 252 }; 252 }; 253 253 254 mpu9150: imu@68 { 254 mpu9150: imu@68 { 255 compatible = "invensense,mpu91 255 compatible = "invensense,mpu9150"; 256 reg = <0x68>; 256 reg = <0x68>; 257 257 258 pinctrl-names = "default"; 258 pinctrl-names = "default"; 259 pinctrl-0 = <&mpu9150_pins>; 259 pinctrl-0 = <&mpu9150_pins>; 260 interrupt-parent = <&gpio2>; 260 interrupt-parent = <&gpio2>; 261 interrupt = <7 IRQ_TYPE_LEVEL_ 261 interrupt = <7 IRQ_TYPE_LEVEL_HIGH>; 262 invensense,level-shifter; 262 invensense,level-shifter; 263 }; 263 }; 264 }; 264 }; 265 265 266 &keypad { 266 &keypad { 267 pinctrl-names = "default"; 267 pinctrl-names = "default"; 268 pinctrl-0 = <&keypad_pins>; 268 pinctrl-0 = <&keypad_pins>; 269 keypad,num-rows = <2>; 269 keypad,num-rows = <2>; 270 keypad,num-columns = <3>; 270 keypad,num-columns = <3>; 271 linux,keymap = <MATRIX_KEY(0, 0, KEY_M 271 linux,keymap = <MATRIX_KEY(0, 0, KEY_MENU) 272 MATRIX_KEY(0, 1, KEY_H 272 MATRIX_KEY(0, 1, KEY_HOME) 273 MATRIX_KEY(0, 2, KEY_B 273 MATRIX_KEY(0, 2, KEY_BACK) 274 MATRIX_KEY(1, 0, KEY_E 274 MATRIX_KEY(1, 0, KEY_ESC) 275 MATRIX_KEY(1, 1, KEY_V 275 MATRIX_KEY(1, 1, KEY_VOLUMEDOWN) 276 MATRIX_KEY(1, 2, KEY_V 276 MATRIX_KEY(1, 2, KEY_VOLUMEUP)>; 277 linux,input-no-autorepeat; 277 linux,input-no-autorepeat; 278 }; 278 }; 279 279 280 &mcbsp2 { 280 &mcbsp2 { 281 #sound-dai-cells = <0>; 281 #sound-dai-cells = <0>; 282 pinctrl-names = "default"; 282 pinctrl-names = "default"; 283 pinctrl-0 = <&mcbsp2_pins>; 283 pinctrl-0 = <&mcbsp2_pins>; 284 status = "okay"; 284 status = "okay"; 285 }; 285 }; 286 286 287 287 288 &mmc1 { 288 &mmc1 { 289 /* sdcard */ 289 /* sdcard */ 290 vmmc-supply = <&ldo5>; 290 vmmc-supply = <&ldo5>; 291 broken-cd; 291 broken-cd; 292 bus-width = <4>; 292 bus-width = <4>; 293 }; 293 }; 294 294 295 &mmc2 { 295 &mmc2 { 296 /* emmc */ 296 /* emmc */ 297 vmmc-supply = <&ldo2>; 297 vmmc-supply = <&ldo2>; 298 bus-width = <8>; 298 bus-width = <8>; 299 }; 299 }; 300 300 301 &mmc3 { 301 &mmc3 { 302 pinctrl-names = "default"; 302 pinctrl-names = "default"; 303 pinctrl-0 = <&wl12xx_pins>; 303 pinctrl-0 = <&wl12xx_pins>; 304 vmmc-supply = <&wl12xx_vmmc>; 304 vmmc-supply = <&wl12xx_vmmc>; 305 mmc-pwrseq = <&wl12xx_pwrseq>; 305 mmc-pwrseq = <&wl12xx_pwrseq>; 306 interrupts-extended = <&wakeupgen GIC_ 306 interrupts-extended = <&wakeupgen GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH 307 &omap4_pmx_core 307 &omap4_pmx_core 0x12e>; 308 non-removable; 308 non-removable; 309 bus-width = <4>; 309 bus-width = <4>; 310 cap-power-off-card; 310 cap-power-off-card; 311 311 312 #address-cells = <1>; 312 #address-cells = <1>; 313 #size-cells = <0>; 313 #size-cells = <0>; 314 wlcore: wlcore@2 { 314 wlcore: wlcore@2 { 315 compatible = "ti,wl1283"; 315 compatible = "ti,wl1283"; 316 reg = <2>; 316 reg = <2>; 317 interrupts-extended = <&gpio1 317 interrupts-extended = <&gpio1 23 IRQ_TYPE_LEVEL_HIGH>; 318 interrupt-names = "irq"; 318 interrupt-names = "irq"; 319 ref-clock-frequency = <2600000 319 ref-clock-frequency = <26000000>; 320 tcxo-clock-frequency = <260000 320 tcxo-clock-frequency = <26000000>; 321 }; 321 }; 322 }; 322 }; 323 323 324 &mmc4 { 324 &mmc4 { 325 status = "disabled"; 325 status = "disabled"; 326 }; 326 }; 327 327 328 &mmc5 { 328 &mmc5 { 329 status = "disabled"; 329 status = "disabled"; 330 }; 330 }; 331 331 332 &omap4_pmx_core { 332 &omap4_pmx_core { 333 bt_pins: pinmux-bt-pins { 333 bt_pins: pinmux-bt-pins { 334 pinctrl-single,pins = < 334 pinctrl-single,pins = < 335 OMAP4_IOPAD(0x1ca, PIN 335 OMAP4_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE3) /* gpio25 */ 336 >; 336 >; 337 }; 337 }; 338 338 339 gpio_keys_pins: pinmux-gpio-key-pins { 339 gpio_keys_pins: pinmux-gpio-key-pins { 340 pinctrl-single,pins = < 340 pinctrl-single,pins = < 341 OMAP4_IOPAD(0x56, PIN_ 341 OMAP4_IOPAD(0x56, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio35 */ 342 >; 342 >; 343 }; 343 }; 344 344 345 i2c1_pins: pinmux-i2c1-pins { 345 i2c1_pins: pinmux-i2c1-pins { 346 pinctrl-single,pins = < 346 pinctrl-single,pins = < 347 OMAP4_IOPAD(0x122, 347 OMAP4_IOPAD(0x122, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */ 348 OMAP4_IOPAD(0x124, 348 OMAP4_IOPAD(0x124, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */ 349 >; 349 >; 350 }; 350 }; 351 351 352 i2c2_pins: pinmux-i2c2-pins { 352 i2c2_pins: pinmux-i2c2-pins { 353 pinctrl-single,pins = < 353 pinctrl-single,pins = < 354 OMAP4_IOPAD(0x126, PIN 354 OMAP4_IOPAD(0x126, PIN_INPUT | MUX_MODE0) /* i2c2_scl */ 355 OMAP4_IOPAD(0x128, PIN 355 OMAP4_IOPAD(0x128, PIN_INPUT | MUX_MODE0) /* i2c2_sda */ 356 >; 356 >; 357 }; 357 }; 358 358 359 i2c3_pins: pinmux-i2c3-pins { 359 i2c3_pins: pinmux-i2c3-pins { 360 pinctrl-single,pins = < 360 pinctrl-single,pins = < 361 OMAP4_IOPAD(0x12a, PIN 361 OMAP4_IOPAD(0x12a, PIN_INPUT | MUX_MODE0) /* i2c3_scl */ 362 OMAP4_IOPAD(0x12c, PIN 362 OMAP4_IOPAD(0x12c, PIN_INPUT | MUX_MODE0) /* i2c3_sda */ 363 >; 363 >; 364 }; 364 }; 365 365 366 i2c4_pins: pinmux-i2c4-pins { 366 i2c4_pins: pinmux-i2c4-pins { 367 pinctrl-single,pins = < 367 pinctrl-single,pins = < 368 OMAP4_IOPAD(0x12e, PIN 368 OMAP4_IOPAD(0x12e, PIN_INPUT | MUX_MODE0) /* i2c4_scl */ 369 OMAP4_IOPAD(0x130, PIN 369 OMAP4_IOPAD(0x130, PIN_INPUT | MUX_MODE0) /* i2c4_sda */ 370 >; 370 >; 371 }; 371 }; 372 372 373 keypad_pins: pinmux-keypad-pins { 373 keypad_pins: pinmux-keypad-pins { 374 pinctrl-single,pins = < 374 pinctrl-single,pins = < 375 /* kpd_row0 */ 375 /* kpd_row0 */ 376 OMAP4_IOPAD(0x0050, PI 376 OMAP4_IOPAD(0x0050, PIN_INPUT_PULLUP | MUX_MODE1) 377 /* kpd_row1 */ 377 /* kpd_row1 */ 378 OMAP4_IOPAD(0x0052, PI 378 OMAP4_IOPAD(0x0052, PIN_INPUT_PULLUP | MUX_MODE1) 379 /* kpd_row2 */ 379 /* kpd_row2 */ 380 OMAP4_IOPAD(0x0054, PI 380 OMAP4_IOPAD(0x0054, PIN_INPUT_PULLUP | MUX_MODE1) 381 /* kpd_col0 */ 381 /* kpd_col0 */ 382 OMAP4_IOPAD(0x0058, PI 382 OMAP4_IOPAD(0x0058, PIN_OUTPUT | MUX_MODE1) 383 /* kpd_col1 */ 383 /* kpd_col1 */ 384 OMAP4_IOPAD(0x005a, PI 384 OMAP4_IOPAD(0x005a, PIN_OUTPUT | MUX_MODE1) 385 /* kpd_col2 */ 385 /* kpd_col2 */ 386 OMAP4_IOPAD(0x005c, PI 386 OMAP4_IOPAD(0x005c, PIN_OUTPUT | MUX_MODE1) 387 >; 387 >; 388 }; 388 }; 389 389 390 mcbsp2_pins: pinmux-mcbsp2-pins { 390 mcbsp2_pins: pinmux-mcbsp2-pins { 391 pinctrl-single,pins = < 391 pinctrl-single,pins = < 392 OMAP4_IOPAD(0x0f6, PIN 392 OMAP4_IOPAD(0x0f6, PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_clkx */ 393 OMAP4_IOPAD(0x0f8, PIN 393 OMAP4_IOPAD(0x0f8, PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_dr */ 394 OMAP4_IOPAD(0x0fa, PIN 394 OMAP4_IOPAD(0x0fa, PIN_OUTPUT | MUX_MODE0) /* abe_mcbsp2_dx */ 395 OMAP4_IOPAD(0x0fc, PIN 395 OMAP4_IOPAD(0x0fc, PIN_INPUT | MUX_MODE0) /* abe_mcbsp2_fsx */ 396 >; 396 >; 397 }; 397 }; 398 398 399 mpu9150_pins: pinmux-mpu9150-pins { 399 mpu9150_pins: pinmux-mpu9150-pins { 400 pinctrl-single,pins = < 400 pinctrl-single,pins = < 401 OMAP4_IOPAD(0x5e, PIN_ 401 OMAP4_IOPAD(0x5e, PIN_INPUT_PULLUP | MUX_MODE3) 402 >; 402 >; 403 }; 403 }; 404 404 405 mpu9150h_pins: pinmux-mpu9150h-pins { 405 mpu9150h_pins: pinmux-mpu9150h-pins { 406 pinctrl-single,pins = < 406 pinctrl-single,pins = < 407 OMAP4_IOPAD(0x76, PIN_ 407 OMAP4_IOPAD(0x76, PIN_INPUT_PULLUP | MUX_MODE3) 408 >; 408 >; 409 }; 409 }; 410 410 411 tlv320aic3x_pins: pinmux-tlv320aic3x-p 411 tlv320aic3x_pins: pinmux-tlv320aic3x-pins { 412 pinctrl-single,pins = < 412 pinctrl-single,pins = < 413 OMAP4_IOPAD(0x7e, PIN_ 413 OMAP4_IOPAD(0x7e, PIN_OUTPUT | MUX_MODE3) 414 >; 414 >; 415 }; 415 }; 416 416 417 uart2_pins: pinmux-uart2-pins { 417 uart2_pins: pinmux-uart2-pins { 418 pinctrl-single,pins = < 418 pinctrl-single,pins = < 419 OMAP4_IOPAD(0x118, PIN 419 OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts */ 420 OMAP4_IOPAD(0x11a, PIN 420 OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0) /* uart2_rts.uart2_rts */ 421 OMAP4_IOPAD(0x11c, PIN 421 OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_rx.uart2_rx */ 422 OMAP4_IOPAD(0x11e, PIN 422 OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */ 423 >; 423 >; 424 }; 424 }; 425 425 426 uart3_pins: pinmux-uart3-pins { 426 uart3_pins: pinmux-uart3-pins { 427 pinctrl-single,pins = < 427 pinctrl-single,pins = < 428 OMAP4_IOPAD(0x144, PIN 428 OMAP4_IOPAD(0x144, PIN_INPUT | MUX_MODE0) /* uart3_rx_irrx */ 429 OMAP4_IOPAD(0x146, PIN 429 OMAP4_IOPAD(0x146, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx */ 430 >; 430 >; 431 }; 431 }; 432 432 433 usb_otg_hs_pins: pinmux-usb-otg-hs-pin 433 usb_otg_hs_pins: pinmux-usb-otg-hs-pins { 434 pinctrl-single,pins = < 434 pinctrl-single,pins = < 435 OMAP4_IOPAD(0x194, PI 435 OMAP4_IOPAD(0x194, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* usba0_otg_ce */ 436 OMAP4_IOPAD(0x196, PI 436 OMAP4_IOPAD(0x196, PIN_INPUT | MUX_MODE0) /* usba0_otg_dp */ 437 OMAP4_IOPAD(0x198, PI 437 OMAP4_IOPAD(0x198, PIN_INPUT | MUX_MODE0) /* usba0_otg_dm */ 438 >; 438 >; 439 }; 439 }; 440 440 441 wl12xx_pins: pinmux-wl12xx-pins { 441 wl12xx_pins: pinmux-wl12xx-pins { 442 pinctrl-single,pins = < 442 pinctrl-single,pins = < 443 OMAP4_IOPAD(0x1c6, PIN 443 OMAP4_IOPAD(0x1c6, PIN_INPUT | MUX_MODE3) /* gpio_23 / IRQ */ 444 OMAP4_IOPAD(0x16c, PIN 444 OMAP4_IOPAD(0x16c, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat2 */ 445 OMAP4_IOPAD(0x16e, PIN 445 OMAP4_IOPAD(0x16e, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat1 */ 446 OMAP4_IOPAD(0x170, PIN 446 OMAP4_IOPAD(0x170, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat0 */ 447 OMAP4_IOPAD(0x172, PIN 447 OMAP4_IOPAD(0x172, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_dat3 */ 448 OMAP4_IOPAD(0x174, PIN 448 OMAP4_IOPAD(0x174, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_cmd */ 449 OMAP4_IOPAD(0x176, PIN 449 OMAP4_IOPAD(0x176, PIN_INPUT_PULLUP | MUX_MODE2) /* sdmmc3_clk */ 450 >; 450 >; 451 }; 451 }; 452 452 453 wl12xx_gpio: pinmux-wl12xx-gpio-pins { 453 wl12xx_gpio: pinmux-wl12xx-gpio-pins { 454 pinctrl-single,pins = < 454 pinctrl-single,pins = < 455 OMAP4_IOPAD(0x1c8, PIN 455 OMAP4_IOPAD(0x1c8, PIN_OUTPUT | MUX_MODE3) /* gpio_24 / WLAN_EN */ 456 >; 456 >; 457 }; 457 }; 458 }; 458 }; 459 459 460 &uart2 { 460 &uart2 { 461 pinctrl-names = "default"; 461 pinctrl-names = "default"; 462 pinctrl-0 = <&uart2_pins &bt_pins>; 462 pinctrl-0 = <&uart2_pins &bt_pins>; 463 interrupts-extended = <&wakeupgen GIC_ 463 interrupts-extended = <&wakeupgen GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH 464 &omap4_pmx_core 464 &omap4_pmx_core OMAP4_UART2_RX>; 465 465 466 bluetooth-gnss { 466 bluetooth-gnss { 467 compatible = "ti,wl1283-st"; 467 compatible = "ti,wl1283-st"; 468 enable-gpios = <&gpio1 25 GPIO 468 enable-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>; /* GPIO_25 */ 469 clocks = <&twl 1>; 469 clocks = <&twl 1>; 470 clock-names = "ext_clock"; 470 clock-names = "ext_clock"; 471 }; 471 }; 472 }; 472 }; 473 473 474 &uart3 { 474 &uart3 { 475 pinctrl-names = "default"; 475 pinctrl-names = "default"; 476 pinctrl-0 = <&uart3_pins>; 476 pinctrl-0 = <&uart3_pins>; 477 interrupts-extended = <&wakeupgen GIC_ 477 interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH 478 &omap4_pmx_core 478 &omap4_pmx_core OMAP4_UART3_RX>; 479 }; 479 }; 480 480 481 &usb_otg_hs { 481 &usb_otg_hs { 482 pinctrl-names = "default"; 482 pinctrl-names = "default"; 483 pinctrl-0 = <&usb_otg_hs_pins>; 483 pinctrl-0 = <&usb_otg_hs_pins>; 484 484 485 interface-type = <1>; 485 interface-type = <1>; 486 mode = <3>; 486 mode = <3>; 487 power = <50>; 487 power = <50>; 488 }; 488 }; 489 489 490 &usbhshost { 490 &usbhshost { 491 status = "disabled"; 491 status = "disabled"; 492 }; 492 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.