brcm63xx: move buttons and leds to dts files
[openwrt.git] / target / linux / brcm63xx / dts / rta1320.dts
1 /dts-v1/;
2
3 /include/ "bcm6338.dtsi"
4
5 / {
6         model = "Dynalink RTA1320";
7         compatible = "dynalink,rta1320", "brcm,bcm6338";
8
9         gpio-leds {
10                 compatible = "gpio-leds";
11
12                 green_adsl {
13                         label = "RTA1320_16M:green:adsl";
14                         gpios = <&gpio0 3 1>;
15                 };
16                 green_ppp {
17                         label = "RTA1320_16M:green:ppp";
18                         gpios = <&gpio0 4 1>;
19                 };
20                 green_power {
21                         label = "RTA1320_16M:green:power";
22                         gpios = <&gpio0 0 1>;
23                         default-state = "on";
24                 };
25
26                 green_stop {
27                         label = "RTA1320_16M:green:stop";
28                         gpios = <&gpio0 1 1>;
29                 };
30         };
31 };
32
33 &pflash {
34         status = "ok";
35
36         linux,part-probe = "bcm63xxpart";
37
38         cfe@0 {
39                 label = "CFE";
40                 reg = <0x000000 0x010000>;
41                 read-only;
42         };
43
44         linux@10000 {
45                 label = "linux";
46                 reg = <0x010000 0x3e0000>;
47         };
48
49         nvram@3f0000 {
50                 label = "nvram";
51                 reg = <0x3f0000 0x010000>;
52         };
53 };