lantiq: remove "init" kernel command line parameter from bootargs
[lede.git] / target / linux / lantiq / dts / VG3503J.dts
1 /dts-v1/;
2
3 #include "vr9.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8         model = "VG3503J - BT OpenReach VDSL Modem";
9
10         aliases {
11                 led-boot = &power_green;
12                 led-failsafe = &power_red;
13                 led-running = &power_green;
14
15                 led-internet = &dsl;
16         };
17
18         memory@0 {
19                 reg = <0x0 0x2000000>;
20         };
21
22         fpi@10000000 {
23                 localbus@0 {
24                         ranges = <0 0 0x0 0x3ffffff>;
25                         nor-boot@0 {
26                                 compatible = "lantiq,nor";
27                                 bank-width = <2>;
28                                 reg = <0 0x0 0x2000000>;
29                                 #address-cells = <1>;
30                                 #size-cells = <1>;
31
32                                 partitions {
33                                         compatible = "fixed-partitions";
34                                         #address-cells = <1>;
35                                         #size-cells = <1>;
36
37                                         partition@0 {
38                                                 label = "uboot";
39                                                 reg = <0x00000 0x20000>;
40                                         };
41
42                                         partition@20000 {
43                                                 label = "firmware";
44                                                 reg = <0x20000 0x7d0000>;
45                                         };
46
47                                         partition@7f0000 {
48                                                 label = "uboot-env";
49                                                 reg = <0x7f0000 0x10000>;
50                                         };
51                                 };
52                         };
53                 };
54
55                 gpio: pinmux@E100B10 {
56                         pinctrl-names = "default";
57                         pinctrl-0 = <&state_default>;
58
59                         state_default: pinmux {
60                                 mdio {
61                                         lantiq,groups = "mdio";
62                                         lantiq,function = "mdio";
63                                 };
64                                 gphy-leds {
65                                         lantiq,groups = "gphy0 led0", "gphy0 led1",
66                                                         "gphy0 led2", "gphy1 led0",
67                                                         "gphy1 led1", "gphy1 led2";
68                                         lantiq,function = "gphy";
69                                         lantiq,pull = <2>;
70                                         lantiq,open-drain = <0>;
71                                         lantiq,output = <1>;
72                                 };
73                         };
74                 };
75         };
76
77         gphy-xrx200 {
78                 compatible = "lantiq,phy-xrx200";
79                 firmware1 = "lantiq/vr9_phy11g_a1x.bin";        /*VR9 1.1*/
80                 firmware2 = "lantiq/vr9_phy11g_a2x.bin";        /*VR9 1.2*/
81                 phys = [ 00 01 ];
82         };
83
84         gpio-keys-polled {
85                 compatible = "gpio-keys-polled";
86                 #address-cells = <1>;
87                 #size-cells = <0>;
88                 poll-interval = <100>;
89                 reset {
90                         label = "reset";
91                         gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
92                         linux,code = <KEY_RESTART>;
93                 };
94         };
95
96         gpio-leds {
97                 compatible = "gpio-leds";
98
99                 power_red: power2 {
100                         label = "vg3503j:red:power";
101                         gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
102                 };
103                 dsl: dsl {
104                         label = "vg3503j:green:dsl";
105                         gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
106                 };
107                 power_green: power {
108                         label = "vg3503j:green:power";
109                         gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
110                         default-state = "keep";
111                 };
112         };
113 };
114
115 &eth0 {
116         interface@0 {
117                 compatible = "lantiq,xrx200-pdi";
118                 #address-cells = <1>;
119                 #size-cells = <0>;
120                 reg = <0>;
121
122                 lantiq,switch;
123                 ethernet@2 {
124                         compatible = "lantiq,xrx200-pdi-port";
125                         reg = <2>;
126                         phy-mode = "mii";
127                         phy-handle = <&phy11>;
128                 };
129                 ethernet@4 {
130                         compatible = "lantiq,xrx200-pdi-port";
131                         reg = <4>;
132                         phy-mode = "mii";
133                         phy-handle = <&phy13>;
134                 };
135         };
136
137         mdio@0 {
138                 #address-cells = <1>;
139                 #size-cells = <0>;
140                 compatible = "lantiq,xrx200-mdio";
141                 phy11: ethernet-phy@11 {
142                         reg = <0x11>;
143                         compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
144                         lantiq,led1h = <0x70>;
145                         lantiq,led1l = <0x00>;
146                         lantiq,led2h = <0x00>;
147                         lantiq,led2l = <0x03>;
148                 };
149                 phy13: ethernet-phy@13 {
150                         reg = <0x13>;
151                         compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
152                         lantiq,led1h = <0x70>;
153                         lantiq,led1l = <0x00>;
154                         lantiq,led2h = <0x00>;
155                         lantiq,led2l = <0x03>;
156                 };
157         };
158 };