From a78bb9590f90a77667809fbbdcf6214180f4e96e Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Mon, 18 Jan 2016 10:47:23 +0000 Subject: brcm63xx: add support for Huawei HG622 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas Signed-off-by: Jonas Gorski SVN-Revision: 48305 --- target/linux/brcm63xx/dts/hg622.dts | 74 +++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 target/linux/brcm63xx/dts/hg622.dts (limited to 'target/linux/brcm63xx/dts/hg622.dts') diff --git a/target/linux/brcm63xx/dts/hg622.dts b/target/linux/brcm63xx/dts/hg622.dts new file mode 100644 index 0000000000..6cfc06729d --- /dev/null +++ b/target/linux/brcm63xx/dts/hg622.dts @@ -0,0 +1,74 @@ +/dts-v1/; + +#include "bcm6368.dtsi" + +#include + +/ { + model = "Huawei HG622"; + compatible = "huawei,hg622", "brcm,bcm6368"; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + debounce-interval = <60>; + + reset { + label = "reset"; + gpios = <&gpio1 2 1>; + linux,code = ; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + + dsl_green { + label = "HG622:green:dsl"; + gpios = <&gpio0 2 1>; + }; + inet_green { + label = "HG622:green:inet"; + gpios = <&gpio0 5 1>; + }; + usb_green { + label = "HG622:green:usb"; + gpios = <&gpio0 11 1>; + }; + power_green { + label = "HG622:green:power"; + gpios = <&gpio0 22 1>; + default-state = "on"; + }; + }; +}; + +&pflash { + status = "ok"; + + linux,part-probe = "bcm63xxpart"; + + cfe@0 { + label = "CFE"; + reg = <0x000000 0x020000>; + read-only; + }; + + linux@20000 { + label = "linux"; + reg = <0x020000 0xf80000>; + }; + + cal_data@fa0000 { + label = "cal_data"; + reg = <0xfa0000 0x020000>; + read-only; + }; + + nvram@fe0000 { + label = "nvram"; + reg = <0xfe0000 0x020000>; + }; +}; -- cgit v1.2.3