Skip to content

Commit 153e2d0

Browse files
committed
Merge tag 'omap-for-v6.16/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap into soc/dt
ARM: dts: omap updates for v6.16 * tag 'omap-for-v6.16/dt-signed' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap: ARM: dts: am335x: Set wakeup-source for UART0 ARM: dts: omap4: panda: cleanup bluetooth ARM: dts: omap4: panda: fix resources needed for Wifi ARM: dts: nokia n900: remove useless io-channel-cells property Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents ef934c5 + 550e560 commit 153e2d0

File tree

4 files changed

+37
-38
lines changed

4 files changed

+37
-38
lines changed

arch/arm/boot/dts/ti/omap/am335x-evm.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@
388388
&uart0 {
389389
pinctrl-names = "default";
390390
pinctrl-0 = <&uart0_pins>;
391-
391+
wakeup-source;
392392
status = "okay";
393393
};
394394

arch/arm/boot/dts/ti/omap/omap3-n900.dts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,6 @@
816816
reg = <0x0c>;
817817

818818
VANA-supply = <&vaux4>;
819-
820-
#io-channel-cells = <0>;
821819
};
822820
};
823821

arch/arm/boot/dts/ti/omap/omap4-panda-common.dtsi

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@
130130
clock-frequency = <19200000>;
131131
};
132132

133+
wl12xx_pwrseq: wl12xx-pwrseq {
134+
compatible = "mmc-pwrseq-simple";
135+
clocks = <&twl 0>;
136+
clock-names = "ext_clock";
137+
};
138+
133139
/* regulator for wl12xx on sdio5 */
134140
wl12xx_vmmc: wl12xx_vmmc {
135141
pinctrl-names = "default";
@@ -361,10 +367,8 @@
361367
*/
362368
wl12xx_gpio: wl12xx-gpio-pins {
363369
pinctrl-single,pins = <
364-
OMAP4_IOPAD(0x066, PIN_OUTPUT | MUX_MODE3) /* gpmc_a19.gpio_43 */
365-
OMAP4_IOPAD(0x06c, PIN_OUTPUT | MUX_MODE3) /* gpmc_a22.gpio_46 */
370+
OMAP4_IOPAD(0x066, PIN_OUTPUT | MUX_MODE3) /* gpmc_a19.gpio_43 - WLAN_EN */
366371
OMAP4_IOPAD(0x070, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_a24.gpio_48 */
367-
OMAP4_IOPAD(0x072, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_a25.gpio_49 */
368372
>;
369373
};
370374

@@ -387,6 +391,22 @@
387391
OMAP4_IOPAD(0x114, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio_121 */
388392
>;
389393
};
394+
395+
bt_pins: bt-pins {
396+
pinctrl-single,pins = <
397+
OMAP4_IOPAD(0x06c, PIN_OUTPUT | MUX_MODE3) /* gpmc_a22.gpio_46 - BTEN */
398+
OMAP4_IOPAD(0x072, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_a25.gpio_49 - BTWAKEUP */
399+
>;
400+
};
401+
402+
uart2_pins: uart2-pins {
403+
pinctrl-single,pins = <
404+
OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts - HCI */
405+
OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0) /* uart2_rts.uart2_rts */
406+
OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_rx.uart2_rx */
407+
OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
408+
>;
409+
};
390410
};
391411

392412
&omap4_pmx_wkup {
@@ -408,6 +428,7 @@
408428
reg = <0x48>;
409429
/* IRQ# = 7 */
410430
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
431+
#clock-cells = <1>;
411432
system-power-controller;
412433
};
413434

@@ -488,6 +509,7 @@
488509
non-removable;
489510
bus-width = <4>;
490511
cap-power-off-card;
512+
mmc-pwrseq = <&wl12xx_pwrseq>;
491513

492514
#address-cells = <1>;
493515
#size-cells = <0>;
@@ -523,8 +545,19 @@
523545
};
524546

525547
&uart2 {
548+
pinctrl-names = "default";
549+
pinctrl-0 = <&uart2_pins>;
526550
interrupts-extended = <&wakeupgen GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH
527551
&omap4_pmx_core OMAP4_UART2_RX>;
552+
553+
bluetooth {
554+
compatible = "ti,wl1271-st";
555+
pinctrl-names = "default";
556+
pinctrl-0 = <&bt_pins>;
557+
enable-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>; /* GPIO_46 */
558+
clocks = <&twl 0>;
559+
clock-names = "ext_clock";
560+
};
528561
};
529562

530563
&uart3 {

arch/arm/boot/dts/ti/omap/omap4-panda-es.dts

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -49,22 +49,6 @@
4949
OMAP4_IOPAD(0x0fc, PIN_INPUT_PULLUP | MUX_MODE3) /* gpio_113 */
5050
>;
5151
};
52-
53-
bt_pins: bt-pins {
54-
pinctrl-single,pins = <
55-
OMAP4_IOPAD(0x06c, PIN_OUTPUT | MUX_MODE3) /* gpmc_a22.gpio_46 - BTEN */
56-
OMAP4_IOPAD(0x072, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_a25.gpio_49 - BTWAKEUP */
57-
>;
58-
};
59-
60-
uart2_pins: uart2-pins {
61-
pinctrl-single,pins = <
62-
OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_cts.uart2_cts - HCI */
63-
OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0) /* uart2_rts.uart2_rts */
64-
OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0) /* uart2_rx.uart2_rx */
65-
OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
66-
>;
67-
};
6852
};
6953

7054
&led_wkgpio_pins {
@@ -96,19 +80,3 @@
9680
&gpio1_target {
9781
ti,no-reset-on-init;
9882
};
99-
100-
&wl12xx_gpio {
101-
pinctrl-single,pins = <
102-
OMAP4_IOPAD(0x066, PIN_OUTPUT | MUX_MODE3) /* gpmc_a19.gpio_43 */
103-
OMAP4_IOPAD(0x070, PIN_OUTPUT_PULLUP | MUX_MODE3) /* gpmc_a24.gpio_48 */
104-
>;
105-
};
106-
107-
&uart2 {
108-
pinctrl-names = "default";
109-
pinctrl-0 = <&uart2_pins &bt_pins>;
110-
bluetooth: tiwi {
111-
compatible = "ti,wl1271-st";
112-
enable-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>; /* GPIO_46 */
113-
};
114-
};

0 commit comments

Comments
 (0)