aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2016-01-18 10:47:23 +0000
committerJonas Gorski <jogo@openwrt.org>2016-01-18 10:47:23 +0000
commit957824bafcce65213461c9b8ba9fed36bfdbda45 (patch)
tree2ecd139cec5f7c4df7874c2eaf9c2220808bc9bf /target/linux/brcm63xx/dts
parentb1761b50a75a9e6d2f53b3029cfb33c0b203e02b (diff)
downloadmaster-187ad058-957824bafcce65213461c9b8ba9fed36bfdbda45.tar.gz
master-187ad058-957824bafcce65213461c9b8ba9fed36bfdbda45.tar.bz2
master-187ad058-957824bafcce65213461c9b8ba9fed36bfdbda45.zip
brcm63xx: add support for Huawei HG622
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48305 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/dts')
-rw-r--r--target/linux/brcm63xx/dts/hg622.dts74
1 files changed, 74 insertions, 0 deletions
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 <dt-bindings/input/input.h>
+
+/ {
+ 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 = <KEY_RESTART>;
+ };
+ };
+
+ 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>;
+ };
+};