Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'omap-for-v6.8/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into soc/dt

Devicetree changes for omaps

- A series of patches to reorganize Motorola Mapphone related files to add
support for tablets as the peripherals are different compared to the
phones

- Apply am57xx-idk overlays to base dtbs

- Extcon update to use id-gpios and vbus-gpios

- Update omap4-epson-embt2ws to enable wlan clock and bluetooth-gnss

- Update for logicpd-torpedo to use bluetooth-gnss node name

* tag 'omap-for-v6.8/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: dts: omap4-embt2ws: Add Bluetooth
ARM: dts: omap: logicpd-torpedo: do not disguise GNSS device
ARM: dts: omap4-embt2ws: enable 32K clock on WLAN
ARM: dts: ti/omap: Replace deprecated extcon-usb-gpio id-gpio/vbus-gpio properties
arm: dts: omap: Apply am57xx-idk overlays to base dtbs
ARM: dts: motorola-mapphone: Add basic support for mz609 and mz617
ARM: dts: motorola-mapphone: Move handset devices to a common file
ARM: dts: motorola-mapphone: Move LCD to common file for xt875 and xt894
dt-bindings: omap: Add Motorola mapphone mz609 and mz617 tablets

Link: https://lore.kernel.org/r/pull-1702037869-295608@atomide.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+459 -324
+2
Documentation/devicetree/bindings/arm/ti/omap.yaml
··· 134 134 - amazon,omap4-kc1 # Amazon Kindle Fire (first generation) 135 135 - motorola,droid4 # Motorola Droid 4 XT894 136 136 - motorola,droid-bionic # Motorola Droid Bionic XT875 137 + - motorola,xyboard-mz609 138 + - motorola,xyboard-mz617 137 139 - ti,omap4-panda 138 140 - ti,omap4-sdp 139 141 - const: ti,omap4430
+13 -1
arch/arm/boot/dts/ti/omap/Makefile
··· 79 79 omap4-sdp.dtb \ 80 80 omap4-sdp-es23plus.dtb \ 81 81 omap4-var-dvk-om44.dtb \ 82 - omap4-var-stk-om44.dtb 82 + omap4-var-stk-om44.dtb \ 83 + omap4-xyboard-mz609.dtb \ 84 + omap4-xyboard-mz617.dtb 83 85 dtb-$(CONFIG_SOC_AM33XX) += \ 84 86 am335x-baltos-ir2110.dtb \ 85 87 am335x-baltos-ir3220.dtb \ ··· 130 128 131 129 am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo 132 130 am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo 131 + 132 + am571x-idk-overlays-dtbs := am571x-idk.dtb \ 133 + am571x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2587.dtbo 134 + am572x-idk-overlays-dtbs := am572x-idk.dtb \ 135 + am572x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2045.dtbo 136 + 137 + # Build time test only, enabled by CONFIG_OF_ALL_DTBS 138 + dtb- += \ 139 + am571x-idk-overlays.dtb \ 140 + am572x-idk-overlays.dtb 133 141 134 142 dtb-$(CONFIG_SOC_DRA7XX) += \ 135 143 am57xx-beagle-x15.dtb \
+2 -2
arch/arm/boot/dts/ti/omap/am571x-idk.dts
··· 168 168 }; 169 169 170 170 &extcon_usb2 { 171 - id-gpio = <&gpio5 7 GPIO_ACTIVE_HIGH>; 172 - vbus-gpio = <&gpio7 22 GPIO_ACTIVE_HIGH>; 171 + id-gpios = <&gpio5 7 GPIO_ACTIVE_HIGH>; 172 + vbus-gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>; 173 173 }; 174 174 175 175 &sn65hvs882 {
+1 -1
arch/arm/boot/dts/ti/omap/am5729-beagleboneai.dts
··· 197 197 extcon_usb1: extcon_usb1 { 198 198 compatible = "linux,extcon-usb-gpio"; 199 199 ti,enable-id-detection; 200 - id-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>; 200 + id-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>; 201 201 }; 202 202 }; 203 203
+2 -2
arch/arm/boot/dts/ti/omap/am572x-idk-common.dtsi
··· 169 169 }; 170 170 171 171 &extcon_usb2 { 172 - id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>; 173 - vbus-gpio = <&gpio3 26 GPIO_ACTIVE_HIGH>; 172 + id-gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>; 173 + vbus-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; 174 174 }; 175 175 176 176 &sn65hvs882 {
+2 -2
arch/arm/boot/dts/ti/omap/dra7-evm-common.dtsi
··· 15 15 16 16 extcon_usb1: extcon_usb1 { 17 17 compatible = "linux,extcon-usb-gpio"; 18 - id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; 18 + id-gpios = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; 19 19 }; 20 20 21 21 extcon_usb2: extcon_usb2 { 22 22 compatible = "linux,extcon-usb-gpio"; 23 - id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; 23 + id-gpios = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; 24 24 }; 25 25 26 26 sound0: sound0 {
+2 -2
arch/arm/boot/dts/ti/omap/dra71-evm.dts
··· 293 293 }; 294 294 295 295 &extcon_usb1 { 296 - vbus-gpio = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>; 296 + vbus-gpios = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>; 297 297 }; 298 298 299 299 &extcon_usb2 { 300 - vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>; 300 + vbus-gpios = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>; 301 301 }; 302 302 303 303 &ipu2 {
+2 -2
arch/arm/boot/dts/ti/omap/dra72-evm-common.dtsi
··· 96 96 97 97 extcon_usb1: extcon_usb1 { 98 98 compatible = "linux,extcon-usb-gpio"; 99 - id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; 99 + id-gpios = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; 100 100 }; 101 101 102 102 extcon_usb2: extcon_usb2 { 103 103 compatible = "linux,extcon-usb-gpio"; 104 - id-gpio = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; 104 + id-gpios = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; 105 105 }; 106 106 107 107 hdmi0: connector {
+2 -2
arch/arm/boot/dts/ti/omap/dra76-evm.dts
··· 533 533 }; 534 534 535 535 &extcon_usb1 { 536 - vbus-gpio = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>; 536 + vbus-gpios = <&pcf_lcd 14 GPIO_ACTIVE_HIGH>; 537 537 }; 538 538 539 539 &extcon_usb2 { 540 - vbus-gpio = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>; 540 + vbus-gpios = <&pcf_lcd 15 GPIO_ACTIVE_HIGH>; 541 541 }; 542 542 543 543 &m_can0 {
+1 -1
arch/arm/boot/dts/ti/omap/logicpd-torpedo-37xx-devkit.dts
··· 52 52 53 53 &uart2 { 54 54 /delete-property/dma-names; 55 - bluetooth { 55 + bluetooth-gnss { 56 56 compatible = "ti,wl1283-st"; 57 57 enable-gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>; /* gpio 162 */ 58 58 max-speed = <3000000>;
-298
arch/arm/boot/dts/ti/omap/motorola-mapphone-common.dtsi
··· 6 6 #include "motorola-cpcap-mapphone.dtsi" 7 7 8 8 / { 9 - chosen { 10 - stdout-path = &uart3; 11 - }; 12 - 13 - aliases { 14 - display0 = &lcd0; 15 - display1 = &hdmi0; 16 - }; 17 - 18 9 /* 19 10 * We seem to have only 1021 MB accessible, 1021 - 1022 is locked, 20 11 * then 1023 - 1024 seems to contain mbm. ··· 54 63 regulator-always-on; 55 64 }; 56 65 57 - /* FS USB Host PHY on port 1 for mdm6600 */ 58 - fsusb1_phy: usb-phy@1 { 59 - compatible = "motorola,mapphone-mdm6600"; 60 - pinctrl-0 = <&usb_mdm6600_pins>; 61 - pinctrl-1 = <&usb_mdm6600_sleep_pins>; 62 - pinctrl-names = "default", "sleep"; 63 - enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; /* gpio_95 */ 64 - power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* gpio_54 */ 65 - reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>; /* gpio_49 */ 66 - /* mode: gpio_148 gpio_149 */ 67 - motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>, 68 - <&gpio5 21 GPIO_ACTIVE_HIGH>; 69 - /* cmd: gpio_103 gpio_104 gpio_142 */ 70 - motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>, 71 - <&gpio4 8 GPIO_ACTIVE_HIGH>, 72 - <&gpio5 14 GPIO_ACTIVE_HIGH>; 73 - /* status: gpio_52 gpio_53 gpio_55 */ 74 - motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>, 75 - <&gpio2 21 GPIO_ACTIVE_HIGH>, 76 - <&gpio2 23 GPIO_ACTIVE_HIGH>; 77 - #phy-cells = <0>; 78 - }; 79 - 80 - /* HS USB host TLL nop-phy on port 2 for w3glte */ 81 - hsusb2_phy: usb-phy@2 { 82 - compatible = "usb-nop-xceiv"; 83 - #phy-cells = <0>; 84 - }; 85 - 86 - /* LCD regulator from sw5 source */ 87 - lcd_regulator: regulator-lcd { 88 - compatible = "regulator-fixed"; 89 - regulator-name = "lcd"; 90 - regulator-min-microvolt = <5050000>; 91 - regulator-max-microvolt = <5050000>; 92 - gpio = <&gpio4 0 GPIO_ACTIVE_HIGH>; /* gpio96 */ 93 - enable-active-high; 94 - vin-supply = <&sw5>; 95 - }; 96 - 97 66 /* This is probably coming straight from the battery.. */ 98 67 wl12xx_vmmc: regulator-wl12xx { 99 68 compatible = "regulator-fixed"; ··· 84 133 85 134 dais = <&mcbsp2_port>, <&mcbsp3_port>; 86 135 }; 87 - 88 - pwm8: pwm-8 { 89 - pinctrl-names = "default"; 90 - pinctrl-0 = <&vibrator_direction_pin>; 91 - 92 - compatible = "ti,omap-dmtimer-pwm"; 93 - #pwm-cells = <3>; 94 - ti,timers = <&timer8>; 95 - ti,clock-source = <0x01>; 96 - }; 97 - 98 - pwm9: pwm-9 { 99 - pinctrl-names = "default"; 100 - pinctrl-0 = <&vibrator_enable_pin>; 101 - 102 - compatible = "ti,omap-dmtimer-pwm"; 103 - #pwm-cells = <3>; 104 - ti,timers = <&timer9>; 105 - ti,clock-source = <0x01>; 106 - }; 107 - 108 - vibrator { 109 - compatible = "pwm-vibrator"; 110 - pwms = <&pwm9 0 10000000 0>, <&pwm8 0 10000000 0>; 111 - pwm-names = "enable", "direction"; 112 - direction-duty-cycle-ns = <10000000>; 113 - }; 114 - 115 - backlight: backlight { 116 - compatible = "led-backlight"; 117 - 118 - leds = <&backlight_led>; 119 - brightness-levels = <31 63 95 127 159 191 223 255>; 120 - default-brightness-level = <6>; 121 - }; 122 136 }; 123 137 124 138 &cpu_thermal { ··· 113 197 status = "okay"; 114 198 }; 115 199 116 - &dsi1 { 117 - status = "okay"; 118 - vdd-supply = <&vcsi>; 119 - 120 - port { 121 - dsi1_out_ep: endpoint { 122 - remote-endpoint = <&lcd0_in>; 123 - lanes = <0 1 2 3 4 5>; 124 - }; 125 - }; 126 - 127 - lcd0: panel@0 { 128 - compatible = "motorola,droid4-panel", "panel-dsi-cm"; 129 - reg = <0>; 130 - label = "lcd0"; 131 - vddi-supply = <&lcd_regulator>; 132 - reset-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* gpio101 */ 133 - 134 - backlight = <&backlight>; 135 - 136 - width-mm = <50>; 137 - height-mm = <89>; 138 - rotation = <90>; 139 - 140 - panel-timing { 141 - clock-frequency = <0>; /* Calculated by dsi */ 142 - 143 - hback-porch = <2>; 144 - hactive = <540>; 145 - hfront-porch = <0>; 146 - hsync-len = <2>; 147 - 148 - vback-porch = <1>; 149 - vactive = <960>; 150 - vfront-porch = <0>; 151 - vsync-len = <1>; 152 - 153 - hsync-active = <0>; 154 - vsync-active = <0>; 155 - de-active = <1>; 156 - pixelclk-active = <1>; 157 - }; 158 - 159 - port { 160 - lcd0_in: endpoint { 161 - remote-endpoint = <&dsi1_out_ep>; 162 - }; 163 - }; 164 - }; 165 - }; 166 - 167 200 &hdmi { 168 201 status = "okay"; 169 202 pinctrl-0 = <&dss_hdmi_pins>; ··· 125 260 lanes = <1 0 3 2 5 4 7 6>; 126 261 }; 127 262 }; 128 - }; 129 - 130 - /* Battery NVRAM on 1-wire handled by w1_ds250x driver */ 131 - &hdqw1w { 132 - pinctrl-0 = <&hdq_pins>; 133 - pinctrl-names = "default"; 134 - ti,mode = "1w"; 135 263 }; 136 264 137 265 &i2c1 { ··· 180 322 }; 181 323 }; 182 324 183 - &i2c2 { 184 - touchscreen@4a { 185 - compatible = "atmel,maxtouch"; 186 - reg = <0x4a>; 187 - pinctrl-names = "default"; 188 - pinctrl-0 = <&touchscreen_pins>; 189 - 190 - reset-gpios = <&gpio6 13 GPIO_ACTIVE_LOW>; /* gpio173 */ 191 - 192 - /* gpio_183 with sys_nirq2 pad as wakeup */ 193 - interrupts-extended = <&gpio6 23 IRQ_TYPE_LEVEL_LOW>, 194 - <&omap4_pmx_core 0x160>; 195 - interrupt-names = "irq", "wakeup"; 196 - wakeup-source; 197 - }; 198 - 199 - isl29030@44 { 200 - compatible = "isil,isl29030"; 201 - reg = <0x44>; 202 - 203 - pinctrl-names = "default"; 204 - pinctrl-0 = <&als_proximity_pins>; 205 - 206 - interrupt-parent = <&gpio6>; 207 - interrupts = <17 IRQ_TYPE_LEVEL_LOW>; /* gpio177 */ 208 - }; 209 - }; 210 - 211 325 &omap4_pmx_core { 212 326 213 327 /* hdmi_hpd.gpio_63 */ 214 328 hdmi_hpd_gpio: hdmi-hpd-pins { 215 329 pinctrl-single,pins = < 216 330 OMAP4_IOPAD(0x098, PIN_INPUT | MUX_MODE3) 217 - >; 218 - }; 219 - 220 - hdq_pins: hdq-pins { 221 - pinctrl-single,pins = < 222 - /* 0x4a100120 hdq_sio.hdq_sio aa27 */ 223 - OMAP4_IOPAD(0x120, PIN_INPUT | MUX_MODE0) 224 331 >; 225 332 }; 226 333 ··· 247 424 /* gpio_60 */ 248 425 pinctrl-single,pins = < 249 426 OMAP4_IOPAD(0x088, PIN_OUTPUT | MUX_MODE3) 250 - >; 251 - }; 252 - 253 - touchscreen_pins: touchscreen-pins { 254 - pinctrl-single,pins = < 255 - OMAP4_IOPAD(0x180, PIN_OUTPUT | MUX_MODE3) 256 - OMAP4_IOPAD(0x1a0, PIN_INPUT_PULLUP | MUX_MODE3) 257 - >; 258 - }; 259 - 260 - als_proximity_pins: als-proximity-pins { 261 - pinctrl-single,pins = < 262 - OMAP4_IOPAD(0x18c, PIN_INPUT_PULLUP | MUX_MODE3) 263 - >; 264 - }; 265 - 266 - usb_mdm6600_pins: usb-mdm6600-pins { 267 - pinctrl-single,pins = < 268 - /* enable 0x4a1000d8 usbb1_ulpitll_dat7.gpio_95 ag16 */ 269 - OMAP4_IOPAD(0x0d8, PIN_INPUT | MUX_MODE3) 270 - 271 - /* power 0x4a10007c gpmc_nwp.gpio_54 c25 */ 272 - OMAP4_IOPAD(0x07c, PIN_OUTPUT | MUX_MODE3) 273 - 274 - /* reset 0x4a100072 gpmc_a25.gpio_49 d20 */ 275 - OMAP4_IOPAD(0x072, PIN_OUTPUT | MUX_MODE3) 276 - 277 - /* mode0/bpwake 0x4a10014e sdmmc5_dat1.gpio_148 af4 */ 278 - OMAP4_IOPAD(0x14e, PIN_OUTPUT | MUX_MODE3) 279 - 280 - /* mode1/apwake 0x4a100150 sdmmc5_dat2.gpio_149 ag3 */ 281 - OMAP4_IOPAD(0x150, PIN_OFF_OUTPUT_LOW | PIN_INPUT | MUX_MODE3) 282 - 283 - /* status0 0x4a10007e gpmc_clk.gpio_55 b22 */ 284 - OMAP4_IOPAD(0x07e, PIN_INPUT | MUX_MODE3) 285 - 286 - /* status1 0x4a10007a gpmc_ncs3.gpio_53 c22 */ 287 - OMAP4_IOPAD(0x07a, PIN_INPUT | MUX_MODE3) 288 - 289 - /* status2 0x4a100078 gpmc_ncs2.gpio_52 d21 */ 290 - OMAP4_IOPAD(0x078, PIN_INPUT | MUX_MODE3) 291 - 292 - /* cmd0 0x4a100094 gpmc_ncs6.gpio_103 c24 */ 293 - OMAP4_IOPAD(0x094, PIN_OUTPUT | MUX_MODE3) 294 - 295 - /* cmd1 0x4a100096 gpmc_ncs7.gpio_104 d24 */ 296 - OMAP4_IOPAD(0x096, PIN_OUTPUT | MUX_MODE3) 297 - 298 - /* cmd2 0x4a100142 uart3_rts_sd.gpio_142 f28 */ 299 - OMAP4_IOPAD(0x142, PIN_OUTPUT | MUX_MODE3) 300 - >; 301 - }; 302 - 303 - /* Modem sleep pins to keep gpio_49 high with internal pull */ 304 - usb_mdm6600_sleep_pins: usb-mdm6600-sleep-pins { 305 - pinctrl-single,pins = < 306 - OMAP4_IOPAD(0x0d8, PIN_INPUT | MUX_MODE3) 307 - OMAP4_IOPAD(0x07c, PIN_OUTPUT | MUX_MODE3) 308 - OMAP4_IOPAD(0x072, PIN_INPUT_PULLUP | MUX_MODE7) /* Keep gpio_49 reset high */ 309 - OMAP4_IOPAD(0x14e, PIN_OUTPUT | MUX_MODE3) 310 - OMAP4_IOPAD(0x150, PIN_OFF_OUTPUT_LOW | PIN_INPUT | MUX_MODE3) 311 - OMAP4_IOPAD(0x07e, PIN_INPUT | MUX_MODE3) 312 - OMAP4_IOPAD(0x07a, PIN_INPUT | MUX_MODE3) 313 - OMAP4_IOPAD(0x078, PIN_INPUT | MUX_MODE3) 314 - OMAP4_IOPAD(0x094, PIN_OUTPUT | MUX_MODE3) 315 - OMAP4_IOPAD(0x096, PIN_OUTPUT | MUX_MODE3) 316 - OMAP4_IOPAD(0x142, PIN_OUTPUT | MUX_MODE3) 317 427 >; 318 428 }; 319 429 ··· 357 601 OMAP4_IOPAD(0x10c, PIN_INPUT | MUX_MODE1) /* abe_mcbsp3_fsx */ 358 602 >; 359 603 }; 360 - 361 - vibrator_direction_pin: vibrator-direction-pins { 362 - pinctrl-single,pins = < 363 - OMAP4_IOPAD(0x1ce, PIN_OUTPUT | MUX_MODE1) /* dmtimer8_pwm_evt (gpio_27) */ 364 - >; 365 - }; 366 - 367 - vibrator_enable_pin: vibrator-enable-pins { 368 - pinctrl-single,pins = < 369 - OMAP4_IOPAD(0X1d0, PIN_OUTPUT | MUX_MODE1) /* dmtimer9_pwm_evt (gpio_28) */ 370 - >; 371 - }; 372 604 }; 373 605 374 606 &omap4_pmx_wkup { ··· 371 627 /* RNG is used by secure mode and not accessible */ 372 628 &rng_target { 373 629 status = "disabled"; 374 - }; 375 - 376 - /* Configure pwm clock source for timers 8 & 9 */ 377 - &timer8 { 378 - assigned-clocks = <&abe_clkctrl OMAP4_TIMER8_CLKCTRL 24>; 379 - assigned-clock-parents = <&sys_32k_ck>; 380 - }; 381 - 382 - &timer9 { 383 - assigned-clocks = <&l4_per_clkctrl OMAP4_TIMER9_CLKCTRL 24>; 384 - assigned-clock-parents = <&sys_32k_ck>; 385 630 }; 386 631 387 632 /* ··· 405 672 }; 406 673 }; 407 674 408 - &usbhsohci { 409 - phys = <&fsusb1_phy>; 410 - phy-names = "usb"; 411 - }; 412 - 413 - &usbhsehci { 414 - phys = <&hsusb2_phy>; 415 - }; 416 - 417 - &usbhshost { 418 - port1-mode = "ohci-phy-4pin-dpdm"; 419 - port2-mode = "ehci-tll"; 420 - }; 421 - 422 675 /* Internal UTMI+ PHY used for OTG, CPCAP ULPI PHY for detection and charger */ 423 676 &usb_otg_hs { 424 677 interface-type = <1>; ··· 415 696 * VBUS Regulator Main Characteristics". Binding uses 2 mA units. 416 697 */ 417 698 power = <150>; 418 - }; 419 - 420 - &i2c4 { 421 - ak8975: magnetometer@c { 422 - compatible = "asahi-kasei,ak8975"; 423 - reg = <0x0c>; 424 - 425 - vdd-supply = <&vhvio>; 426 - 427 - interrupt-parent = <&gpio6>; 428 - interrupts = <15 IRQ_TYPE_EDGE_RISING>; /* gpio175 */ 429 - 430 - rotation-matrix = "-1", "0", "0", 431 - "0", "1", "0", 432 - "0", "0", "-1"; 433 - 434 - }; 435 699 }; 436 700 437 701 &mcbsp2 {
+234
arch/arm/boot/dts/ti/omap/motorola-mapphone-handset.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 2 + /dts-v1/; 3 + 4 + #include "motorola-mapphone-common.dtsi" 5 + 6 + / { 7 + /* FS USB Host PHY on port 1 for mdm6600 */ 8 + fsusb1_phy: usb-phy@1 { 9 + compatible = "motorola,mapphone-mdm6600"; 10 + pinctrl-0 = <&usb_mdm6600_pins>; 11 + pinctrl-1 = <&usb_mdm6600_sleep_pins>; 12 + pinctrl-names = "default", "sleep"; 13 + enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; /* gpio_95 */ 14 + power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* gpio_54 */ 15 + reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>; /* gpio_49 */ 16 + /* mode: gpio_148 gpio_149 */ 17 + motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>, 18 + <&gpio5 21 GPIO_ACTIVE_HIGH>; 19 + /* cmd: gpio_103 gpio_104 gpio_142 */ 20 + motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>, 21 + <&gpio4 8 GPIO_ACTIVE_HIGH>, 22 + <&gpio5 14 GPIO_ACTIVE_HIGH>; 23 + /* status: gpio_52 gpio_53 gpio_55 */ 24 + motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>, 25 + <&gpio2 21 GPIO_ACTIVE_HIGH>, 26 + <&gpio2 23 GPIO_ACTIVE_HIGH>; 27 + #phy-cells = <0>; 28 + }; 29 + 30 + /* HS USB host TLL nop-phy on port 2 for w3glte */ 31 + hsusb2_phy: usb-phy@2 { 32 + compatible = "usb-nop-xceiv"; 33 + #phy-cells = <0>; 34 + }; 35 + 36 + pwm8: pwm-8 { 37 + pinctrl-names = "default"; 38 + pinctrl-0 = <&vibrator_direction_pin>; 39 + 40 + compatible = "ti,omap-dmtimer-pwm"; 41 + #pwm-cells = <3>; 42 + ti,timers = <&timer8>; 43 + ti,clock-source = <0x01>; 44 + }; 45 + 46 + pwm9: pwm-9 { 47 + pinctrl-names = "default"; 48 + pinctrl-0 = <&vibrator_enable_pin>; 49 + 50 + compatible = "ti,omap-dmtimer-pwm"; 51 + #pwm-cells = <3>; 52 + ti,timers = <&timer9>; 53 + ti,clock-source = <0x01>; 54 + }; 55 + 56 + vibrator { 57 + compatible = "pwm-vibrator"; 58 + pwms = <&pwm9 0 10000000 0>, <&pwm8 0 10000000 0>; 59 + pwm-names = "enable", "direction"; 60 + direction-duty-cycle-ns = <10000000>; 61 + }; 62 + }; 63 + 64 + /* Battery NVRAM on 1-wire handled by w1_ds250x driver */ 65 + &hdqw1w { 66 + pinctrl-0 = <&hdq_pins>; 67 + pinctrl-names = "default"; 68 + ti,mode = "1w"; 69 + }; 70 + 71 + &i2c2 { 72 + touchscreen@4a { 73 + compatible = "atmel,maxtouch"; 74 + reg = <0x4a>; 75 + pinctrl-names = "default"; 76 + pinctrl-0 = <&touchscreen_pins>; 77 + 78 + reset-gpios = <&gpio6 13 GPIO_ACTIVE_LOW>; /* gpio173 */ 79 + 80 + /* gpio_183 with sys_nirq2 pad as wakeup */ 81 + interrupts-extended = <&gpio6 23 IRQ_TYPE_LEVEL_LOW>, 82 + <&omap4_pmx_core 0x160>; 83 + interrupt-names = "irq", "wakeup"; 84 + wakeup-source; 85 + }; 86 + 87 + isl29030@44 { 88 + compatible = "isil,isl29030"; 89 + reg = <0x44>; 90 + 91 + pinctrl-names = "default"; 92 + pinctrl-0 = <&als_proximity_pins>; 93 + 94 + interrupt-parent = <&gpio6>; 95 + interrupts = <17 IRQ_TYPE_LEVEL_LOW>; /* gpio177 */ 96 + }; 97 + }; 98 + 99 + &omap4_pmx_core { 100 + hdq_pins: hdq-pins { 101 + pinctrl-single,pins = < 102 + /* 0x4a100120 hdq_sio.hdq_sio aa27 */ 103 + OMAP4_IOPAD(0x120, PIN_INPUT | MUX_MODE0) 104 + >; 105 + }; 106 + 107 + /* kpd_row0.gpio_178 */ 108 + tmp105_irq: tmp105-irq-pins { 109 + pinctrl-single,pins = < 110 + OMAP4_IOPAD(0x18e, PIN_INPUT_PULLUP | MUX_MODE3) 111 + >; 112 + }; 113 + 114 + touchscreen_pins: touchscreen-pins { 115 + pinctrl-single,pins = < 116 + OMAP4_IOPAD(0x180, PIN_OUTPUT | MUX_MODE3) 117 + OMAP4_IOPAD(0x1a0, PIN_INPUT_PULLUP | MUX_MODE3) 118 + >; 119 + }; 120 + 121 + usb_mdm6600_pins: usb-mdm6600-pins { 122 + pinctrl-single,pins = < 123 + /* enable 0x4a1000d8 usbb1_ulpitll_dat7.gpio_95 ag16 */ 124 + OMAP4_IOPAD(0x0d8, PIN_INPUT | MUX_MODE3) 125 + 126 + /* power 0x4a10007c gpmc_nwp.gpio_54 c25 */ 127 + OMAP4_IOPAD(0x07c, PIN_OUTPUT | MUX_MODE3) 128 + 129 + /* reset 0x4a100072 gpmc_a25.gpio_49 d20 */ 130 + OMAP4_IOPAD(0x072, PIN_OUTPUT | MUX_MODE3) 131 + 132 + /* mode0/bpwake 0x4a10014e sdmmc5_dat1.gpio_148 af4 */ 133 + OMAP4_IOPAD(0x14e, PIN_OUTPUT | MUX_MODE3) 134 + 135 + /* mode1/apwake 0x4a100150 sdmmc5_dat2.gpio_149 ag3 */ 136 + OMAP4_IOPAD(0x150, PIN_OFF_OUTPUT_LOW | PIN_INPUT | MUX_MODE3) 137 + 138 + /* status0 0x4a10007e gpmc_clk.gpio_55 b22 */ 139 + OMAP4_IOPAD(0x07e, PIN_INPUT | MUX_MODE3) 140 + 141 + /* status1 0x4a10007a gpmc_ncs3.gpio_53 c22 */ 142 + OMAP4_IOPAD(0x07a, PIN_INPUT | MUX_MODE3) 143 + 144 + /* status2 0x4a100078 gpmc_ncs2.gpio_52 d21 */ 145 + OMAP4_IOPAD(0x078, PIN_INPUT | MUX_MODE3) 146 + 147 + /* cmd0 0x4a100094 gpmc_ncs6.gpio_103 c24 */ 148 + OMAP4_IOPAD(0x094, PIN_OUTPUT | MUX_MODE3) 149 + 150 + /* cmd1 0x4a100096 gpmc_ncs7.gpio_104 d24 */ 151 + OMAP4_IOPAD(0x096, PIN_OUTPUT | MUX_MODE3) 152 + 153 + /* cmd2 0x4a100142 uart3_rts_sd.gpio_142 f28 */ 154 + OMAP4_IOPAD(0x142, PIN_OUTPUT | MUX_MODE3) 155 + >; 156 + }; 157 + 158 + /* Modem sleep pins to keep gpio_49 high with internal pull */ 159 + usb_mdm6600_sleep_pins: usb-mdm6600-sleep-pins { 160 + pinctrl-single,pins = < 161 + OMAP4_IOPAD(0x0d8, PIN_INPUT | MUX_MODE3) 162 + OMAP4_IOPAD(0x07c, PIN_OUTPUT | MUX_MODE3) 163 + OMAP4_IOPAD(0x072, PIN_INPUT_PULLUP | MUX_MODE7) /* Keep gpio_49 reset high */ 164 + OMAP4_IOPAD(0x14e, PIN_OUTPUT | MUX_MODE3) 165 + OMAP4_IOPAD(0x150, PIN_OFF_OUTPUT_LOW | PIN_INPUT | MUX_MODE3) 166 + OMAP4_IOPAD(0x07e, PIN_INPUT | MUX_MODE3) 167 + OMAP4_IOPAD(0x07a, PIN_INPUT | MUX_MODE3) 168 + OMAP4_IOPAD(0x078, PIN_INPUT | MUX_MODE3) 169 + OMAP4_IOPAD(0x094, PIN_OUTPUT | MUX_MODE3) 170 + OMAP4_IOPAD(0x096, PIN_OUTPUT | MUX_MODE3) 171 + OMAP4_IOPAD(0x142, PIN_OUTPUT | MUX_MODE3) 172 + >; 173 + }; 174 + 175 + als_proximity_pins: als-proximity-pins { 176 + pinctrl-single,pins = < 177 + OMAP4_IOPAD(0x18c, PIN_INPUT_PULLUP | MUX_MODE3) 178 + >; 179 + }; 180 + 181 + vibrator_direction_pin: vibrator-direction-pins { 182 + pinctrl-single,pins = < 183 + OMAP4_IOPAD(0x1ce, PIN_OUTPUT | MUX_MODE1) /* dmtimer8_pwm_evt (gpio_27) */ 184 + >; 185 + }; 186 + 187 + vibrator_enable_pin: vibrator-enable-pins { 188 + pinctrl-single,pins = < 189 + OMAP4_IOPAD(0X1d0, PIN_OUTPUT | MUX_MODE1) /* dmtimer9_pwm_evt (gpio_28) */ 190 + >; 191 + }; 192 + }; 193 + 194 + /* Configure pwm clock source for timers 8 & 9 */ 195 + &timer8 { 196 + assigned-clocks = <&abe_clkctrl OMAP4_TIMER8_CLKCTRL 24>; 197 + assigned-clock-parents = <&sys_32k_ck>; 198 + }; 199 + 200 + &timer9 { 201 + assigned-clocks = <&l4_per_clkctrl OMAP4_TIMER9_CLKCTRL 24>; 202 + assigned-clock-parents = <&sys_32k_ck>; 203 + }; 204 + 205 + &usbhsohci { 206 + phys = <&fsusb1_phy>; 207 + phy-names = "usb"; 208 + }; 209 + 210 + &usbhsehci { 211 + phys = <&hsusb2_phy>; 212 + }; 213 + 214 + &usbhshost { 215 + port1-mode = "ohci-phy-4pin-dpdm"; 216 + port2-mode = "ehci-tll"; 217 + }; 218 + 219 + &i2c4 { 220 + ak8975: magnetometer@c { 221 + compatible = "asahi-kasei,ak8975"; 222 + reg = <0x0c>; 223 + 224 + vdd-supply = <&vhvio>; 225 + 226 + interrupt-parent = <&gpio6>; 227 + interrupts = <15 IRQ_TYPE_EDGE_RISING>; /* gpio175 */ 228 + 229 + rotation-matrix = "-1", "0", "0", 230 + "0", "1", "0", 231 + "0", "0", "-1"; 232 + 233 + }; 234 + };
+21
arch/arm/boot/dts/ti/omap/motorola-mapphone-mz607-mz617.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 2 + /dts-v1/; 3 + 4 + #include "motorola-mapphone-common.dtsi" 5 + 6 + &keypad { 7 + keypad,num-rows = <8>; 8 + keypad,num-columns = <8>; 9 + linux,keymap = <MATRIX_KEY(5, 0, KEY_VOLUMEUP)>, 10 + <MATRIX_KEY(3, 0, KEY_VOLUMEDOWN)>; 11 + }; 12 + 13 + /* 14 + * On tablets, mmc1 regulator is vsimcard instead of vwlan2 in the stock kernel 15 + * dtb. The regulator may not be wired even if a MMC cage is added though. 16 + */ 17 + &mmc1 { 18 + vmmc-supply = <&vsimcard>; 19 + bus-width = <4>; 20 + cd-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; /* gpio_176 */ 21 + };
+75
arch/arm/boot/dts/ti/omap/motorola-mapphone-xt8xx.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 2 + /dts-v1/; 3 + 4 + #include "motorola-mapphone-handset.dtsi" 5 + 6 + / { 7 + backlight: backlight { 8 + compatible = "led-backlight"; 9 + 10 + leds = <&backlight_led>; 11 + brightness-levels = <31 63 95 127 159 191 223 255>; 12 + default-brightness-level = <6>; 13 + }; 14 + 15 + /* LCD regulator from sw5 source */ 16 + lcd_regulator: regulator-lcd { 17 + compatible = "regulator-fixed"; 18 + regulator-name = "lcd"; 19 + regulator-min-microvolt = <5050000>; 20 + regulator-max-microvolt = <5050000>; 21 + gpio = <&gpio4 0 GPIO_ACTIVE_HIGH>; /* gpio96 */ 22 + enable-active-high; 23 + vin-supply = <&sw5>; 24 + }; 25 + }; 26 + 27 + &dsi1 { 28 + status = "okay"; 29 + vdd-supply = <&vcsi>; 30 + 31 + port { 32 + dsi1_out_ep: endpoint { 33 + remote-endpoint = <&lcd0_in>; 34 + lanes = <0 1 2 3 4 5>; 35 + }; 36 + }; 37 + 38 + lcd0: panel@0 { 39 + compatible = "motorola,droid4-panel", "panel-dsi-cm"; 40 + reg = <0>; 41 + label = "lcd0"; 42 + vddi-supply = <&lcd_regulator>; 43 + reset-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* gpio101 */ 44 + backlight = <&backlight>; 45 + 46 + width-mm = <50>; 47 + height-mm = <89>; 48 + rotation = <90>; 49 + 50 + panel-timing { 51 + clock-frequency = <0>; /* Calculated by dsi */ 52 + 53 + hback-porch = <2>; 54 + hactive = <540>; 55 + hfront-porch = <0>; 56 + hsync-len = <2>; 57 + 58 + vback-porch = <1>; 59 + vactive = <960>; 60 + vfront-porch = <0>; 61 + vsync-len = <1>; 62 + 63 + hsync-active = <0>; 64 + vsync-active = <0>; 65 + de-active = <1>; 66 + pixelclk-active = <1>; 67 + }; 68 + 69 + port { 70 + lcd0_in: endpoint { 71 + remote-endpoint = <&dsi1_out_ep>; 72 + }; 73 + }; 74 + }; 75 + };
+10 -1
arch/arm/boot/dts/ti/omap/omap4-droid-bionic-xt875.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /dts-v1/; 3 3 4 - #include "motorola-mapphone-common.dtsi" 4 + #include "motorola-mapphone-xt8xx.dtsi" 5 5 6 6 / { 7 7 model = "Motorola Droid Bionic XT875"; 8 8 compatible = "motorola,droid-bionic", "ti,omap4430", "ti,omap4"; 9 + 10 + chosen { 11 + stdout-path = &uart3; 12 + }; 13 + 14 + aliases { 15 + display0 = &lcd0; 16 + display1 = &hdmi0; 17 + }; 9 18 }; 10 19 11 20 &keypad {
+13 -6
arch/arm/boot/dts/ti/omap/omap4-droid4-xt894.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /dts-v1/; 3 3 4 - #include "motorola-mapphone-common.dtsi" 4 + #include "motorola-mapphone-xt8xx.dtsi" 5 5 6 6 / { 7 + model = "Motorola Droid 4 XT894"; 8 + compatible = "motorola,droid4", "ti,omap4430", "ti,omap4"; 9 + 10 + chosen { 11 + stdout-path = &uart3; 12 + }; 13 + 14 + aliases { 15 + display0 = &lcd0; 16 + display1 = &hdmi0; 17 + }; 18 + 7 19 gpio_keys { 8 20 compatible = "gpio-keys"; 9 21 ··· 43 31 debounce-interval = <10>; 44 32 }; 45 33 }; 46 - }; 47 - 48 - / { 49 - model = "Motorola Droid 4 XT894"; 50 - compatible = "motorola,droid4", "ti,omap4430", "ti,omap4"; 51 34 }; 52 35 53 36 &keypad {
+14 -4
arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
··· 51 51 regulator-name = "unknown"; 52 52 }; 53 53 54 + wl12xx_pwrseq: wl12xx-pwrseq { 55 + compatible = "mmc-pwrseq-simple"; 56 + clocks = <&twl 1>; 57 + clock-names = "ext_clock"; 58 + }; 59 + 54 60 /* regulator for wl12xx on sdio2 */ 55 61 wl12xx_vmmc: wl12xx-vmmc { 56 62 pinctrl-names = "default"; ··· 80 74 twl: pmic@48 { 81 75 compatible = "ti,twl6032"; 82 76 reg = <0x48>; 77 + #clock-cells = <1>; 83 78 /* IRQ# = 7 */ 84 79 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */ 85 80 interrupt-controller; ··· 301 294 pinctrl-names = "default"; 302 295 pinctrl-0 = <&wl12xx_pins>; 303 296 vmmc-supply = <&wl12xx_vmmc>; 297 + mmc-pwrseq = <&wl12xx_pwrseq>; 304 298 interrupts-extended = <&wakeupgen GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH 305 299 &omap4_pmx_core 0x12e>; 306 300 non-removable; ··· 462 454 interrupts-extended = <&wakeupgen GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH 463 455 &omap4_pmx_core OMAP4_UART2_RX>; 464 456 465 - /* 466 - * BT + GPS in WL1283 in WG7500 requiring CLK32KAUDIO of pmic 467 - * which does not have a driver 468 - */ 457 + bluetooth-gnss { 458 + compatible = "ti,wl1283-st"; 459 + enable-gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>; /* GPIO_25 */ 460 + clocks = <&twl 1>; 461 + clock-names = "ext_clock"; 462 + }; 469 463 }; 470 464 471 465 &uart3 {
+46
arch/arm/boot/dts/ti/omap/omap4-xyboard-mz609.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 2 + /dts-v1/; 3 + 4 + #include "motorola-mapphone-mz607-mz617.dtsi" 5 + 6 + / { 7 + model = "Motorola Xyboard MZ609"; 8 + compatible = "motorola,xyboard-mz609", "ti,omap4430", "ti,omap4"; 9 + 10 + chosen { 11 + stdout-path = &uart3; 12 + }; 13 + 14 + aliases { 15 + display1 = &hdmi0; 16 + }; 17 + 18 + backlight: backlight { 19 + compatible = "led-backlight"; 20 + 21 + leds = <&backlight_led>; 22 + brightness-levels = <31 63 95 127 159 191 223 255>; 23 + default-brightness-level = <6>; 24 + }; 25 + }; 26 + 27 + &i2c1 { 28 + led-controller@38 { 29 + compatible = "ti,lm3532"; 30 + #address-cells = <1>; 31 + #size-cells = <0>; 32 + reg = <0x38>; 33 + 34 + enable-gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>; 35 + 36 + ramp-up-us = <1024>; 37 + ramp-down-us = <8193>; 38 + 39 + backlight_led: led@0 { 40 + reg = <0>; 41 + led-sources = <2>; 42 + ti,led-mode = <0>; 43 + label = ":backlight"; 44 + }; 45 + }; 46 + };
+17
arch/arm/boot/dts/ti/omap/omap4-xyboard-mz617.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 2 + /dts-v1/; 3 + 4 + #include "motorola-mapphone-mz607-mz617.dtsi" 5 + 6 + / { 7 + model = "Motorola Xyboard MZ617"; 8 + compatible = "motorola,xyboard-mz617", "ti,omap4430", "ti,omap4"; 9 + 10 + chosen { 11 + stdout-path = &uart3; 12 + }; 13 + 14 + aliases { 15 + display1 = &hdmi0; 16 + }; 17 + };