summaryrefslogtreecommitdiff
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
commita78bb9590f90a77667809fbbdcf6214180f4e96e (patch)
tree812d3b35903b55e29095fd7416df93b39487c13b /target/linux/brcm63xx/dts
parent25ce154605ea822b588aeb41380c80e392e75fbe (diff)
downloadmtk-20170518-a78bb9590f90a77667809fbbdcf6214180f4e96e.zip
mtk-20170518-a78bb9590f90a77667809fbbdcf6214180f4e96e.tar.gz
mtk-20170518-a78bb9590f90a77667809fbbdcf6214180f4e96e.tar.bz2
brcm63xx: add support for Huawei HG622
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 48305
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 0000000..6cfc067
--- /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>;
+ };
+};