diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-03-25 15:36:12 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-03-25 15:36:12 +0000 |
commit | 10cdfd04e68f540760eee9a3ac45babf620bc2f2 (patch) | |
tree | 7f9394115a9934bf2c5419cff4543bef3a8ab4ec /target/linux/brcm63xx/dts/rta770w.dts | |
parent | 0e4c1ba284d3b387b007d53f6ec2aeec3363b8df (diff) | |
download | mtk-20170518-10cdfd04e68f540760eee9a3ac45babf620bc2f2.zip mtk-20170518-10cdfd04e68f540760eee9a3ac45babf620bc2f2.tar.gz mtk-20170518-10cdfd04e68f540760eee9a3ac45babf620bc2f2.tar.bz2 |
brcm63xx: move RTA770(B)W to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44992
Diffstat (limited to 'target/linux/brcm63xx/dts/rta770w.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/rta770w.dts | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/rta770w.dts b/target/linux/brcm63xx/dts/rta770w.dts new file mode 100644 index 0000000..b6c340f --- /dev/null +++ b/target/linux/brcm63xx/dts/rta770w.dts @@ -0,0 +1,68 @@ +/dts-v1/; + +/include/ "bcm6345.dtsi" + +/ { + model = "Dynalink RTA770W"; + compatible = "dynalink,rta770w", "brcm,bcm6345"; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + debounce-interval = <60>; + + reset { + label = "reset"; + gpios = <&gpio0 13 1>; + linux,code = <0x198>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + + usb { + label = "RTA770W:green:usb"; + gpios = <&gpio0 7 1>; + }; + + adsl { + label = "RTA770W:green:adsl"; + gpios = <&gpio0 8 0>; + }; + + diag { + label = "RTA770W:green:diag"; + gpios = <&gpio0 10 1>; + }; + + wlan { + label = "RTA770W:green:wlan"; + gpios = <&gpio0 11 1>; + }; + }; +}; + +&pflash { + status = "ok"; + + linux,part-probe = "bcm63xxpart"; + + cfe@0 { + label = "CFE"; + reg = <0x000000 0x010000>; + read-only; + }; + + linux@10000 { + label = "linux"; + reg = <0x010000 0x3e0000>; + }; + + nvram@3f0000 { + label = "nvram"; + reg = <0x3f0000 0x010000>; + }; +}; |