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