brcm63xx: move MAGIC to dts
[15.05/openwrt.git] / target / linux / brcm63xx / dts / magic.dts
1 /dts-v1/;
2
3 /include/ "bcm6348.dtsi"
4
5 / {
6         model = "Alice W-Gate";
7         compatible = "telsey,magic", "brcm,bcm6348";
8
9         gpio-leds {
10                 compatible = "gpio-leds";
11
12                 power {
13                         label = "MAGIC:green:power";
14                         gpios = <&gpio0 0 1>;
15                         default-state = "on";
16                 };
17
18                 stop {
19                         label = "MAGIC:green:stop";
20                         gpios = <&gpio0 1 1>;
21                 };
22
23                 hpna {
24                         label = "MAGIC:green:hpna";
25                         gpios = <&gpio0 4 1>;
26                 };
27
28                 status {
29                         label = "MAGIC:green:adsl";
30                         gpios = <&gpio0 5 1>;
31                 };
32
33                 voip {
34                         label = "MAGIC:green:voip";
35                         gpios = <&gpio0 22 1>;
36                 };
37
38                 wifi {
39                         label = "MAGIC:green:wifi";
40                         gpios = <&gpio0 28 0>;
41                 };
42
43                 usb {
44                         label = "MAGIC:green:usb";
45                         gpios = <&gpio1 3 1>;
46                 };
47         };
48 };
49
50 &pflash {
51         status = "ok";
52
53         linux,part-probe = "bcm63xxpart";
54
55         cfe@0 {
56                 label = "CFE";
57                 reg = <0x000000 0x010000>;
58                 read-only;
59         };
60
61         linux@10000 {
62                 label = "linux";
63                 reg = <0x010000 0x3e0000>;
64         };
65
66         nvram@3f0000 {
67                 label = "nvram";
68                 reg = <0x3f0000 0x010000>;
69         };
70 };