| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | | - * Copyright (C) 2011-2013 Texas Instruments Incorporated - http://www.ti.com/ |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 3 | + * Copyright (C) 2011-2013 Texas Instruments Incorporated - https://www.ti.com/ |
|---|
| 7 | 4 | */ |
|---|
| 8 | 5 | #include <dt-bindings/input/input.h> |
|---|
| 9 | 6 | #include "elpida_ecb240abacn.dtsi" |
|---|
| 7 | +#include "omap4-mcpdm.dtsi" |
|---|
| 10 | 8 | |
|---|
| 11 | 9 | / { |
|---|
| 12 | 10 | memory@80000000 { |
|---|
| 13 | 11 | device_type = "memory"; |
|---|
| 14 | 12 | reg = <0x80000000 0x40000000>; /* 1 GB */ |
|---|
| 13 | + }; |
|---|
| 14 | + |
|---|
| 15 | + reserved-memory { |
|---|
| 16 | + #address-cells = <1>; |
|---|
| 17 | + #size-cells = <1>; |
|---|
| 18 | + ranges; |
|---|
| 19 | + |
|---|
| 20 | + dsp_memory_region: dsp-memory@98000000 { |
|---|
| 21 | + compatible = "shared-dma-pool"; |
|---|
| 22 | + reg = <0x98000000 0x800000>; |
|---|
| 23 | + reusable; |
|---|
| 24 | + status = "okay"; |
|---|
| 25 | + }; |
|---|
| 26 | + |
|---|
| 27 | + ipu_memory_region: ipu-memory@98800000 { |
|---|
| 28 | + compatible = "shared-dma-pool"; |
|---|
| 29 | + reg = <0x98800000 0x7000000>; |
|---|
| 30 | + reusable; |
|---|
| 31 | + status = "okay"; |
|---|
| 32 | + }; |
|---|
| 15 | 33 | }; |
|---|
| 16 | 34 | |
|---|
| 17 | 35 | chosen { |
|---|
| .. | .. |
|---|
| 223 | 241 | pinctrl-single,pins = < |
|---|
| 224 | 242 | OMAP4_IOPAD(0x120, PIN_OUTPUT | MUX_MODE3) /* hdq_sio.gpio_127 */ |
|---|
| 225 | 243 | OMAP4_IOPAD(0x1a0, PIN_INPUT | MUX_MODE0) /* sys_nirq2.sys_nirq2 */ |
|---|
| 226 | | - >; |
|---|
| 227 | | - }; |
|---|
| 228 | | - |
|---|
| 229 | | - mcpdm_pins: pinmux_mcpdm_pins { |
|---|
| 230 | | - pinctrl-single,pins = < |
|---|
| 231 | | - OMAP4_IOPAD(0x106, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_ul_data.abe_pdm_ul_data */ |
|---|
| 232 | | - OMAP4_IOPAD(0x108, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_dl_data.abe_pdm_dl_data */ |
|---|
| 233 | | - OMAP4_IOPAD(0x10a, PIN_INPUT_PULLUP | MUX_MODE0) /* abe_pdm_frame.abe_pdm_frame */ |
|---|
| 234 | | - OMAP4_IOPAD(0x10c, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_pdm_lb_clk.abe_pdm_lb_clk */ |
|---|
| 235 | | - OMAP4_IOPAD(0x10e, PIN_INPUT_PULLDOWN | MUX_MODE0) /* abe_clks.abe_clks */ |
|---|
| 236 | 244 | >; |
|---|
| 237 | 245 | }; |
|---|
| 238 | 246 | |
|---|
| .. | .. |
|---|
| 485 | 493 | wlcore: wlcore@2 { |
|---|
| 486 | 494 | compatible = "ti,wl1271"; |
|---|
| 487 | 495 | reg = <2>; |
|---|
| 488 | | - interrupt-parent = <&gpio2>; |
|---|
| 489 | | - interrupts = <21 IRQ_TYPE_EDGE_RISING>; /* gpio 53 */ |
|---|
| 496 | + /* gpio_53 with gpmc_ncs3 pad as wakeup */ |
|---|
| 497 | + interrupts-extended = <&gpio2 21 IRQ_TYPE_LEVEL_HIGH>, |
|---|
| 498 | + <&omap4_pmx_core 0x3a>; |
|---|
| 499 | + interrupt-names = "irq", "wakeup"; |
|---|
| 490 | 500 | ref-clock-frequency = <38400000>; |
|---|
| 491 | 501 | }; |
|---|
| 492 | 502 | }; |
|---|
| .. | .. |
|---|
| 504 | 514 | &mcbsp1 { |
|---|
| 505 | 515 | pinctrl-names = "default"; |
|---|
| 506 | 516 | pinctrl-0 = <&mcbsp1_pins>; |
|---|
| 507 | | - status = "okay"; |
|---|
| 508 | | -}; |
|---|
| 509 | | - |
|---|
| 510 | | -&mcpdm { |
|---|
| 511 | | - pinctrl-names = "default"; |
|---|
| 512 | | - pinctrl-0 = <&mcpdm_pins>; |
|---|
| 513 | | - |
|---|
| 514 | | - clocks = <&twl6040>; |
|---|
| 515 | | - clock-names = "pdmclk"; |
|---|
| 516 | | - |
|---|
| 517 | 517 | status = "okay"; |
|---|
| 518 | 518 | }; |
|---|
| 519 | 519 | |
|---|
| .. | .. |
|---|
| 566 | 566 | }; |
|---|
| 567 | 567 | |
|---|
| 568 | 568 | &dss { |
|---|
| 569 | | - status = "ok"; |
|---|
| 569 | + status = "okay"; |
|---|
| 570 | 570 | |
|---|
| 571 | 571 | port { |
|---|
| 572 | 572 | dpi_out: endpoint { |
|---|
| .. | .. |
|---|
| 577 | 577 | }; |
|---|
| 578 | 578 | |
|---|
| 579 | 579 | &dsi2 { |
|---|
| 580 | | - status = "ok"; |
|---|
| 580 | + status = "okay"; |
|---|
| 581 | 581 | vdd-supply = <&vcxio>; |
|---|
| 582 | 582 | }; |
|---|
| 583 | 583 | |
|---|
| 584 | 584 | &hdmi { |
|---|
| 585 | | - status = "ok"; |
|---|
| 585 | + status = "okay"; |
|---|
| 586 | 586 | vdda-supply = <&vdac>; |
|---|
| 587 | 587 | |
|---|
| 588 | 588 | port { |
|---|
| .. | .. |
|---|
| 591 | 591 | }; |
|---|
| 592 | 592 | }; |
|---|
| 593 | 593 | }; |
|---|
| 594 | + |
|---|
| 595 | +&dsp { |
|---|
| 596 | + status = "okay"; |
|---|
| 597 | + memory-region = <&dsp_memory_region>; |
|---|
| 598 | + ti,timers = <&timer5>; |
|---|
| 599 | + ti,watchdog-timers = <&timer6>; |
|---|
| 600 | +}; |
|---|
| 601 | + |
|---|
| 602 | +&ipu { |
|---|
| 603 | + status = "okay"; |
|---|
| 604 | + memory-region = <&ipu_memory_region>; |
|---|
| 605 | + ti,timers = <&timer3>; |
|---|
| 606 | + ti,watchdog-timers = <&timer9>, <&timer11>; |
|---|
| 607 | +}; |
|---|