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"
13 #include "bcm5301x-nand-cs0-bch8.dtsi"
16 compatible = "buffalo,wxr-1900dhp", "brcm,bcm4709", "brcm,bcm4708";
17 model = "Buffalo WXR-1900DHP";
20 bootargs = "console=ttyS0,115200";
24 reg = <0x00000000 0x08000000>;
28 compatible = "gpio-leds";
31 label = "bcm53xx:green:usb";
32 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
33 linux,default-trigger = "default-off";
37 label = "bcm53xx:amber:power";
38 gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
39 linux,default-trigger = "default-off";
43 label = "bcm53xx:white:power";
44 gpios = <&chipcommon 6 GPIO_ACTIVE_HIGH>;
45 linux,default-trigger = "default-on";
49 label = "bcm53xx:amber:router";
50 gpios = <&chipcommon 7 GPIO_ACTIVE_HIGH>;
51 linux,default-trigger = "default-off";
55 label = "bcm53xx:white:router";
56 gpios = <&chipcommon 8 GPIO_ACTIVE_HIGH>;
57 linux,default-trigger = "default-off";
61 label = "bcm53xx:amber:wan";
62 gpios = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
63 linux,default-trigger = "default-off";
67 label = "bcm53xx:white:wan";
68 gpios = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
69 linux,default-trigger = "default-off";
73 label = "bcm53xx:amber:wireless";
74 gpios = <&chipcommon 11 GPIO_ACTIVE_HIGH>;
75 linux,default-trigger = "default-off";
79 label = "bcm53xx:white:wireless";
80 gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
81 linux,default-trigger = "default-off";
86 compatible = "gpio-keys";
92 linux,code = <KEY_POWER>;
93 gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
98 linux,code = <KEY_RESTART>;
99 gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
104 linux,code = <KEY_WPS_BUTTON>;
105 gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>;
108 /* Commit mode set by switch? */
111 linux,code = <KEY_SETUP>;
112 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
115 /* Switch: AP mode */
118 linux,code = <BTN_0>;
119 gpios = <&chipcommon 18 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_EJECTCD>;
125 gpios = <&chipcommon 20 GPIO_ACTIVE_LOW>;