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 reg = <0x0 0x4000000>;
28 compatible = "gpio-keys-polled";
31 poll-interval = <100>;
34 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
39 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_PHONE>;
45 compatible = "gpio-leds";
48 label = "easy80920:green:power";
49 gpios = <&stp 9 GPIO_ACTIVE_HIGH>;
50 default-state = "keep";
53 label = "easy80920:green:warning";
54 gpios = <&stp 22 GPIO_ACTIVE_HIGH>;
57 label = "easy80920:green:fxs1";
58 gpios = <&stp 21 GPIO_ACTIVE_HIGH>;
61 label = "easy80920:green:fxs2";
62 gpios = <&stp 20 GPIO_ACTIVE_HIGH>;
65 label = "easy80920:green:fxo";
66 gpios = <&stp 19 GPIO_ACTIVE_HIGH>;
69 label = "easy80920:green:usb1";
70 gpios = <&stp 18 GPIO_ACTIVE_HIGH>;
73 label = "easy80920:green:usb2";
74 gpios = <&stp 15 GPIO_ACTIVE_HIGH>;
77 label = "easy80920:green:sd";
78 gpios = <&stp 14 GPIO_ACTIVE_HIGH>;
81 label = "easy80920:green:wps";
82 gpios = <&stp 12 GPIO_ACTIVE_HIGH>;
86 usb_vbus: regulator-usb-vbus {
87 compatible = "regulator-fixed";
89 regulator-name = "USB_VBUS";
91 regulator-min-microvolt = <5000000>;
92 regulator-max-microvolt = <5000000>;
94 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
101 compatible = "lantiq,xrx200-pdi";
102 #address-cells = <1>;
108 compatible = "lantiq,xrx200-pdi-port";
111 phy-handle = <&phy13>;
114 compatible = "lantiq,xrx200-pdi-port";
117 phy-handle = <&phy11>;
120 compatible = "lantiq,xrx200-pdi-port";
123 phy-handle = <&phy1>;
126 compatible = "lantiq,xrx200-pdi-port";
129 phy-handle = <&phy0>;
134 compatible = "lantiq,xrx200-pdi";
135 #address-cells = <1>;
141 compatible = "lantiq,xrx200-pdi-port";
144 phy-handle = <&phy5>;
149 #address-cells = <1>;
151 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>;