ARM: dts: rockchip: Add marvell BT irq config
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Fri, 12 Jun 2020 20:02:48 +0000 (13:02 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 17 Jun 2020 08:41:08 +0000 (10:41 +0200)
Veyron Jaq and Mighty both use the Marvel 8897 WiFi+BT chip. Add wakeup
and pinctrl block to devicetree so the btmrvl driver can correctly
configure the wakeup interrupt.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200612130219.v2.1.I66864be898aa835ccb66b6cd5220d0b082338a81@changeid
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-veyron-jaq.dts

index 8efba9deae3c7724168a9ec855c13166ec5fa3b9..af77ab20586de11e0453feec04c31911630c0686 100644 (file)
        };
 };
 
+&sdio0 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       btmrvl: btmrvl@2 {
+               compatible = "marvell,sd8897-bt";
+               reg = <2>;
+               interrupt-parent = <&gpio4>;
+               interrupts = <RK_PD7 IRQ_TYPE_LEVEL_LOW>;
+               marvell,wakeup-pin = /bits/ 16 <13>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&bt_host_wake_l>;
+       };
+};
+
 &sdmmc {
        disable-wp;
        pinctrl-names = "default";