From 88f6536f5b02b5f0cbe9375b2e027d1c16edc8b7 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 17 Sep 2013 21:45:44 +0000 Subject: ralink: add pinctrl driver Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38026 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/dts/DIR-645.dts | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) (limited to 'target/linux/ramips/dts/DIR-645.dts') diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts index e5ccb40ec6..938055c8c9 100644 --- a/target/linux/ramips/dts/DIR-645.dts +++ b/target/linux/ramips/dts/DIR-645.dts @@ -7,21 +7,6 @@ model = "D-Link DIR-645"; palmbus@10000000 { - sysc@0 { - ralink,pinmux = "uartlite", "spi"; - ralink,gpiomux = "i2c", "jtag"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - - timer@100 { - status = "okay"; - }; - - gpio0: gpio@600 { - status = "okay"; - }; - gpio1: gpio@638 { status = "okay"; }; @@ -68,18 +53,23 @@ }; }; - ethernet@10100000 { - status = "okay"; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "jtag", "uartf"; + ralink,function = "gpio"; + }; + }; + }; + ethernet@10100000 { mtd-mac-address = <&factory 0x28>; port@0 { ralink,fixed-link = <1000 1 1 0>; }; - }; wmac@10180000 { - status = "okay"; ralink,5ghz = <0>; }; -- cgit v1.2.3