5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
9 compatible = "netgear,dm200", "lantiq,xway", "lantiq,vr9";
10 model = "Netgear DM200";
13 bootargs = "console=ttyLTQ0,115200";
17 led-boot = &power_green;
18 led-failsafe = &power_amber;
19 led-running = &power_green;
20 led-upgrade = &power_green;
26 device_type = "memory";
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
37 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 compatible = "gpio-export";
47 gpio-export,name = "annexa";
48 gpio-export,output = <0>;
49 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
52 gpio-export,name = "annexb";
53 gpio-export,output = <0>;
54 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
59 compatible = "gpio-leds";
61 power_amber: power_amber {
62 label = "dm200:amber:power";
63 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
65 power_green: power_green {
66 label = "dm200:green:power";
67 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
71 label = "dm200:amber:lan";
72 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
75 label = "dm200:green:lan";
76 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
80 label = "dm200:amber:dsl";
81 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
83 dsl_green: dsl_green {
84 label = "dm200:green:dsl";
85 gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
91 lantiq,phys = <&gphy1>;
94 compatible = "lantiq,xrx200-pdi";
100 compatible = "lantiq,xrx200-pdi-port";
103 phy-handle = <&phy13>;
108 #address-cells = <1>;
110 compatible = "lantiq,xrx200-mdio";
113 phy13: ethernet-phy@13 {
115 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
121 lantiq,gphy-mode = <GPHY_MODE_FE>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&state_default>;
128 state_default: pinmux {
130 lantiq,groups = "mdio";
131 lantiq,function = "mdio";
135 pins_spi_default: pins_spi_default {
137 lantiq,groups = "spi_di";
138 lantiq,function = "spi";
141 lantiq,groups = "spi_do", "spi_clk", "spi_cs4";
142 lantiq,function = "spi";
155 pinctrl-names = "default";
156 pinctrl-0 = <&pins_spi_default>;
159 #address-cells = <1>;
161 compatible = "jedec,spi-nor";
163 spi-max-frequency = <10000000>;
166 compatible = "fixed-partitions";
167 #address-cells = <1>;
177 reg = <0x20000 0x10000>;
178 label = "gphyfirmware";
183 reg = <0x30000 0x7b0000>;
188 reg = <0x7e0000 0x10000>;
194 reg = <0x7f0000 0x2000>;
195 label = "ubootconfig";
200 reg = <0x7f2000 0x1000>;
206 reg = <0x7f3000 0x1000>;
212 reg = <0x7f4000 0xc000>;