Commit | Line | Data |
---|---|---|
d27509f1 HM |
1 | /* |
2 | * Broadcom BCM470X / BCM5301X arm platform code. | |
3 | * DTS for Netgear R6250 V1 | |
4 | * | |
5 | * Copyright 2013 Hauke Mehrtens <hauke@hauke-m.de> | |
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,r6250v1", "brcm,bcm4708"; | |
16 | model = "Netgear R6250 V1 (BCM4708)"; | |
17 | ||
18 | chosen { | |
19 | bootargs = "console=ttyS0,115200"; | |
20 | }; | |
21 | ||
22 | memory { | |
23 | reg = <0x00000000 0x08000000>; | |
24 | }; | |
25 | ||
26 | chipcommonA { | |
27 | uart0: serial@0300 { | |
28 | status = "okay"; | |
29 | }; | |
30 | ||
31 | uart1: serial@0400 { | |
32 | status = "okay"; | |
33 | }; | |
34 | }; | |
dd6d2e5f RM |
35 | |
36 | leds { | |
37 | compatible = "gpio-leds"; | |
38 | ||
39 | logo { | |
40 | label = "bcm53xx:white:logo"; | |
41 | gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; | |
42 | linux,default-trigger = "default-on"; | |
43 | }; | |
44 | ||
45 | power0 { | |
46 | label = "bcm53xx:green:power"; | |
47 | gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; | |
7875b470 | 48 | linux,default-trigger = "default-on"; |
dd6d2e5f RM |
49 | }; |
50 | ||
51 | power1 { | |
52 | label = "bcm53xx:amber:power"; | |
53 | gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; | |
7875b470 | 54 | linux,default-trigger = "default-off"; |
dd6d2e5f RM |
55 | }; |
56 | ||
57 | usb { | |
58 | label = "bcm53xx:blue:usb"; | |
59 | gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; | |
60 | linux,default-trigger = "default-off"; | |
61 | }; | |
62 | ||
63 | wireless { | |
64 | label = "bcm53xx:blue:wireless"; | |
65 | gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>; | |
66 | linux,default-trigger = "default-off"; | |
67 | }; | |
68 | }; | |
f6f82344 RM |
69 | |
70 | gpio-keys { | |
71 | compatible = "gpio-keys"; | |
72 | #address-cells = <1>; | |
73 | #size-cells = <0>; | |
f6f82344 RM |
74 | |
75 | wps { | |
76 | label = "WPS"; | |
77 | linux,code = <KEY_WPS_BUTTON>; | |
78 | gpios = <&chipcommon 4 GPIO_ACTIVE_LOW>; | |
79 | }; | |
80 | ||
81 | rfkill { | |
82 | label = "WiFi"; | |
83 | linux,code = <KEY_RFKILL>; | |
84 | gpios = <&chipcommon 5 GPIO_ACTIVE_LOW>; | |
85 | }; | |
86 | ||
87 | restart { | |
88 | label = "Reset"; | |
89 | linux,code = <KEY_RESTART>; | |
90 | gpios = <&chipcommon 6 GPIO_ACTIVE_LOW>; | |
91 | }; | |
92 | }; | |
d27509f1 | 93 | }; |