ARM: dts: add wl12xx/wl18xx bindings
authorEliad Peller <eliad@wizery.com>
Wed, 18 Mar 2015 16:38:29 +0000 (18:38 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 24 Mar 2015 16:48:14 +0000 (09:48 -0700)
Replace all the pdata-quirks for setting wl12xx/wl18xx
platform data with proper DT definitions.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Tested-by: Nikita Kiryanov <nikita@compulab.co.il>
Tested-by: Tony Lindgren <tony@atomide.com>
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-evmsk.dts
arch/arm/boot/dts/omap3-cm-t3517.dts
arch/arm/boot/dts/omap3-cm-t3730.dts
arch/arm/boot/dts/omap3-evm-common.dtsi
arch/arm/boot/dts/omap3-igep0020-rev-f.dts
arch/arm/boot/dts/omap3-igep0030-rev-g.dts
arch/arm/boot/dts/omap3-zoom3.dts
arch/arm/boot/dts/omap4-panda-common.dtsi
arch/arm/boot/dts/omap4-sdp.dts
arch/arm/boot/dts/omap4-var-som-om44-wlan.dtsi
arch/arm/mach-omap2/pdata-quirks.c

index df5fee6..87fc7a3 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "am33xx.dtsi"
 #include <dt-bindings/pwm/pwm.h>
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
        model = "TI AM335x EVM-SK";
        cap-power-off-card;
        pinctrl-names = "default";
        pinctrl-0 = <&mmc2_pins>;
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+       wlcore: wlcore@2 {
+               compatible = "ti,wl1271";
+               reg = <2>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <31 IRQ_TYPE_LEVEL_HIGH>; /* gpio 31 */
+               ref-clock-frequency = <38400000>;
+       };
 };
 
 &mcasp1 {
index 0ab748c..f5b5a1d 100644 (file)
        non-removable;
        bus-width = <4>;
        cap-power-off-card;
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+       wlcore: wlcore@2 {
+               compatible = "ti,wl1271";
+               reg = <2>;
+               interrupt-parent = <&gpio5>;
+               interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; /* gpio 145 */
+               ref-clock-frequency = <38400000>;
+       };
 };
 
 &dss {
index 46eadb2..2294f5b 100644 (file)
        non-removable;
        bus-width = <4>;
        cap-power-off-card;
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+       wlcore: wlcore@2 {
+               compatible = "ti,wl1271";
+               reg = <2>;
+               interrupt-parent = <&gpio5>;
+               interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; /* gpio 136 */
+               ref-clock-frequency = <38400000>;
+       };
 };
 
 &dss {
index 127f3e7..346552b 100644 (file)
        non-removable;
        bus-width = <4>;
        cap-power-off-card;
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+       wlcore: wlcore@2 {
+               compatible = "ti,wl1271";
+               reg = <2>;
+               interrupt-parent = <&gpio5>;
+               interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* gpio 149 */
+               ref-clock-frequency = <38400000>;
+       };
 };
 
 &twl_gpio {
index cc8bd0c..72f7cdc 100644 (file)
        vmmc-supply = <&lbep5clwmc_wlen>;
        bus-width = <4>;
        non-removable;
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+       wlcore: wlcore@2 {
+               compatible = "ti,wl1835";
+               reg = <2>;
+               interrupt-parent = <&gpio6>;
+               interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; /* gpio 177 */
+       };
 };
index 9326b28..b899e34 100644 (file)
        vmmc-supply = <&lbep5clwmc_wlen>;
        bus-width = <4>;
        non-removable;
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+       wlcore: wlcore@2 {
+               compatible = "ti,wl1835";
+               reg = <2>;
+               interrupt-parent = <&gpio5>;
+               interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; /* gpio 136 */
+       };
 };
index 6644f51..131448d 100644 (file)
        cap-power-off-card;
        pinctrl-names = "default";
        pinctrl-0 = <&mmc3_pins &mmc3_2_pins>;
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+       wlcore: wlcore@2 {
+               compatible = "ti,wl1271";
+               reg = <2>;
+               interrupt-parent = <&gpio6>;
+               interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; /* gpio 162 */
+               ref-clock-frequency = <26000000>;
+       };
 };
 
 &uart1 {
index 1505135..1228de5 100644 (file)
        non-removable;
        bus-width = <4>;
        cap-power-off-card;
+
+       #address-cells = <1>;
+       #size-cells = <0>;
+       wlcore: wlcore@2 {
+               compatible = "ti,wl1271";
+               reg = <2>;
+               interrupt-parent = <&gpio2>;
+               interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* gpio 53 */
+               ref-clock-frequency = <38400000>;
+       };
 };
 
 &emif1 {
Simple merge
Simple merge