hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/omap4-panda-common.dtsi
....@@ -1,17 +1,35 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
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/
74 */
85 #include <dt-bindings/input/input.h>
96 #include "elpida_ecb240abacn.dtsi"
7
+#include "omap4-mcpdm.dtsi"
108
119 / {
1210 memory@80000000 {
1311 device_type = "memory";
1412 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
+ };
1533 };
1634
1735 chosen {
....@@ -223,16 +241,6 @@
223241 pinctrl-single,pins = <
224242 OMAP4_IOPAD(0x120, PIN_OUTPUT | MUX_MODE3) /* hdq_sio.gpio_127 */
225243 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 */
236244 >;
237245 };
238246
....@@ -485,8 +493,10 @@
485493 wlcore: wlcore@2 {
486494 compatible = "ti,wl1271";
487495 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";
490500 ref-clock-frequency = <38400000>;
491501 };
492502 };
....@@ -504,16 +514,6 @@
504514 &mcbsp1 {
505515 pinctrl-names = "default";
506516 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
-
517517 status = "okay";
518518 };
519519
....@@ -566,7 +566,7 @@
566566 };
567567
568568 &dss {
569
- status = "ok";
569
+ status = "okay";
570570
571571 port {
572572 dpi_out: endpoint {
....@@ -577,12 +577,12 @@
577577 };
578578
579579 &dsi2 {
580
- status = "ok";
580
+ status = "okay";
581581 vdd-supply = <&vcxio>;
582582 };
583583
584584 &hdmi {
585
- status = "ok";
585
+ status = "okay";
586586 vdda-supply = <&vdac>;
587587
588588 port {
....@@ -591,3 +591,17 @@
591591 };
592592 };
593593 };
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
+};