lantiq: remove stale phy register setup properties from dts files
[openwrt.git] / target / linux / lantiq / dts / VG3503J.dts
1 /dts-v1/;
2
3 /include/ "vr9.dtsi"
4
5 / {
6         model = "VG3503J - BT OpenReach VDSL Modem";
7
8         chosen {
9                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10         };
11
12         memory@0 {
13                 reg = <0x0 0x2000000>;
14         };
15
16         fpi@10000000 {
17                 localbus@0 {
18                         ranges = <0 0 0x0 0x3ffffff>;
19                         nor-boot@0 {
20                                 compatible = "lantiq,nor";
21                                 bank-width = <2>;
22                                 reg = <0 0x0 0x2000000>;
23                                 #address-cells = <1>;
24                                 #size-cells = <1>;
25
26                                 partition@0 {
27                                         label = "uboot";
28                                         reg = <0x00000 0x20000>;
29                                 };
30
31                                 partition@20000 {
32                                         label = "kernel";
33                                         reg = <0x20000 0x180000>;
34                                 };
35
36                                 partition@1a0000 {
37                                         label = "rootfs";
38                                         reg = <0x1a0000 0x5a0000>;
39                                 };
40
41                                 partition@740000 {
42                                         label = "btagent";
43                                         reg = <0x740000 0x80000>;
44                                 };
45
46                                 partition@7c0000 {
47                                         label = "pri_bfocus_cfg";
48                                         reg = <0x7c0000 0x10000>;
49                                 };
50
51                                 partition@7d0000 {
52                                         label = "sec_bfocus_cfg";
53                                         reg = <0x7d0000 0x10000>;
54                                 };
55
56                                 partition@7e0000 {
57                                         label = "sysconfig";
58                                         reg = <0x7e0000 0x10000>;
59                                 };
60
61                                 partition@7f0000 {
62                                         label = "misc_cfg";
63                                         reg = <0x7f0000 0x10000>;
64                                 };
65                         };
66                 };
67
68                 gpio: pinmux@E100B10 {
69                         pinctrl-names = "default";
70                         pinctrl-0 = <&state_default>;
71
72                         state_default: pinmux {
73                                 mdio {
74                                         lantiq,groups = "mdio";
75                                         lantiq,function = "mdio";
76                                 };
77                         };
78                 };
79
80                 eth@E108000 {
81                         #address-cells = <1>;
82                         #size-cells = <0>;
83                         compatible = "lantiq,xrx200-net";
84                         reg = < 0xE108000 0x3000 /* switch */
85                                 0xE10B100 0x70 /* mdio */
86                                 0xE10B1D8 0x30 /* mii */
87                                 0xE10B308 0x30 /* pmac */
88                         >;
89                         interrupt-parent = <&icu0>;
90                         interrupts = <73 72>;
91
92                         lan1: interface@0 {
93                                 compatible = "lantiq,xrx200-pdi";
94                                 #address-cells = <1>;
95                                 #size-cells = <0>;
96                                 reg = <0>;
97                                 mac-address = [ 00 11 22 33 44 55 ];
98                                 lantiq,wan;
99                                 ethernet@4 {
100                                         compatible = "lantiq,xrx200-pdi-port";
101                                         reg = <4>;
102                                         phy-mode = "mii";
103                                         phy-handle = <&phy13>;
104                                 };
105                         };
106
107                         lan2: interface@1 {
108                                 compatible = "lantiq,xrx200-pdi";
109                                 #address-cells = <1>;
110                                 #size-cells = <0>;
111                                 reg = <1>;
112                                 mac-address = [ 00 11 22 33 44 56 ];
113
114                                 ethernet@2 {
115                                         compatible = "lantiq,xrx200-pdi-port";
116                                         reg = <2>;
117                                         phy-mode = "mii";
118                                         phy-handle = <&phy11>;
119                                 };
120                         };
121
122                         mdio@0 {
123                                 #address-cells = <1>;
124                                 #size-cells = <0>;
125                                 compatible = "lantiq,xrx200-mdio";
126                                 phy11: ethernet-phy@11 {
127                                         reg = <0x11>;
128                                         compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
129                                 };
130                                 phy13: ethernet-phy@13 {
131                                         reg = <0x13>;
132                                         compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
133                                 };
134                         };
135                 };
136         };
137
138         gphy-xrx200 {
139                 compatible = "lantiq,phy-xrx200";
140                 firmware = "lantiq/vr9_phy22f_a1x.bin";
141                 phys = [ 00 01 ];
142         };
143
144         gpio-keys-polled {
145                 compatible = "gpio-keys-polled";
146                 #address-cells = <1>;
147                 #size-cells = <0>;
148                 poll-interval = <100>;
149                 reset {
150                         label = "reset";
151                         gpios = <&gpio 6 1>;
152                         linux,code = <0x198>;
153                 };
154         };
155
156         gpio-leds {
157                 compatible = "gpio-leds";
158
159                 port2orange {
160                         label = "bt:orange:port2";
161                         gpios = <&gpio 2 0>;
162                 };
163                 lan2 {
164                         label = "bt:green:lan2";
165                         gpios = <&gpio 5 0>;
166                 };
167                 port2green {
168                         label = "bt:green:port2";
169                         gpios = <&gpio 7 0>;
170                 };
171                 power2 {
172                         label = "power2";
173                         gpios = <&gpio 14 1>;
174                 };
175                 dsl {
176                         label = "bt:green:dsl";
177                         gpios = <&gpio 19 1>;
178                 };
179                 power {
180                         label = "power";
181                         gpios = <&gpio 28 1>;
182                 };
183                 lan1 {
184                         label = "bt:green:lan1";
185                         gpios = <&gpio 44 0>;
186                 };
187                 port1green {
188                         label = "bt:green:port1";
189                         gpios = <&gpio 45 0>;
190                 };
191                 port1orange {
192                         label = "bt:orange:port1";
193                         gpios = <&gpio 47 0>;
194                 };
195         };
196 };