From a783185e280f5b8d7ca5c7a1a4f5adad8a287637 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 18 Nov 2017 11:59:22 +0100 Subject: ramips: fix DCH-M225 support Setting the pins of the UARTF group to GPIO+I2S at the time the I2C driver loads is to late for the wps GPIO button. The gpio-keys driver fails to load since the pin used by the wps button is not yet set to GPIO. The wps button with the rfkill keycode is essential for this wireless only board. Add the missing sound and I2C kernel modules corresponding to the device nodes. Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/DCH-M225.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts') diff --git a/target/linux/ramips/dts/DCH-M225.dts b/target/linux/ramips/dts/DCH-M225.dts index 867335e957..5856036c95 100644 --- a/target/linux/ramips/dts/DCH-M225.dts +++ b/target/linux/ramips/dts/DCH-M225.dts @@ -90,7 +90,7 @@ #sound-dai-cells = <0>; status = "okay"; pinctrl-names = "default"; - pinctrl-0 = <&gpio_i2s_pins>, <&wm8960_mclk_pins>; + pinctrl-0 = <&wm8960_mclk_pins>; }; &spi0 { @@ -158,6 +158,11 @@ ralink,function = "gpio"; }; + gpio_i2s { + ralink,group = "uartf"; + ralink,function = "gpio i2s"; + }; + pa { ralink,group = "pa"; ralink,function = "pa"; -- cgit v1.2.3