[ramips] fix typo pinmmux -> pinmux
[openwrt.git] / target / linux / ramips / dts / ALL0256N-4M.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         #address-cells = <1>;
7         #size-cells = <1>;
8         compatible = "ALL0256N", "ralink,rt3050-soc";
9         model = "Allnet ALL0256N";
10
11         memorydetect {
12                 ralink,memory = <0x0 0x200000 0x4000000>;
13         };
14
15         chosen {
16                 bootargs = "console=ttyS0,57600 mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,3872k@0x50000(firmware)";
17         };
18
19         palmbus@10000000 {
20                 sysc@0 {
21                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
22                         ralink,uartmux = "gpio";
23                         ralink,wdtmux = <1>;
24                 };
25
26                 gpio0: gpio@600 {
27                         status = "okay";
28                 };
29
30                 spi@b00 {
31                         status = "okay";
32                         m25p80@0 {
33                                 #address-cells = <1>;
34                                 #size-cells = <1>;
35                                 compatible = "mx25l3205d";
36                                 reg = <0 0>;
37                                 linux,modalias = "m25p80", "mx25l3205d";
38                                 spi-max-frequency = <10000000>;
39                         };
40                 };
41         };
42
43         ethernet@10100000 {
44                 status = "okay";
45         };
46
47         esw@10110000 {
48                 status = "okay";
49                 ralink,portmap = <0x3f>;
50         };
51
52         gpio-leds {
53                 compatible = "gpio-leds";
54                 rssilow {
55                         label = "all0256n:green:rssilow";
56                         gpios = <&gpio0 14 1>;
57                 };
58                 rssimed {
59                         label = "all0256n:green:rssimed";
60                         gpios = <&gpio0 12 1>;
61                 };
62                 rssihigh {
63                         label = "all0256n:green:rssihigh";
64                         gpios = <&gpio0 13 1>;
65                 };
66         };
67
68         gpio-keys-polled {
69                 compatible = "gpio-keys-polled";
70                 #address-cells = <1>;
71                 #size-cells = <0>;
72                 poll-interval = <20>;
73                 reset {
74                         label = "reset";
75                         gpios = <&gpio0 0 1>;
76                         linux,code = <0x198>;
77                 };
78         };
79
80         wmac@10180000 {
81                 status = "okay";
82         };
83 };