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";
155 phy0: ethernet-phy@0 {
157 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
159 phy1: ethernet-phy@1 {
161 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
163 phy5: ethernet-phy@5 {
165 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
167 phy11: ethernet-phy@11 {
169 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
171 phy13: ethernet-phy@13 {
173 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
179 lantiq,gphy-mode = <GPHY_MODE_GE>;
183 lantiq,gphy-mode = <GPHY_MODE_GE>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&state_default>;
190 state_default: pinmux {
192 lantiq,groups = "exin3";
193 lantiq,function = "exin";
196 lantiq,groups = "stp";
197 lantiq,function = "stp";
200 lantiq,groups = "nand cle", "nand ale",
201 "nand rd", "nand rdy";
202 lantiq,function = "ebu";
205 lantiq,groups = "mdio";
206 lantiq,function = "mdio";
209 lantiq,groups = "gnt1", "req1";
210 lantiq,function = "pci";
213 lantiq,pins = "io24", "io13", "io49", /* nand cle, ale and rd */
214 "io4", "io5", "io6", /* stp */
222 lantiq,pins = "io38";
227 lantiq,pins = "io39", /* exin3 */
228 "io48"; /* nand rdy */
232 pins_spi_default: pins_spi_default {
234 lantiq,groups = "spi_di";
235 lantiq,function = "spi";
238 lantiq,groups = "spi_do", "spi_clk",
240 lantiq,function = "spi";
247 pinctrl-names = "default";
248 pinctrl-0 = <&pins_spi_default>;
253 #address-cells = <1>;
255 compatible = "jedec,spi-nor";
257 spi-max-frequency = <1000000>;
260 compatible = "fixed-partitions";
261 #address-cells = <1>;
266 label = "SPI (RO) U-Boot Image";
271 reg = <0x20000 0x10000>;
277 reg = <0x30000 0x10000>;
283 reg = <0x40000 0x10000>;
289 reg = <0x50000 0x003a0000>;
299 lantiq,shadow = <0xffff>;
300 lantiq,groups = <0x7>;
313 vbus-supply = <&usb_vbus>;