3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
7 compatible = "lantiq,easy80920", "lantiq,xway", "lantiq,vr9";
10 bootargs = "console=ttyLTQ0,115200";
15 led-failsafe = &power;
24 device_type = "memory";
25 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
30 poll-interval = <100>;
33 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
38 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_PHONE>;
44 compatible = "gpio-leds";
47 label = "easy80920:green:power";
48 gpios = <&stp 9 GPIO_ACTIVE_HIGH>;
49 default-state = "keep";
52 label = "easy80920:green:warning";
53 gpios = <&stp 22 GPIO_ACTIVE_HIGH>;
56 label = "easy80920:green:fxs1";
57 gpios = <&stp 21 GPIO_ACTIVE_HIGH>;
60 label = "easy80920:green:fxs2";
61 gpios = <&stp 20 GPIO_ACTIVE_HIGH>;
64 label = "easy80920:green:fxo";
65 gpios = <&stp 19 GPIO_ACTIVE_HIGH>;
68 label = "easy80920:green:usb1";
69 gpios = <&stp 18 GPIO_ACTIVE_HIGH>;
72 label = "easy80920:green:usb2";
73 gpios = <&stp 15 GPIO_ACTIVE_HIGH>;
76 label = "easy80920:green:sd";
77 gpios = <&stp 14 GPIO_ACTIVE_HIGH>;
80 label = "easy80920:green:wps";
81 gpios = <&stp 12 GPIO_ACTIVE_HIGH>;
85 usb_vbus: regulator-usb-vbus {
86 compatible = "regulator-fixed";
88 regulator-name = "USB_VBUS";
90 regulator-min-microvolt = <5000000>;
91 regulator-max-microvolt = <5000000>;
93 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
100 compatible = "lantiq,xrx200-pdi";
101 #address-cells = <1>;
107 compatible = "lantiq,xrx200-pdi-port";
110 phy-handle = <&phy13>;
113 compatible = "lantiq,xrx200-pdi-port";
116 phy-handle = <&phy11>;
119 compatible = "lantiq,xrx200-pdi-port";
122 phy-handle = <&phy1>;
125 compatible = "lantiq,xrx200-pdi-port";
128 phy-handle = <&phy0>;
133 compatible = "lantiq,xrx200-pdi";
134 #address-cells = <1>;
140 compatible = "lantiq,xrx200-pdi-port";
143 phy-handle = <&phy5>;
148 #address-cells = <1>;
150 compatible = "lantiq,xrx200-mdio";
152 phy0: ethernet-phy@0 {
154 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
156 phy1: ethernet-phy@1 {
158 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
160 phy5: ethernet-phy@5 {
162 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
164 phy11: ethernet-phy@11 {
166 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
168 phy13: ethernet-phy@13 {
170 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
176 lantiq,gphy-mode = <GPHY_MODE_GE>;
180 lantiq,gphy-mode = <GPHY_MODE_GE>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&state_default>;
187 state_default: pinmux {
189 lantiq,groups = "exin3";
190 lantiq,function = "exin";
193 lantiq,groups = "stp";
194 lantiq,function = "stp";
197 lantiq,groups = "nand cle", "nand ale",
198 "nand rd", "nand rdy";
199 lantiq,function = "ebu";
202 lantiq,groups = "mdio";
203 lantiq,function = "mdio";
206 lantiq,groups = "gnt1", "req1";
207 lantiq,function = "pci";
210 lantiq,pins = "io24", "io13", "io49", /* nand cle, ale and rd */
211 "io4", "io5", "io6", /* stp */
219 lantiq,pins = "io38";
224 lantiq,pins = "io39", /* exin3 */
225 "io48"; /* nand rdy */
229 pins_spi_default: pins_spi_default {
231 lantiq,groups = "spi_di";
232 lantiq,function = "spi";
235 lantiq,groups = "spi_do", "spi_clk",
237 lantiq,function = "spi";
244 pinctrl-names = "default";
245 pinctrl-0 = <&pins_spi_default>;
250 compatible = "jedec,spi-nor";
252 spi-max-frequency = <1000000>;
255 compatible = "fixed-partitions";
256 #address-cells = <1>;
261 label = "SPI (RO) U-Boot Image";
266 reg = <0x20000 0x10000>;
272 reg = <0x30000 0x10000>;
278 reg = <0x40000 0x10000>;
284 reg = <0x50000 0x003a0000>;
294 lantiq,shadow = <0xffff>;
295 lantiq,groups = <0x7>;
308 vbus-supply = <&usb_vbus>;