ramips: fix Zbtlink ZBT-WR8305RT board name
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / ZBT-WR8305RT.dts
1 /dts-v1/;
2
3 /include/ "mt7620n.dtsi"
4
5 / {
6 compatible = "zbtlink,zbt-wr8305rt", "ralink,mt7620n-soc";
7 model = "Zbtlink ZBT-WR8305RT";
8
9 palmbus@10000000 {
10 gpio1: gpio@638 {
11 status = "okay";
12 };
13
14 gpio3: gpio@688 {
15 status = "okay";
16 };
17
18 spi@b00 {
19 status = "okay";
20
21 m25p80@0 {
22 #address-cells = <1>;
23 #size-cells = <1>;
24 compatible = "mx25l6405d";
25 reg = <0 0>;
26 linux,modalias = "m25p80", "en25q64";
27 spi-max-frequency = <10000000>;
28
29 partition@0 {
30 label = "u-boot";
31 reg = <0x0 0x30000>;
32 read-only;
33 };
34
35 partition@30000 {
36 label = "u-boot-env";
37 reg = <0x30000 0x10000>;
38 read-only;
39 };
40
41 factory: partition@40000 {
42 label = "factory";
43 reg = <0x40000 0x10000>;
44 read-only;
45 };
46
47 partition@50000 {
48 label = "firmware";
49 reg = <0x50000 0x7b0000>;
50 };
51 };
52 };
53 };
54
55 ehci@101c0000 {
56 status = "okay";
57 };
58
59 ohci@101c1000 {
60 status = "okay";
61 };
62
63 ethernet@10100000 {
64 mtd-mac-address = <&factory 0x4>;
65 ralink,port-map = "llllw";
66 };
67
68 wmac@10180000 {
69 ralink,mtd-eeprom = <&factory 0>;
70 };
71
72 pinctrl {
73 state_default: pinctrl0 {
74 ephy {
75 ralink,group = "ephy";
76 ralink,function = "ephy";
77 };
78
79 default {
80 ralink,group = "i2c", "uartf", "spi refclk", "wled";
81 ralink,function = "gpio";
82 };
83 };
84 };
85
86 gpio-leds {
87 compatible = "gpio-leds";
88
89 sys {
90 label = "zbt-wr8305rt:sys";
91 gpios = <&gpio1 14 1>;
92 };
93
94 lan {
95 label = "zbt-wr8305rt:usb";
96 gpios = <&gpio1 15 1>;
97 };
98
99 wifi {
100 label = "zbt-wr8305rt:wifi";
101 gpios = <&gpio3 0 1>;
102 };
103 };
104
105 gpio-keys-polled {
106 compatible = "gpio-keys-polled";
107 #address-cells = <1>;
108 #size-cells = <0>;
109 poll-interval = <20>;
110
111 reset {
112 label = "reset";
113 gpios = <&gpio0 1 1>;
114 linux,code = <0x198>;
115 };
116 };
117 };