brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / dts / dsl-2650u.dts
1 /dts-v1/;
2
3 /include/ "bcm6358.dtsi"
4
5 / {
6         model = "D-Link DSL-2650U";
7         compatible = "d-link,dsl-2650u", "brcm,bcm6358";
8
9         gpio-leds {
10                 compatible = "gpio-leds";
11
12                 stop_green {
13                         label = "96358VW2:green:stop";
14                         gpios = <&gpio0 4 1>;
15                 };
16                 power_green {
17                         label = "96358VW2:green:power";
18                         gpios = <&gpio0 5 1>;
19                         default-state = "on";
20                 };
21                 adsl_green {
22                         label = "96358VW2:green:adsl";
23                         gpios = <&gpio0 22 1>;
24                 };
25                 ppp_fail_green {
26                         label = "96358VW2:green:ppp-fail";
27                         gpios = <&gpio0 23 0>;
28                 };
29         };
30 };
31
32 &pflash {
33         status = "ok";
34
35         linux,part-probe = "bcm63xxpart";
36
37         cfe@0 {
38                 label = "CFE";
39                 reg = <0x000000 0x010000>;
40                 read-only;
41         };
42
43         linux@10000 {
44                 label = "linux";
45                 reg = <0x010000 0x7e0000>;
46         };
47
48         nvram@7f0000 {
49                 label = "nvram";
50                 reg = <0x7f0000 0x010000>;
51         };
52 };