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";
32 poll-interval = <100>;
35 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_PHONE>;
46 compatible = "gpio-leds";
49 label = "easy80920:green:power";
50 gpios = <&stp 9 GPIO_ACTIVE_HIGH>;
51 default-state = "keep";
54 label = "easy80920:green:warning";
55 gpios = <&stp 22 GPIO_ACTIVE_HIGH>;
58 label = "easy80920:green:fxs1";
59 gpios = <&stp 21 GPIO_ACTIVE_HIGH>;
62 label = "easy80920:green:fxs2";
63 gpios = <&stp 20 GPIO_ACTIVE_HIGH>;
66 label = "easy80920:green:fxo";
67 gpios = <&stp 19 GPIO_ACTIVE_HIGH>;
70 label = "easy80920:green:usb1";
71 gpios = <&stp 18 GPIO_ACTIVE_HIGH>;
74 label = "easy80920:green:usb2";
75 gpios = <&stp 15 GPIO_ACTIVE_HIGH>;
78 label = "easy80920:green:sd";
79 gpios = <&stp 14 GPIO_ACTIVE_HIGH>;
82 label = "easy80920:green:wps";
83 gpios = <&stp 12 GPIO_ACTIVE_HIGH>;
87 usb_vbus: regulator-usb-vbus {
88 compatible = "regulator-fixed";
90 regulator-name = "USB_VBUS";
92 regulator-min-microvolt = <5000000>;
93 regulator-max-microvolt = <5000000>;
95 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
102 compatible = "lantiq,xrx200-pdi";
103 #address-cells = <1>;
109 compatible = "lantiq,xrx200-pdi-port";
112 phy-handle = <&phy13>;
115 compatible = "lantiq,xrx200-pdi-port";
118 phy-handle = <&phy11>;
121 compatible = "lantiq,xrx200-pdi-port";
124 phy-handle = <&phy1>;
127 compatible = "lantiq,xrx200-pdi-port";
130 phy-handle = <&phy0>;
135 compatible = "lantiq,xrx200-pdi";
136 #address-cells = <1>;
142 compatible = "lantiq,xrx200-pdi-port";
145 phy-handle = <&phy5>;
150 #address-cells = <1>;
152 compatible = "lantiq,xrx200-mdio";
154 phy0: ethernet-phy@0 {
156 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
158 phy1: ethernet-phy@1 {
160 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
162 phy5: ethernet-phy@5 {
164 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
166 phy11: ethernet-phy@11 {
168 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
170 phy13: ethernet-phy@13 {
172 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
178 lantiq,gphy-mode = <GPHY_MODE_GE>;
182 lantiq,gphy-mode = <GPHY_MODE_GE>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&state_default>;
189 state_default: pinmux {
191 lantiq,groups = "exin3";
192 lantiq,function = "exin";
195 lantiq,groups = "stp";
196 lantiq,function = "stp";
199 lantiq,groups = "nand cle", "nand ale",
200 "nand rd", "nand rdy";
201 lantiq,function = "ebu";
204 lantiq,groups = "mdio";
205 lantiq,function = "mdio";
208 lantiq,groups = "gnt1", "req1";
209 lantiq,function = "pci";
212 lantiq,pins = "io24", "io13", "io49", /* nand cle, ale and rd */
213 "io4", "io5", "io6", /* stp */
221 lantiq,pins = "io38";
226 lantiq,pins = "io39", /* exin3 */
227 "io48"; /* nand rdy */
231 pins_spi_default: pins_spi_default {
233 lantiq,groups = "spi_di";
234 lantiq,function = "spi";
237 lantiq,groups = "spi_do", "spi_clk",
239 lantiq,function = "spi";
246 pinctrl-names = "default";
247 pinctrl-0 = <&pins_spi_default>;
252 #address-cells = <1>;
254 compatible = "jedec,spi-nor";
256 spi-max-frequency = <1000000>;
259 compatible = "fixed-partitions";
260 #address-cells = <1>;
265 label = "SPI (RO) U-Boot Image";
270 reg = <0x20000 0x10000>;
276 reg = <0x30000 0x10000>;
282 reg = <0x40000 0x10000>;
288 reg = <0x50000 0x003a0000>;
298 lantiq,shadow = <0xffff>;
299 lantiq,groups = <0x7>;
312 vbus-supply = <&usb_vbus>;