move memory detect node to dtsi files
[openwrt/openwrt.git] / target / linux / ramips / dts / NBG-419N.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6 compatible = "NBG-419N", "ralink,rt3052-soc";
7 model = "ZyXEL NBG-419N";
8
9 palmbus@10000000 {
10 sysc@0 {
11 ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
12 ralink,uartmux = "gpio";
13 ralink,wdtmux = <1>;
14 };
15
16 gpio0: gpio@600 {
17 status = "okay";
18 };
19 };
20
21 cfi@1f000000 {
22 compatible = "cfi-flash";
23 reg = <0x1f000000 0x800000>;
24
25 bank-width = <2>;
26 device-width = <2>;
27 #address-cells = <1>;
28 #size-cells = <1>;
29
30 partition@0 {
31 label = "u-boot";
32 reg = <0x0 0x30000>;
33 read-only;
34 };
35
36 partition@30000 {
37 label = "u-boot-env";
38 reg = <0x30000 0x10000>;
39 read-only;
40 };
41
42 factory: partition@40000 {
43 label = "factory";
44 reg = <0x40000 0x10000>;
45 read-only;
46 };
47
48 partition@50000 {
49 label = "firmware";
50 reg = <0x50000 0x3b0000>;
51 };
52 };
53
54 ethernet@10100000 {
55 status = "okay";
56 };
57
58 esw@10110000 {
59 status = "okay";
60 ralink,portmap = <0x2f>;
61 };
62
63 gpio-leds {
64 compatible = "gpio-leds";
65 power {
66 label = "nbg-419n:green:power";
67 gpios = <&gpio0 9 1>;
68 };
69 wps {
70 label = "nbg-419n:green:wps";
71 gpios = <&gpio0 14 1>;
72 };
73 };
74
75 gpio-keys-polled {
76 compatible = "gpio-keys-polled";
77 #address-cells = <1>;
78 #size-cells = <0>;
79 poll-interval = <20>;
80 reset {
81 label = "reset";
82 gpios = <&gpio0 10 1>;
83 linux,code = <0x198>;
84 };
85 wps {
86 label = "wps";
87 gpios = <&gpio0 0 1>;
88 linux,code = <0x211>;
89 };
90 };
91
92 wmac@10180000 {
93 status = "okay";
94 };
95 };