diff options
author | Mathias Kresin <dev@kresin.me> | 2017-07-30 13:50:36 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-08-03 19:37:41 +0200 |
commit | 313ce3afbbe05abf3689d0943f70d594a7791517 (patch) | |
tree | a2faabea8fe894c2330a26d919658c199a699c60 /target/linux/ramips/dts/WT3020-8M.dts | |
parent | 70b192f57358f753842cbe1f8f82e26e8c6f9e1e (diff) | |
download | upstream-313ce3afbbe05abf3689d0943f70d594a7791517.tar.gz upstream-313ce3afbbe05abf3689d0943f70d594a7791517.tar.bz2 upstream-313ce3afbbe05abf3689d0943f70d594a7791517.zip |
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 <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/WT3020-8M.dts')
-rw-r--r-- | target/linux/ramips/dts/WT3020-8M.dts | 61 |
1 files changed, 1 insertions, 60 deletions
diff --git a/target/linux/ramips/dts/WT3020-8M.dts b/target/linux/ramips/dts/WT3020-8M.dts index 9d78e26965..05ade7c5a4 100644 --- a/target/linux/ramips/dts/WT3020-8M.dts +++ b/target/linux/ramips/dts/WT3020-8M.dts @@ -1,43 +1,10 @@ /dts-v1/; -#include "mt7620n.dtsi" - -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/input/input.h> +#include "WT3020.dtsi" / { compatible = "nexx,wt3020-8m", "nexx,wt3020", "ralink,mt7620n-soc"; model = "Nexx WT3020 (8M)"; - - gpio-keys-polled { - compatible = "gpio-keys-polled"; - #address-cells = <1>; - #size-cells = <0>; - poll-interval = <20>; - - reset { - label = "reset"; - gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; - linux,code = <KEY_RESTART>; - }; - }; - - gpio-leds { - compatible = "gpio-leds"; - - power { - label = "wt3020:blue:power"; - gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; - }; - }; -}; - -&gpio2 { - status = "okay"; -}; - -&gpio3 { - status = "okay"; }; &spi0 { @@ -74,29 +41,3 @@ }; }; }; - -&ehci { - status = "okay"; -}; - -&ohci { - status = "okay"; -}; - -ðernet { - mtd-mac-address = <&factory 0x4>; - mediatek,portmap = "wllll"; -}; - -&wmac { - ralink,mtd-eeprom = <&factory 0>; -}; - -&pinctrl { - state_default: pinctrl0 { - default { - ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf"; - ralink,function = "gpio"; - }; - }; -}; |