From 313ce3afbbe05abf3689d0943f70d594a7791517 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 30 Jul 2017 13:50:36 +0200 Subject: ramips: move common parts into dtsi Move the common parts of boards with multiple flash size variants into dtsi files. Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/ALL0256N-8M.dts | 62 +-------------------------------- 1 file changed, 1 insertion(+), 61 deletions(-) (limited to 'target/linux/ramips/dts/ALL0256N-8M.dts') diff --git a/target/linux/ramips/dts/ALL0256N-8M.dts b/target/linux/ramips/dts/ALL0256N-8M.dts index a662abbb3f..5e2e3895af 100644 --- a/target/linux/ramips/dts/ALL0256N-8M.dts +++ b/target/linux/ramips/dts/ALL0256N-8M.dts @@ -1,49 +1,10 @@ /dts-v1/; -#include "rt3050.dtsi" - -#include -#include +#include "ALL0256N.dtsi" / { compatible = "allnet,all0256n-8m", "allnet,all0256n", "ralink,rt3050-soc"; model = "Allnet ALL0256N (8M)"; - - gpio-leds { - compatible = "gpio-leds"; - - rssilow { - label = "all0256n:green:rssilow"; - gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; - }; - - rssimed { - label = "all0256n:green:rssimed"; - gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; - }; - - rssihigh { - label = "all0256n:green:rssihigh"; - gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; - }; - }; - - gpio-keys-polled { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - - reset { - label = "reset"; - gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; - linux,code = ; - }; - }; -}; - -&gpio0 { - status = "okay"; }; &spi0 { @@ -80,24 +41,3 @@ }; }; }; - -&pinctrl { - state_default: pinctrl0 { - gpio { - ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf"; - ralink,function = "gpio"; - }; - }; -}; - -ðernet { - mtd-mac-address = <&factory 0x28>; -}; - -&esw { - mediatek,portmap = <0x3f>; -}; - -&wmac { - ralink,mtd-eeprom = <&factory 0>; -}; -- cgit v1.2.3