Commit | Line | Data |
---|---|---|
302a5ef2 RM |
1 | /* |
2 | * Broadcom BCM470X / BCM5301X ARM platform code. | |
3 | * DTS for Netgear R6300 V2 | |
4 | * | |
5 | * Copyright (C) 2014 Rafał Miłecki <zajec5@gmail.com> | |
6 | * | |
7 | * Licensed under the GNU/GPL. See COPYING for details. | |
8 | */ | |
9 | ||
10 | /dts-v1/; | |
11 | ||
12 | #include "bcm4708.dtsi" | |
13 | ||
14 | / { | |
15 | compatible = "netgear,r6300v2", "brcm,bcm4708"; | |
16 | model = "Netgear R6300 V2 (BCM4708)"; | |
17 | ||
18 | chosen { | |
19 | bootargs = "console=ttyS0,115200"; | |
20 | }; | |
21 | ||
22 | memory { | |
23 | reg = <0x00000000 0x08000000>; | |
24 | }; | |
25 | ||
26 | leds { | |
27 | compatible = "gpio-leds"; | |
28 | ||
29 | logo { | |
30 | label = "bcm53xx:white:logo"; | |
31 | gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; | |
32 | linux,default-trigger = "default-on"; | |
33 | }; | |
34 | ||
35 | power0 { | |
36 | label = "bcm53xx:green:power"; | |
37 | gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; | |
38 | linux,default-trigger = "default-off"; | |
39 | }; | |
40 | ||
41 | power1 { | |
42 | label = "bcm53xx:amber:power"; | |
43 | gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; | |
44 | linux,default-trigger = "default-on"; | |
45 | }; | |
46 | ||
47 | usb { | |
48 | label = "bcm53xx:blue:usb"; | |
49 | gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; | |
50 | linux,default-trigger = "default-off"; | |
51 | }; | |
52 | ||
53 | wireless { | |
54 | label = "bcm53xx:blue:wireless"; | |
55 | gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; | |
56 | linux,default-trigger = "default-off"; | |
57 | }; | |
58 | }; | |
59 | ||
60 | gpio-keys { | |
61 | compatible = "gpio-keys"; | |
62 | #address-cells = <1>; | |
63 | #size-cells = <0>; | |
64 | poll-interval = <200>; | |
65 | ||
66 | wps { | |
67 | label = "WPS"; | |
68 | linux,code = <KEY_WPS_BUTTON>; | |
69 | gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; | |
70 | }; | |
71 | ||
72 | rfkill { | |
73 | label = "WiFi"; | |
74 | linux,code = <KEY_RFKILL>; | |
75 | gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; | |
76 | }; | |
77 | ||
78 | restart { | |
79 | label = "Reset"; | |
80 | linux,code = <KEY_RESTART>; | |
81 | gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; | |
82 | }; | |
83 | }; | |
84 | }; |