2c187b7994be349115b8706a9eacbf0a59a6763d
[openwrt/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 = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
13 stdout-path = "serial0:115200n8";
14 };
15
16 gpio-leds {
17 compatible = "gpio-leds";
18
19 power {
20 label = "MAGIC:green:power";
21 gpios = <&pinctrl 0 1>;
22 default-state = "on";
23 };
24
25 stop {
26 label = "MAGIC:green:stop";
27 gpios = <&pinctrl 1 1>;
28 };
29
30 hpna {
31 label = "MAGIC:green:hpna";
32 gpios = <&pinctrl 4 1>;
33 };
34
35 status {
36 label = "MAGIC:green:adsl";
37 gpios = <&pinctrl 5 1>;
38 };
39
40 voip {
41 label = "MAGIC:green:voip";
42 gpios = <&pinctrl 22 1>;
43 };
44
45 wifi {
46 label = "MAGIC:green:wifi";
47 gpios = <&pinctrl 28 0>;
48 };
49
50 usb {
51 label = "MAGIC:green:usb";
52 gpios = <&pinctrl 35 1>;
53 };
54 };
55 };
56
57 &pflash {
58 status = "ok";
59
60 partitions {
61 compatible = "fixed-partitions";
62 #address-cells = <1>;
63 #size-cells = <1>;
64
65 cfe@0 {
66 label = "CFE";
67 reg = <0x000000 0x010000>;
68 read-only;
69 };
70
71 linux@10000 {
72 label = "linux";
73 reg = <0x010000 0x3e0000>;
74 compatible = "brcm,bcm963xx-imagetag";
75 };
76
77 nvram@3f0000 {
78 label = "nvram";
79 reg = <0x3f0000 0x010000>;
80 };
81 };
82 };
83
84 &pinctrl {
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
87 };
88
89 &uart0 {
90 status = "ok";
91 };