2 * Broadcom BCM470X / BCM5301X ARM platform code.
3 * DTS for Buffalo WXR-1900DHP
5 * Copyright (C) 2015 Felix Fietkau <nbd@openwrt.org>
7 * Licensed under the GNU/GPL. See COPYING for details.
12 #include "bcm4708.dtsi"
15 compatible = "buffalo,wxr-1900dhp", "brcm,bcm4709", "brcm,bcm4708";
16 model = "Buffalo WXR-1900DHP";
19 bootargs = "console=ttyS0,115200";
23 reg = <0x00000000 0x08000000>;
27 compatible = "gpio-leds";
30 label = "bcm53xx:green:usb";
31 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
32 linux,default-trigger = "default-off";
36 label = "bcm53xx:amber:power";
37 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
38 linux,default-trigger = "default-off";
42 label = "bcm53xx:white:power";
43 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
44 linux,default-trigger = "default-on";
48 label = "bcm53xx:amber:router";
49 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
50 linux,default-trigger = "default-off";
54 label = "bcm53xx:white:router";
55 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
56 linux,default-trigger = "default-off";
60 label = "bcm53xx:amber:wan";
61 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
62 linux,default-trigger = "default-off";
66 label = "bcm53xx:white:wan";
67 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
68 linux,default-trigger = "default-off";
72 label = "bcm53xx:amber:wireless";
73 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
74 linux,default-trigger = "default-off";
78 label = "bcm53xx:white:wireless";
79 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
80 linux,default-trigger = "default-off";
85 compatible = "gpio-keys";
91 linux,code = <KEY_POWER>;
92 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
97 linux,code = <KEY_RESTART>;
98 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
103 linux,code = <KEY_WPS_BUTTON>;
104 gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
107 /* Commit mode set by switch? */
110 linux,code = <KEY_SETUP>;
111 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
114 /* Switch: AP mode */
117 linux,code = <BTN_0>;
118 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
123 linux,code = <KEY_EJECTCD>;
124 gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;